OCR J277 GCSE Computer Science · 1.1 Systems Architecture
Stretch tasks CPU Performance
Quiz Challenge
A quiz game against four computer players, then short and long written answers.
- Quiz Blitz12 questions against the clock
- Quick Fire4 short answers
- Big Think2 long answers
About 20 minutes
This or That
Pixel the cat asks 8 questions. Each has two answers: pick the right one.
- Two answers to every question
- A fish treat for every right answer
- Streaks win Pixel shades, then a party hat
About 4 minutes
Memory Match
Flip the cards two at a time to match each term card to its meaning card.
- 12 cards: each term has a meaning
- One peek at every card
- Combo points for pairs found in a row
6 pairs, about 4 minutes
Sort It
Sort each statement into the right box, like the tick-box tables in the exam.
- 10 cards to sort into 3 boxes
- Drag a card, tap a box or press its number
- Combo points for cards sorted in a row
10 cards, about 4 minutes
The games need JavaScript. Every question is below, with the answers at the end.
Read the lesson: CPU Performance
CPU Performance: the questions
Quiz Challenge, round 1: Quiz Blitz
What does a clock speed of 3.2 GHz mean?
- 3.2 billion cycles every second
- 3.2 million cycles every second
- 3.2 billion instructions stored
- 3.2 cores working at once
A quad core processor is always four times faster than a single core processor.
- True
- False
Why have clock speeds barely risen in twenty years?
- Faster clocks make chips too hot to cool reliably
- Programs cannot use faster clocks
- RAM cannot hold faster instructions
- Laws limit how fast chips can be
Which THREE characteristics of the CPU affect its performance?
Tick 3.
- Number of cores
- Cache size
- Amount of secondary storage
- Size of the monitor
- Clock speed
How many cycles per second is 1 MHz?
What is a core?
- A type of cache memory
- The clock inside the CPU
- A register that holds results
- A complete processing unit with its own ALU, CU and registers
A program written as a single thread can only use one core at a time.
- True
- False
Processor A: 3.8 GHz, 2 cores. Processor B: 2.9 GHz, 8 cores. Which suits video rendering?
- Any: cores make no difference to rendering
- B, because rendering can be split across 8 cores
- A, because it has the higher clock speed
- A, because fewer cores are easier to manage
Why does doubling the cache not double performance?
- Cache is slower than RAM
- Cache only stores whole programs
- The clock speed halves
- The most useful data is already in cache, so the gains shrink
Order these clock speeds from slowest to fastest.
Number these 1 to 4.
- 1.2 GHz
- 2,500 MHz
- 3.6 GHz
- 800 MHz
What term means the number of fetch-decode-execute cycles a CPU carries out each second?
With more cache, more of the CPU's requests are found in cache rather than in RAM.
- True
- False
Quiz Challenge, round 2: Quick Fire
Explain what is meant by a clock speed of 3 GHz. [2 marks]
Give two reasons why a quad core processor may not be four times faster than a single core processor. [2 marks]
Describe what a core is. [2 marks]
A CPU's clock speed is increased. Explain one problem this can cause. [2 marks]
Quiz Challenge, round 3: Big Think
Processor A: 3.8 GHz, 2 cores, 4 MB cache. Processor B: 2.9 GHz, 8 cores, 16 MB cache. A student edits videos. Which processor should they buy? Justify your answer. [4 marks]
Explain how clock speed, the number of cores and cache size each affect the performance of a CPU. Include a limitation of each. [6 marks]
This or That: tick the right answer
A game only ever uses a single thread. Which processor runs it faster?
- 2.9 GHz with 8 cores
- 3.8 GHz with 2 cores
What is 2.4 GHz in MHz?
- 2,400 MHz
- 240 MHz
What is a thread?
- A wire joining two cores
- A sequence of instructions
A single-threaded program moves to a CPU with twice as many cores. What happens?
- It still runs on one core
- It runs twice as fast
What is clock speed measured in?
- Bytes
- Hertz
A question asks you to justify a choice between two CPUs. What earns the top marks?
- Reasons for each, then a clear choice
- Picking the faster clock speed
Which task makes the best use of many cores?
- A short single-threaded script
- Video rendering
Which statement about cores is true?
- Every core shares one ALU
- Each core runs instructions alongside the others
Memory Match: match each term to its meaning
| Term | Meaning |
|---|---|
| A Clock speed | 1 Fast memory for recently used data |
| B 1 GHz | 2 Cycles the CPU completes each second |
| C Hertz | 3 A complete processing unit in the CPU |
| D Core | 4 A sequence of instructions |
| E Thread | 5 One cycle per second |
| F Cache | 6 One billion cycles per second |
Sort It: tick one box in each row
Which factor does each statement describe?
| Statement | Clock speed | Number of cores | Cache size |
|---|---|---|---|
| Only helps if software is written to split its work | |||
| Lets several instructions be processed at the same time | |||
| Measured in gigahertz | |||
| Each one has its own ALU, control unit and registers | |||
| Means fewer slow trips out to RAM | |||
| Holds recently and frequently used instructions | |||
| Makes little difference to a single-threaded program | |||
| Raising it makes the chip much hotter | |||
| Gives smaller gains as it grows, because the useful data is already there | |||
| Sets how many fetch-decode-execute cycles happen each second |
Answers
Round 1: Quiz Blitz
- 3.2 billion cycles every second 1 GHz is one billion cycles per second, so 3.2 GHz is 3.2 billion cycles each second.
- False Only if the software splits its work between the cores, and the cores also lose time sharing resources.
- Faster clocks make chips too hot to cool reliably Heat and power use rise sharply with clock speed. Beyond a point the chip cannot be cooled reliably.
- Clock speed; Number of cores; Cache size The specification names three: clock speed, number of cores and cache size.
- 1000000 Mega means million, so 1 MHz is one million cycles per second.
- A complete processing unit with its own ALU, CU and registers Each core can fetch, decode and execute instructions independently of the others.
- True A single sequence of instructions cannot be split, so the other cores sit idle.
- B, because rendering can be split across 8 cores Rendering software is multi-threaded, so eight cores working at once beat a faster clock.
- The most useful data is already in cache, so the gains shrink Extra cache gives smaller and smaller gains, and a bigger cache is also slower to search.
- 800 MHz → 1.2 GHz → 2,500 MHz → 3.6 GHz Turn them all into MHz: 800, 1,200, 2,500 and 3,600.
- clock speed Clock speed is measured in hertz: one hertz is one cycle per second.
- True That is a higher hit rate, so the CPU spends less time waiting for slow RAM.
Round 2: Quick Fire
- 3 billion cycles per second
- Each cycle is a fetch-decode-execute cycle, roughly one instruction
Model answerThe clock pulses 3 billion times a second, so the CPU can carry out 3 billion fetch-decode-execute cycles every second, roughly one instruction per cycle.
- Not all software is written to use more than one core
- Cores have to communicate and share resources, which adds overhead
Model answerNot all software is written to split its work between cores, so a single threaded program can only use one core. The cores also have to communicate and share cache and memory, which adds overhead.
- A complete processing unit, with its own ALU, control unit and registers
- It can fetch, decode and execute instructions independently, at the same time as other cores
Model answerA core is a complete processing unit with its own ALU, control unit and registers. Each core can fetch, decode and execute instructions independently, at the same time as the other cores.
- The CPU produces more heat
- It needs more power and cooling, or it may become unreliable
Model answerA higher clock speed makes the CPU produce more heat and use more power. If the chip cannot be cooled well enough it becomes unreliable and may crash or be damaged.
Round 3: Big Think
- B's cores let the work be split and processed at the same time
- Video editing software is multi-threaded, written to use many cores
- B's bigger cache means fewer slow trips to RAM
- A's faster clock only helps single-threaded tasks, such as older games
- A clear conclusion: B is the better choice for video editing
Model answerI would recommend Processor B. Video editing software is multi-threaded, so its work can be split across all 8 cores and processed at the same time. B also has four times as much cache, so more of the data it needs is held close to the CPU, with fewer slow trips to RAM. Processor A has the higher clock speed, so each single thread runs faster, which suits older games, but that matters less here. B is the better choice for video editing.
- A higher clock speed means more cycles, so more instructions, per second
- But a faster clock produces more heat and uses more power
- More cores let several instructions be processed at the same time
- But only if the software is written to use them, and cores must share resources
- More cache means less time waiting for RAM
- But extra cache gives smaller gains, costs more and is slower to search
Model answerA higher clock speed means more fetch-decode-execute cycles per second, so more instructions are processed, but it also produces more heat and uses more power, and beyond a point the chip cannot be cooled. More cores let several instructions be processed at the same time, but only if the software is written to split its work, and the cores also have to communicate and share resources. A bigger cache holds more frequently used data, so the CPU spends less time waiting for RAM, but the gains get smaller as it grows, and cache is expensive and slower to search.
This or That
- 3.8 GHz with 2 cores A single thread can only use one core, so the faster clock wins.
- 2,400 MHz 1 GHz is 1,000 MHz, so 2.4 GHz is 2,400 MHz.
- A sequence of instructions A thread is a sequence of instructions that the operating system can place on a core.
- It still runs on one core Its instructions form one sequence, so the extra cores have nothing to do.
- Hertz Hertz counts cycles per second. Bytes measure data.
- Reasons for each, then a clear choice Say what each processor is better at, name the factor that causes it, then commit to an answer.
- Video rendering Rendering splits into many threads, one per core. A single thread can only use one core.
- Each core runs instructions alongside the others Each core is a complete processing unit, with its own ALU, control unit and registers.
Memory Match
- A 2 Clock speed: Cycles the CPU completes each second
- B 6 1 GHz: One billion cycles per second
- C 5 Hertz: One cycle per second
- D 3 Core: A complete processing unit in the CPU
- E 4 Thread: A sequence of instructions
- F 1 Cache: Fast memory for recently used data
Sort It
- Number of cores Only helps if software is written to split its work A program must be multi-threaded to spread across cores.
- Number of cores Lets several instructions be processed at the same time Each core works independently, so four cores can work on four instructions at once.
- Clock speed Measured in gigahertz Clock speed is cycles per second, measured in hertz, megahertz or gigahertz.
- Number of cores Each one has its own ALU, control unit and registers A core is a complete processing unit.
- Cache size Means fewer slow trips out to RAM A bigger cache holds more of what the CPU needs, so it finds more there instead of in RAM.
- Cache size Holds recently and frequently used instructions That is exactly what cache is for: keeping likely-needed instructions close to the CPU.
- Number of cores Makes little difference to a single-threaded program One thread runs on one core, however many cores there are.
- Clock speed Raising it makes the chip much hotter A faster clock raises heat and power use sharply, which limits how high it can go.
- Cache size Gives smaller gains as it grows, because the useful data is already there Extra cache has diminishing returns, and a larger cache is slower to search.
- Clock speed Sets how many fetch-decode-execute cycles happen each second Each clock pulse is one cycle, so the clock sets the pace of the whole CPU.