Practise 29 exam-style questions on CPU components: ALU, CU, cache and registers for OCR GCSE Computer Science (Paper 1). Write your answer as you would in the exam and get it marked in seconds against the mark scheme, point by point, with the Study Helper on hand if you get stuck.
29 questions
1–6 marks each
Instant marking
No sign-up needed
20 questions, marked as you go
Sample questions with model answers
Here are 4 of the questions in this topic, each with a model answer, an explanation of why it earns the marks and the mark scheme an examiner would use.
Question 1
1 mark
A CPU contains a small amount of very fast memory that holds copies of frequently used instructions and data, so that they do not have to be fetched from RAM each time they are needed.
State the name of this memory.
Model answer
Cache
Explanation
Cache is very fast memory inside (or very close to) the CPU. The CPU checks the cache first when it needs an instruction or data; if it is there, the CPU does not have to wait for the slower RAM. Registers are faster still, but each register holds only a single item, such as one address or one value, so registers do not hold copies of many frequently used instructions.
Mark scheme
1 mark
Cache (memory)
Accept CPU cache, L1 / L2 / L3 cache. Do not accept registers, RAM, ROM or virtual memory.
Question 2
2 marks
Esme's fitness watch checks whether her step count for the day is greater than her daily target. If it is, the watch shows a message.
Identify the CPU component that carries out this check and explain why it is this component.
Model answer
The arithmetic logic unit (ALU). Checking whether the step count is greater than the target is a comparison, which is a logical operation, and the ALU carries out the logical operations in the CPU.
Explanation
Comparisons such as greater than, less than and equal to are logical operations: they give a true or false result. The ALU carries out both arithmetic and logical operations. The program then uses the result to decide whether to show the message, but the comparison itself is done by the ALU, not the control unit.
Mark scheme
1 mark
Arithmetic logic unit // ALU
1 mark
because the check is a comparison / logical operation (greater than), and the ALU carries out comparisons / logical operations
Only if MS1 is awarded. 'Because it does maths / calculations' is not enough - must say that the check is a comparison or logical operation.
Question 3
3 marks
Registers and cache are both found in the CPU.
Compare registers and cache.
Model answer
Registers are faster to access than cache, although both are faster than RAM. Each register holds only one item, such as a single address or value, whereas cache holds many instructions and data. Each register also has a specific job in the fetch-execute cycle, while cache holds copies of whatever instructions and data are used frequently.
Explanation
In a 'compare' question each point should say how the two are similar or different, not describe one of them on its own. The key differences are speed (registers are the fastest), capacity (a register holds one item; cache holds many) and purpose (each register has a specific job; cache keeps copies of frequently used instructions and data close to the CPU).
Mark scheme
1 mark
Registers are faster to access than cache // cache is slower than registers
1 mark
Registers have a (much) smaller capacity than cache // each register holds only a single item (one address, instruction or value), whereas cache holds many instructions and data
1 mark
Each register has a specific purpose / job (e.g. holding the address of the next instruction or the result of a calculation), whereas cache holds copies of any frequently used instructions and data
1 mark
Registers hold what the CPU is using / processing right now, whereas cache holds instructions and data that are likely to be needed soon / again
1 mark
Similarity: both are (much) faster to access than RAM // both are small, very fast memory inside / very close to the CPU // both are volatile
max 3. Do not award MS3 and MS4 for the same statement. Differences must be comparative (e.g. 'registers are faster than cache', not just 'registers are fast'). Only one similarity can be credited (MS5).
Question 4
4 marks
Matilda has written these notes about the CPU:
1 The ALU carries out calculations and comparisons. 2 Cache is slower to access than RAM. 3 The control unit decodes instructions. 4 Registers are part of the RAM.
Two of the notes are wrong. Identify the two wrong notes and write a correct version of each one.
Model answer
Note 2 is wrong. It should say: cache is faster to access than RAM. Note 4 is wrong. It should say: registers are inside the CPU.
Explanation
Cache is very fast memory in or next to the CPU - faster than RAM, though slower than registers - which is why it holds frequently used instructions and data. Registers are tiny storage locations inside the CPU itself, each with a specific job. Notes 1 and 3 are correct: the ALU carries out calculations and comparisons, and the CU decodes instructions.
Mark scheme
1 mark
Note 2 is wrong
1 mark
Cache is faster to access than RAM
Only if MS1 is awarded. Accept 'cache is quicker than RAM'.
1 mark
Note 4 is wrong
1 mark
Registers are (part of / inside) the CPU
Only if MS3 is awarded. Accept 'registers are very small, very fast storage locations inside the CPU'. 'Registers are not part of the RAM' on its own is not enough - must say where they are.
Ready to try the rest? Every answer you write is marked against the mark scheme, so you can see exactly where the marks are.
Ctrl + Enter to check
Study HelperHints first, answers after you try
Stuck on this one? Ask for a hint and I’ll point you in the right direction, without giving the answer away. Once you’ve checked your answer, I’ll show you how the marks are awarded.