Ch 1 · 3 Hardware · AS & A Level Computer Science 9618
Topic 1 of 2 in Hardware and Processor Fundamentals — AS & A Level Computer Science 9618 — 79 lessons.
Introduction
This lesson covers the physical parts of a computer system: why each kind of component is needed, how the main devices work, the different types of memory, monitoring and control systems, and the logic gates from which processors are built. (Syllabus topic 3: sections 3.1–3.2.)
Key ideas — 3.1 (a) Why each component is needed
🧑🏫 Teacher's explanation
Think of a computer like a professional chef working in a kitchen. The chef is the CPU. To cook a meal, the chef needs ingredients (Input), a recipe to follow (Instructions), a workspace like a cutting board to chop things on (Primary Memory), and a pantry or fridge to store ingredients for tomorrow (Secondary Storage). Once the meal is cooked, the chef serves it on a plate (Output).
📖 Definitions
🔍 Worked example — Easy
Identify whether the following are Input, Output, Primary Memory, or Secondary Storage: 1. A keyboard, 2. A hard disk, 3. RAM, 4. A monitor.
🔍 Worked example — Standard
A computer system uses a buffer to temporarily hold data being transferred between a fast CPU and a slow hard disk. Explain why this buffer is necessary.
🔍 Worked example — Exam-style
Compare RAM and ROM in terms of volatility and purpose.
⚠️ Common errors
🧠 Quick check 1
🧠 Quick check 2
🎯 Exam question
(a) Explain why a buffer is required in this system. [2] (b) State one difference between the data stored in the buffer and the data stored on the magnetic hard disk. [1] [3 marks]
Key ideas — 3.1 (b) Embedded systems
An embedded system is a computer built into a larger device to perform a dedicated function (washing machines, car engine management, medical devices, smart thermostats).
🧑🏫 Teacher's explanation
Imagine a Swiss Army knife. It isn't a full-sized toolbox, but it contains specific, specialized tools (a blade, a screwdriver, scissors) built into one compact unit to perform specific tasks. You wouldn't use a Swiss Army knife to build a house, but for a quick fix, it is perfect because it is compact and ready to go.
📖 Definitions
🔍 Worked example — Easy
Identify whether the following are embedded systems or general-purpose computers: (a) A laptop running Windows 11, (b) A digital thermostat, (c) A gaming console.
🔍 Worked example — Standard
A manufacturer is deciding whether to use an embedded system or a general-purpose computer for a new smart toaster. List one benefit and one drawback of using an embedded system for this product.
🔍 Worked example — Exam-style
A smart security camera uses an embedded system. The manufacturer claims it is 'highly reliable'. Explain why an embedded system might be more reliable than a general-purpose computer for this specific task.
⚠️ Common errors
🧠 Quick check 1
🧠 Quick check 2
🎯 Exam question
(a) Define the term 'embedded system'. [2] (b) State two benefits of using an embedded system rather than a general-purpose computer in this washing machine. [2] (c) Explain one drawback of using an embedded system in this device. [2] [6 marks]
Key ideas — 3.1 (c) Principal operations of devices
🧑🏫 Teacher's explanation
Think of hardware as the 'physical body' of a computer. If the CPU is the brain, these devices are the eyes (sensors/input), the hands (actuators/output), and the long-term memory (storage). Each device uses a specific physical principle—like magnetism, light, or electricity—to translate the digital world of 0s and 1s into something we can touch, hear, or see.
📖 Definitions
🔍 Worked example — Easy
A laser printer process involves several steps. Identify the correct sequence of physical phenomena for: 1. Creating the image on the drum, 2. Attaching the ink, 3. Fixing it to paper.
🔍 Worked example — Standard
A capacitive touchscreen works by detecting changes in an electrostatic field. If a user touches the screen, what physical change occurs that the sensor grid detects?
🔍 Worked example — Exam-style
Calculate the total number of sectors on a magnetic hard disk if there are 500 tracks and each track has 100 sectors.
⚠️ Common errors
🧠 Quick check 1
🧠 Quick check 2
🎯 Exam question
(a) Describe how the headset uses sensors to maintain an immersive experience. [2] (b) Explain why a buffer might be used when transferring data from the computer to the VR headset's displays. [2] [4 marks]
Key ideas — 3.1 (d) Buffers
A buffer is a temporary area of memory that holds data while it is transferred between devices or processes that work at different speeds. Example: data for a printer is sent quickly to the printer's buffer, freeing the CPU, while the printer prints slowly; streaming video is buffered so playback continues during brief network slowdowns.
🧑🏫 Teacher's explanation
Imagine you are at a fast-food restaurant. The cashier takes orders very quickly, but the chef in the kitchen takes several minutes to cook each burger. If the cashier had to stand still and wait for every burger to be finished before taking the next order, the line would move incredibly slowly. Instead, the cashier writes the orders on slips of paper and places them on a rack. That rack is a 'buffer'. It holds the orders temporarily so the cashier can keep working, and the chef can grab them one by one at their own pace.
📖 Definitions
🔍 Worked example — Easy
A CPU sends data to a printer at a rate of 100 MB/s. The printer can only process data at 1 MB/s. If the CPU sends 50 MB of data to the buffer, how long will it take for the buffer to be emptied?
🔍 Worked example — Standard
A video stream is being buffered. The network delivers 500 KB of data every 2 seconds. The video player consumes 200 KB every 1 second. Calculate the net growth of the buffer in KB per second.
🔍 Worked example — Exam-style
A system uses a buffer to prevent data loss during a transfer. The buffer size is 1024 KB. Data arrives at 10 KB/s. The output device processes data at 8 KB/s. If the buffer is currently 500 KB full, how many seconds until the buffer overflows?
⚠️ Common errors
🧠 Quick check 1
🧠 Quick check 2
🎯 Exam question
Key ideas — 3.1 (e) Types of memory
🧑🏫 Teacher's explanation
Think of your computer's memory like a workspace. RAM is your desk: it is where you keep the books and papers you are currently working on. It is fast and easy to swap things in and out, but as soon as you leave the room (turn off the power), the desk is wiped clean. ROM is like a printed instruction manual glued to the corner of the desk; it tells you how to set up the desk every time you walk into the room, and you can't easily change what it says.
📖 Definitions
🔍 Worked example — Easy
A computer uses 8GB of DRAM. If the DRAM must be refreshed every 64 ext ms to prevent data loss, how many times must the memory be refreshed in one second?
🔍 Worked example — Standard
Compare SRAM and DRAM in terms of construction and speed.
🔍 Worked example — Exam-style
A technician needs to update the firmware on a device. The device uses EEPROM. Explain why EEPROM is preferred over EPROM for this task.
⚠️ Common errors
🧠 Quick check 1
🧠 Quick check 2
🎯 Exam question
(a) State one difference between SRAM and DRAM in terms of their physical construction. [1] (b) Explain why DRAM requires a 'refresh' cycle, whereas SRAM does not. [2] [3 marks]
Key ideas — 3.1 (f) Monitoring and control systems
Sensors include temperature, pressure, infra-red and sound. Analogue readings are converted by an ADC; the computer compares readings with pre-set values and, in a control system, sends signals (via a DAC if needed) to actuators (motors, valves, heaters, pumps).
🧑🏫 Teacher's explanation
Imagine you are sitting in a room. A thermometer that simply displays the temperature on a screen is a monitoring system; it tells you what is happening but doesn't change anything. However, if that thermometer is connected to a heater that turns on when it gets too cold and off when it gets warm, it has become a control system.
📖 Definitions
🔍 Worked example — Easy
A monitoring system is used in a hospital to track a patient's heart rate. Identify whether this is a monitoring or control system and state why.
🔍 Worked example — Standard
A greenhouse control system uses a temperature sensor. If the temperature T < 18^°C, the heater is turned on. If T ≥ 18^°C, the heater is turned off. Describe the role of the actuator in this system.
🔍 Worked example — Exam-style
A smart irrigation system uses a moisture sensor. The system is programmed to turn on a water pump when moisture is < 30\% and turn it off when moisture is > 50\%. Explain how feedback is used in this system.
⚠️ Common errors
🧠 Quick check 1
🧠 Quick check 2
🎯 Exam question
\n(a) Identify whether this system is a monitoring system or a control system. [1] (b) Describe how the concept of feedback is applied in this greenhouse system. [3] [4 marks]
Key ideas — 3.2 Logic gates and circuits
All gates except NOT have two inputs.
🧑🏫 Teacher's explanation
Think of logic gates as the fundamental decision-makers of a computer. Every complex calculation your computer performs is actually just millions of tiny switches turning on or off based on specific rules.
📖 Definitions
🔍 Worked example — Easy
Construct a truth table for the logic expression: Q = overlineA OR B
🔍 Worked example — Standard
A logic circuit has two inputs, A and B. The output is 1 only when the inputs are different. Construct the truth table.
🔍 Worked example — Exam-style
Given the truth table below, find the Boolean expression for output Y. \n| A | B | C | Y |\n|---|---|---|---|\n| 0 | 0 | 0 | 0 |\n| 0 | 0 | 1 | 0 |\n| 0 | 1 | 0 | 0 |\n| 0 | 1 | 1 | 1 |\n| 1 | 0 | 0 | 0 |\n| 1 | 0 | 1 | 1 |\n| 1 | 1 | 0 | 0 |\n| 1 | 1 | 1 | 1 |
⚠️ Common errors
🧠 Quick check 1
🧠 Quick check 2
🎯 Exam question
\n(a) Draw a logic circuit for this system. [2] (b) Construct a truth table for the alarm output Y. [2] [4 marks]
Worked example
Cache must be as fast as possible to keep up with the CPU, and only a small amount is needed, so the faster but more expensive SRAM is used. Main memory needs a large capacity at reasonable cost; DRAM stores more bits per chip and is cheaper, so it is used even though it is slower and must be refreshed.
🔍 Worked example — Easy
A system uses SRAM for cache and DRAM for main memory. If the CPU needs to access a piece of data, explain why it checks the SRAM first.
🔍 Worked example — Standard
Compare the physical characteristics of SRAM and DRAM in terms of transistor count and cost.
🔍 Worked example — Exam-style
A computer designer is deciding between SRAM and DRAM for a new device. The device is a high-performance gaming PC where speed is critical, but the user wants 32GB of memory. Explain the optimal configuration.
⚠️ Common errors
Common mistakes
Practice
Answers: (1) A laser creates a charge pattern of the page on a drum; toner sticks to the charged areas, is transferred to the paper and fused by heat. (2) Temporary memory holding data during transfer between devices of different speeds; the CPU sends the data quickly to the buffer and continues with other tasks while the slower printer prints. (3) Any two: SRAM uses flip-flops, DRAM capacitors; DRAM needs refreshing, SRAM does not; SRAM is faster; DRAM is cheaper with higher capacity. (4) PROM: programmed once, cannot be erased; EPROM: erased by UV light and reprogrammed; EEPROM: erased and reprogrammed electrically in place. (5) The output affects the next readings, so the system can keep adjusting automatically to keep conditions at the target. (6) X = (A XOR B) AND C.