Rhys's computer has a dual-core CPU with a clock speed of 3.0 GHz. He can afford one of these upgrades:
Upgrade 1: a dual-core CPU with a clock speed of 4.0 GHz
Upgrade 2: a six-core CPU with a clock speed of 3.0 GHz
Both new CPUs have the same cache size as his current CPU. Rhys mainly uses his computer to play an older game that can only use one core. Now and then he converts long videos into a different file format, and the converter shares its work between all of the CPU's cores.
Explain how each upgrade would affect the performance of these two tasks, and recommend which upgrade Rhys should choose.
Model answer
Upgrade 1 raises the clock speed from 3.0 to 4.0 GHz, so each core carries out 4 billion cycles per second instead of 3 billion. The game uses only one core, so it would run faster. Video conversion would also be a little faster, because both cores are faster (8 billion cycles per second in total instead of 6 billion).
Upgrade 2 keeps the clock speed at 3.0 GHz, so the game would not run any faster - it can only use one of the six cores. However, the converter could share its work between six cores instead of two, up to 18 billion cycles per second in total, so long videos would convert much faster than with either Upgrade 1 or his current CPU.
I recommend Upgrade 1, because Rhys mainly plays the game, and only a higher clock speed will make a one-core program faster. Video conversion is only occasional, and it would still be a little quicker.
Explanation
This question tests the effect of changing one characteristic at a time. A higher clock speed helps every task, including one-core programs; more cores only help software that splits its work, but then they can help a lot. Because the game is Rhys's main use, Upgrade 1 suits him better, although Upgrade 2 can be justified if video conversion matters more. Remember that six cores do not really give three times the speed, because not all work can be split.