IB COMPUTER SCIENCE | A1 ASSESSMENT

COMPUTER FUNDAMENTALS: END OF TOPIC REVIEW

Test what you can recall, apply and explain across hardware, data, logic and OS topics. Add the labelled HL questions on architecture, control, multitasking and translation.

BEFORE YOU BEGIN

Split this review into two sessions if needed: first the automatic checks and applied tasks, then the written work. As a flexible guide, allow 75–100 minutes for the common review and additional time for the HL extension; adjust to the detail of your written answers.

Sections A and B award one point for each fully correct automatic item, with no partial credit within an item. Section C has separately suggested content marks. These are original practice questions, not an official IB paper, grade boundary or prediction.

Choose your level below. Write calculations, diagrams and Section C answers in your exercise book before revealing guidance. Answers and selections last while the page remains open.

Automatic total: 36 points. Suggested written total: 60 marks, assessed separately.

A | QUICK CHECKS

Answer without notes. The common questions are A1–A12; A13–A18 are HL-only.

A1 | Which correctly distinguish CPU components?

Select all correct answers. One point requires the complete correct set.

A2 | Which register holds the address of the next instruction to fetch?
A3 | Which cache statements are correct?

Select all correct answers. One point requires the complete correct set.

A4 | Which workload is especially suitable for GPU acceleration?
A5 | Which statements about storage are correct?

Select all correct answers. One point requires the complete correct set.

A6 | Which distinguish compression approaches?

Select all correct answers. One point requires the complete correct set.

A7 | A team deploys its own app without administering the underlying OS. Which cloud model best fits?
A8 | Which text-encoding statements are correct?

Select all correct answers. One point requires the complete correct set.

A9 | For two inputs A = 0 and B = 0, which gates produce 1?

Select all correct answers. One point requires the complete correct set.

A10 | Which OS function records resource usage such as CPU time?
A11 | Which scheduling statements are accurate?

Select all correct answers. One point requires the complete correct set.

A12 | Which belong in an evaluation of polling and interrupts?

Select all correct answers. One point requires the complete correct set.

A13 | HL: Which CPU/GPU comparisons are justified?

Select all correct answers. One point requires the complete correct set.

A14 | HL: Which describes instruction pipelining?
A15 | HL: Which statements about multitasking are correct?

Select all correct answers. One point requires the complete correct set.

A16 | HL: Which best identifies deadlock?
A17 | HL: Which component roles are correct?

Select all correct answers. One point requires the complete correct set.

A18 | HL: Which translation statements are correct?

Select all correct answers. One point requires the complete correct set.

B | APPLY YOUR KNOWLEDGE

Use these sources for the relevant tasks. Show your own working in your book; the boxes accept the final result.

Scheduling taskArrivalCPU burst
A06
B02
C01

For B10 and B11: one core, initial ready order A,B,C, no I/O, and no switching delay. FCFS is non-preemptive. RR uses quantum 2; completed tasks leave immediately. All times use arbitrary units. Other B items supply their own independent data.

B1 | Convert 9C hexadecimal to decimal.
B2 | Write decimal 58 as exactly eight binary bits. Spaces between bit groups are allowed.
B3 | A 128 × 64 image uses 4 bits per pixel. How many bytes are needed for raw pixel data only?
B4 | Mono audio: 6,000 samples/s, 8 bits/sample, 5 seconds. How many bytes of uncompressed sample data?
B5 | AAABBBAA is run-length encoded as symbol/count pairs. How many runs are there?
B6 | For X = (A OR B) AND NOT C, find X for A = 1, B = 0, C = 1.
B7 | Which input triples ABC make X = (A OR B) AND NOT C equal 1?

Select all correct answers. One point requires the complete correct set.

B8 | Using + for OR and · for AND, simplify A·B + A·NOT B.
B9 | A three-input K-map has ones only at 101,110,111. Which expression matches?
B10 | Use the Section B scheduling source. Under FCFS, at what time does C first run?
B11 | Use the same source with RR quantum 2. At what time does C finish?
B12 | Polling checks occur at 0,8,16,24 ms. A retained event occurs at 11 ms. What is detection delay in ms?
B13 | HL: An ideal empty four-stage pipeline processes five instructions. How many equal stage intervals are required, with no stalls?
B14 | HL: A holds R1 and waits for R2; B holds R2 and waits for R1. Which follow for single-instance exclusive locks?

Select all correct answers. One point requires the complete correct set.

B15 | HL: A thermostat turns on below 21.5 °C and off above 22.5 °C, retaining state within the band. Reading is 22.0 °C; heating was on. What happens?
B16 | HL: A heater stays at a fixed setting. A thermometer displays temperature but does not adjust heating. Classify room-temperature control.
B17 | HL: An elevator has received a close command but required door-lock confirmation is absent. What should the stated travel interlock do?
B18 | HL: Evaluate a bytecode/JIT runtime for a long-running cross-platform app. Which considerations are relevant?

Select all correct answers. One point requires the complete correct set.

CHECK SECTIONS A AND B

Unanswered items receive zero. Each checkbox item requires all correct choices and no incorrect extras. Written marks are separate. Changing an answer or level requires resubmission.

C | WRITTEN COMMUNICATION AND SUBJECT KNOWLEDGE

