82 exam-style questions on Computer hardware and operation — topic A1.1 of Computer fundamentals in the IB Computer Science syllabus — with answers and explanations. Samples below; the full set is free with an account.
Which task is better suited to a GPU than to a CPU?
Answer: applying the same brightness change to millions of pixels
A GPU contains thousands of simple cores that all execute the same operation on different data at once, which is exactly the pixel case. Branching, sequential and coordination-heavy work belongs on the CPU's few fast, flexible cores.
A laptop must start quickly and keep its files when powered off. Which component should hold the operating system?
Answer: a solid-state drive, which is non-volatile and fast to read
The requirement combines persistence (rules out RAM and cache, which are volatile) with speed (rules out tape). At start-up the operating system is then copied from the SSD into main memory to be executed.
A processor's clock speed is doubled, but most programs barely run faster. Which hardware limit best explains this?
Answer: instructions and data cannot be fetched from main memory fast enough
Processor and main memory share one path for instructions and data, and memory is far slower than the CPU — the von Neumann bottleneck. A faster clock just makes the processor wait more cycles for each fetch, which is exactly the gap cache exists to bridge.
Which list orders storage from fastest to slowest access time?
Answer: registers, cache, main memory, solid-state drive
Speed falls with distance from the processor core: registers are inside it, cache sits beside it, main memory is across the buses, and secondary storage is slowest but the only non-volatile level. The same order reversed gives capacity per cost.
A team moves a calculation from the central processing unit (CPU) to a graphics processing unit (GPU) and finds that it now runs more slowly. Which feature of the calculation best explains this?
Answer: Each step of the calculation needs the result of the step before it.
A GPU gains its speed from very many simple cores running the same operation on different data at the same time. A strictly sequential chain of dependencies leaves almost every core idle, so only one slow core does the work, and the cost of copying the data across is added on top.
Three extra lines are added to the address bus of a processor and nothing else is changed. By what factor does the number of distinct memory locations that the processor can select change?
Answer: It is multiplied by eight.
Every extra line can be either 0 or 1, so each one doubles the number of different patterns the bus can carry. Three extra lines multiply the count by 2 x 2 x 2 = 8; the growth is exponential in the number of lines, not proportional to it.
That was 6 of 82 Computer hardware and operation questions.
Practise all 82 freeOutlineAO1 · 1–2 marks
A brief account or summary: the main points in two or three sentences, no evaluation.
StateAO1 · 1–2 marks
One word or one short sentence. No explanation, no working: the mark is for the fact itself.
DistinguishAO2 · 2–4 marks
Make the difference clear for BOTH terms — a definition of one of them is only half an answer.
82 Computer hardware and operation questions — free with an account. Spaced repetition, streaks and full exam simulations included.
Practise them freeThis platform is independently developed and is not endorsed by, affiliated with, or sponsored by the International Baccalaureate Organization. “International Baccalaureate” and “IB” are registered trademarks of the IBO.