Computer Science · High School (9–10) · 3 courses, 30 worked problems, 30 practice questions
Hardware is the physical parts of a computer. At its heart is the central processing unit, or CPU, which runs programs by the fetch-decode-execute cycle. Inside it, the control unit, the arithmetic logic unit and registers such as the program counter work together, with data moving on buses. The clock speed, the number of cores and the cache all affect how fast it works. Primary storage includes RAM and ROM. Secondary storage includes magnetic, optical and solid-state drives. Input and output devices, such as sensors and printers, connect the computer to the world.
Choose an answer, then check it. Each one shows a full explanation.
During a program, the CPU must always know where in memory its next instruction is stored. Which register keeps this address?
A quiz program checks whether a player's score is greater than 50. Which part of the CPU carries out this comparison?
A laptop follows the Von Neumann design. Where are the instructions of a running program kept?
The MAR holds the address 44, and the CPU is about to read from that location. Which bus carries the number 44 to the memory?
At the start of a cycle the PC holds 37, and address 37 holds the instruction LOAD 52. Which pair of values is right at the end of the fetch stage?
Which of these happens in the decode stage of the cycle?
The clock speed of a processor rises from 2 GHz to 3 GHz. Nothing else changes. What is the most likely effect?
Sara moves her program from a two-core processor to a four-core processor with the same clock speed. It runs only a little faster. Which reason explains this best?
Which device is most likely to be controlled by an embedded system rather than a general purpose computer?
Memory location 21 starts with the value 15 and location 20 holds 6. The instructions LOAD 21, ADD 20, ADD 20, STORE 21 are carried out in that order. What does location 21 contain afterwards?
Each one has a hint, the key idea and a full worked solution.