Write in your exercise book before revealing the guidance. The table gives practical guidance based on the IB command terms supplied in the guide; it is not the Cambridge command-word table.

In particular, IB compare focuses on similarities, while distinguish asks for differences. If you need to address both, the question can request each separately. All main commands below are highlighted.

IB command termWhat to provide in this reviewWriting approach
CalculateA numerical result with relevant working stagesShow the calculation and units
DescribeA detailed accountGive features or an ordered process, not only a name
ExplainA detailed account including reasons or causesLink ideas with because, therefore, resulting in or leading to
CompareSimilarities, referring to both items throughoutBoth…; each…; in both approaches…
DistinguishClear differences between the conceptsWhereas…; unlike…; this holds a value while that holds an address…
ConstructInformation displayed in diagrammatic or logical formSupply the requested table, map or connected diagram
DeduceA conclusion reached from the supplied informationUse the map or data as evidence
JustifyValid reasons or evidence for a choiceConnect the choice to the stated requirement
EvaluateAn appraisal weighing strengths and limitationsBalance relevant factors and reach a supported judgement

A connective earns no automatic mark by itself: it must express an accurate relationship. For example, “the task is blocked because it awaits I/O, therefore the scheduler can choose other ready work” explains a cause and consequence. Suggested marks reward subject content, not extra unofficial grammar marks.

C1 | FETCH AND A DATA ACCESS

4 suggested marks | COMMON SL/HL

Describe the register and bus interactions when fetching a fictional LOAD 400 instruction from the address in PC, then reading the data at address 400. Assume one data value is loaded into the accumulator.

C2 | GPU AND WORKING MEMORY

4 suggested marks | COMMON SL/HL

A photo application applies the same calculation to millions of pixels. Explain why a GPU may help. Then distinguish RAM from cache in supporting execution.

C3 | LOSSLESS COMPRESSION AND CLOUD CONTROL

4 suggested marks | COMMON SL/HL

A team must preserve source files exactly and deploy its own web app without managing the underlying OS. Justify a compression category and a cloud service model for these requirements.

C4 | BINARY STORAGE WITH WORKING

4 suggested marks | COMMON SL/HL

An uncompressed image is 200 × 100 pixels with 8 bits per pixel. Calculate raw pixel-data size in bytes, showing working. Explain why the final stored file need not have that exact size.

C5 | CONSTRUCT AND SIMPLIFY LOGIC

6 suggested marks | COMMON SL/HL

X is 1 only for ABC = 101, 110 and 111. Construct its eight-row truth table and a three-input Karnaugh map. Use the map to deduce a simplified expression, then construct a corresponding logic diagram.

C6 | OS SERVICES AND PROTECTION

4 suggested marks | COMMON SL/HL

A student edits a report while a download runs. Explain how memory management and file services support the work. Then distinguish authentication from authorisation.

C7 | SCHEDULING RESULTS AND SIMILARITIES

4 suggested marks | COMMON SL/HL

Use A = 6, B = 2, C = 1, all ready at 0 in A,B,C order, one core, no I/O and no switching delay. Calculate C’s first-start and completion times for FCFS and RR with quantum 2. Then compare the approaches in their common purpose and resource constraints.

C8 | EVALUATE EVENT HANDLING

6 suggested marks | COMMON SL/HL

A battery-powered monitoring device receives rare unpredictable alarm events, but occasionally uploads a burst of data. Evaluate polling, interrupts and a hybrid arrangement for these conditions. Include latency and security.

C9 | HL: CPU/GPU AND PIPELINING

6 suggested marks | HL ONLY

Distinguish CPU and GPU design aims for serial and parallel workloads. An ideal four-stage pipeline starts empty and executes five instructions with equal stage intervals and no stalls. Calculate its completion interval, then explain why real throughput can be lower.

C10 | HL: DEADLOCK AND RESOURCE ALLOCATION

6 suggested marks | HL ONLY

A and B each need single-instance exclusive resources R1 and R2. A holds R1 and requests R2; B holds R2 and requests R1. Explain the deadlock, why CPU preemption alone does not solve it, and how consistent acquisition order could prevent it.

C11 | HL: ELEVATOR AND DOOR CONTROL

6 suggested marks | HL ONLY

Explain how an elevator controller uses a floor request, position feedback, a drive actuator and door-lock confirmation. Distinguish a command from a confirmed outcome, and explain why feedback does not remove all physical or sensing limitations.

C12 | HL: EVALUATE TRANSLATION

6 suggested marks | HL ONLY

A team develops a cross-platform application through frequent tests; the deployed application runs for long periods and repeatedly performs expensive calculations. Evaluate ahead-of-time native compilation and a bytecode/runtime approach that can use JIT compilation.

CHECK THE QUALITY OF YOUR WRITING

Did you answer the command? For explain, check the reason or cause; for compare, address both items through similarities; for distinguish, make the differences explicit; for evaluate, weigh strengths and limitations and support your conclusion.

For construct, check labels, connections and completeness. For calculate, show enough working to follow your method and label units. Select two weak responses and rewrite them after revising. Keep the written total separate from your automatic result.

YOUR NEXT REVISION STEP

Submit the automatic sections for targeted revision links.

Record your own written marks using the suggested points. Choose two weaknesses and attempt new examples after revising. Use the A1 revision page for worked content and a personal flashcard list, or return to the IB course index.