CSwithZain
WhatsApp Join a class

AS Level 9618 · Paper 1 · 3.1

Computers and their components

The parts of a computer system, and how input, output, memory and storage devices work. Read the notes, try the past-paper questions, then check the mark scheme.

Past papers from June 2021 to June 202636 questions · 198 marks

    In this subtopic

    • Why a computer needs input, output, primary memory and secondary storage
    • Embedded systems
    • How common hardware devices work, and why buffers are used
    • RAM and ROM, SRAM and DRAM, PROM, EPROM and EEPROM
    • Monitoring and control systems

    3.1 · 1 of 28Contents

    Why a computer needs input, output and storage

    A computer system takes in data, processes it, stores it and gives out results. Each of these jobs needs its own hardware.

    • Input devices are needed so that data and control signals can get into the computer, either from a person (for example a keyboard or a touchscreen) or automatically (for example a sensor). Without input there is nothing to process.
    • Output devices are needed so that the results of processing can be used: shown on a screen, printed, played through speakers, or used to drive a motor.
    • Primary memory (main memory: RAM and ROM) is needed because the processor can only work on the data and instructions held in main memory. A program, and the data it is using, must be loaded into RAM before it can be run. ROM holds the instructions that start the computer.
    • Secondary storage is needed because RAM is volatile: everything in it is lost when the power is switched off. Secondary storage is non-volatile, so the operating system, programs and files are kept when the computer is off. It also holds far more data than main memory.
    • Removable storage is secondary storage that can be taken out of the computer, such as a USB flash drive, a memory card, an external hard disk or an optical disc. It is needed to move data from one computer to another, to keep backup copies away from the computer, and to archive data.

    Input, output and storage devices that are not part of the processor are called peripherals. Each peripheral is connected to the computer through a port, for example a USB port or an HDMI port (ports are explained in 4.1).

    Primary memory or secondary storage?

    • Primary memory (RAM) holds the data that is being used right now, for example the miles travelled on the current journey, or the video that is being recorded and sent.
    • Secondary storage holds data that must be kept when the power is off, for example the total miles a car has travelled since it was built, or saved video files.

    Used later in

    3.1Input devicesperipheral, input device3.1Output devicesperipheral, output device3.1Random access memory (RAM)primary memory, secondary storage, random access memory (RAM), volatile memory3.1Read-only memory (ROM)secondary storage, non-volatile memory, read-only memory (ROM)3.1Comparing RAM and ROMprimary memory3.1SRAM and DRAMprimary memory3.1How solid-state (flash) memory worksprimary memory4.1Computer architecture and the Von Neumann modelprimary memory4.1The Control Unit (CU)primary memory4.1Immediate Access Store (IAS)primary memory4.1Registers: general-purpose and special-purposeprimary memory4.1The special-purpose registersprimary memory4.1Buses and the system busperipheral, primary memory, secondary storage4.1The data busprimary memory4.1The address busprimary memory4.1The fetch-decode-execute cycleprimary memory, secondary storage4.1The fetch stageprimary memory4.1The decode stageprimary memory4.1The execute stageprimary memory4.1Cache memoryprimary memory4.1Data bus widthprimary memory4.1Address bus width and the amount of RAMprimary memory, secondary storage4.2Low-level languages and instruction setsprimary memory4.2Assembly language and machine codeprimary memory5.1Why a computer needs an operating systemperipheral, primary memory, secondary storage, operating system (OS)5.1Process managementprimary memory, secondary storage5.1Memory managementprimary memory5.1File managementprimary memory, secondary storage5.1User interfaces: CLI and GUIsecondary storage5.1Dynamic link libraries (DLLs)primary memory3.1Optical discsoptical disc3.1Sensors and actuatorssensor3.1How a speaker worksspeaker3.1How touchscreens worktouchscreen4.1The control buscontrol signal4.1USB portsUniversal Serial Bus (USB)4.1VGA and HDMI portsHigh-Definition Multimedia Interface (HDMI)6.1Backups and physical securitybackup

    3.1 · 2 of 28Book pages Contents

    Input devices

    Input devices are peripherals used to provide data and control signals to a computer system. Data comes in many different forms, and there is a wide range of devices that can be used. The input process might be manual, such as through a keyboard or mouse, or automated, such as through a sensor. Some of the more common input devices, and their main purpose, are listed below.

    DevicePurpose
    KeyboardLets a user enter character data (numbers, letters and symbols). It often has function keys or special keys for common tasks, such as changing the volume or switching between windows.
    MouseLets a user point and click to select icons, or to position the cursor on the screen.
    TrackpadDoes the same job as a mouse, but the user moves the cursor with their fingers. It is usually found on laptop computers.
    Graphic tabletAlso called a drawing tablet. It is used to create digital drawings by pressing the tip of a special stylus on the tablet surface.
    MicrophoneCaptures analogue sound waves and converts them into electrical signals, for example to talk to a friend online or to record live music.
    Flatbed scannerScans a physical document, such as a photograph, a handwritten note or a letter, and saves it as a digital bitmap image.
    OMR scannerOMR stands for optical mark recognition. It is often used to input the answers a candidate has marked on a multiple choice test paper.
    Magnetic stripe card readerReads the data held on a magnetic stripe, such as on a hotel door card.
    Smart card readerReads the data from an embedded integrated circuit (IC) chip, for example the chip on a customer’s bank card in a shop, so that a payment can take place.
    NFC readerReads the data from an NFC (near field communication) tag. It is used for contactless payment: the reader uses radio waves to read a bank card or mobile phone held close to it.
    TouchscreenA screen is usually an output device, but a touchscreen is also an input device. The user selects icons, types on an on-screen keyboard and moves around with a finger or a stylus.

    3.1 · 3 of 28Book page Contents

    How touchscreens work

    A touchscreen is a display screen that is also an input device: it detects where it has been touched.

    Early touchscreens worked with CRT screens, but could be used just as well with flat screens. Emitters were placed along the sides of the screen with detectors opposite them. The emitters produced infrared light or ultrasonic waves. When a finger touched the screen it blocked some of the light or ultrasound, so some of the detectors measured a weaker signal.

    A modern touchscreen has the layers that make the display, with extra touch-detecting layers just beneath the surface of the screen. There are two approaches: the resistive touchscreen and the capacitive touchscreen, explained in the next two sections.

    In every type of touchscreen, the processor takes readings from the measuring devices and uses them to calculate the position (the coordinates) of the touch. The processor then compares this position with what is shown on the screen, so it can carry out the action the user selected, for example choosing an item from a menu.

    The principal operation of touchscreens

    • A resistive touchscreen has two layers. When the user presses the screen, the layers touch and a circuit is completed.
    • A capacitive touchscreen has several layers. When the top layer is touched, there is a change in the electric current (charge is transferred to the finger).
    • A microprocessor works out the coordinates (position) of the touch and matches it to the option shown at that point.

    3.1 · 4 of 28Book pages Contents

    Resistive touchscreens

    A resistive touchscreen has two layers separated by a thin space beneath the screen surface. The screen is not rigid, so when a finger presses on it, the pressure moves the top layer down until it makes contact with the lower layer. The point of contact creates a voltage divider in the horizontal and vertical directions, and the processor uses these voltages to work out where the screen was pressed.

    Resistive touch panel in cross-section. A finger presses down on the top film, bending it so that the transparent electrode film on the film touches the one on the glass below. Spacer dots and an insulator keep the two layers apart elsewhere.
    A resistive touchscreen: pressing the film makes the two layers touch

    Working of resistive touchscreens

    • The screen has two (charged) conducting layers, separated by a small gap.
    • Pressure on the screen makes the layers touch.
    • This completes the circuit.
    • The point of contact is registered.
    • The coordinates are used to calculate the position of the touch.

    Benefits of resistive touchscreens

    • Relatively cheap technology.
    • Can be used with bare fingers, gloved fingers or a stylus (any object that presses the screen).

    Drawbacks of resistive touchscreens

    • Visibility is poor in strong sunlight.
    • Does not allow multi-touch.
    • Durability is only fair: the screen is easily scratched and wears out over time.

    3.1 · 5 of 28Book pages Contents

    Capacitive touchscreens

    A capacitive touchscreen does not need a soft screen. Instead, it uses the fact that a finger touching a glass screen causes a change in capacitance in a circuit component just below the screen. The most effective type is projective capacitive touch (PCT) with mutual capacitance: there is a circuit beneath the screen containing an array of capacitors. It can detect the touch of several fingertips at the same time (multi-touch), which allows more advanced applications.

    Surface capacitive touchscreen. A glass substrate is covered by a transparent electrode film and a protective cover. A finger touching the cover draws electric current from the film. Electrodes at the four corners of the screen detect the change.
    A capacitive touchscreen: sensors at the corners detect where charge flows to the finger

    Working of capacitive touchscreens

    • The screen is made from materials that store electric charge.
    • When it is touched, charge is transferred to the finger.
    • Sensors at the corners of the screen detect the change.
    • The point of contact is registered.
    • The coordinates are used to calculate the position of the touch.

    Benefits of capacitive touchscreens

    • Medium cost technology.
    • Visibility is good even in strong sunlight.
    • Allows multi-touch.
    • Very durable: it takes a major impact to break the glass.

    Drawback of capacitive touchscreens

    • Only works with bare fingers, although the latest screens allow a special stylus to be used.

    3.1 · 6 of 28Book page Contents

    How a microphone works

    To input sound, a microphone is needed. A microphone has a diaphragm, a flexible material that vibrates when sound reaches it. The diaphragm is connected to circuitry, so the vibration causes a change in an electrical signal. A dynamic microphone uses a coil that moves past a magnet. A condenser microphone uses a change in capacitance instead, and another alternative is a piezoelectric crystal.

    The microphone produces an analogue electrical signal. An analogue-to-digital converter (ADC) converts it into a digital signal so that it can be processed inside the computer.

    Microphone. Sound waves arrive at a diaphragm on the left. The diaphragm is joined to a cone and a coil wrapped around a permanent magnet. Wires carry the output from the microphone to the right.
    A dynamic microphone: diaphragm, coil and magnet

    Working of a microphone

    • The microphone has a diaphragm (or a ribbon).
    • Incoming sound waves make the diaphragm vibrate.
    • In a dynamic microphone, the vibration makes a coil move past a magnet. In a condenser microphone, the vibration changes the capacitance.
    • This produces an electrical signal (a varying current) that matches the sound.

    3.1 · 7 of 28Book pages Contents

    Output devices

    Output devices are peripherals that reproduce or display data and information from a computer system. Information is data that has been processed and formatted so that it is useful to the user. Some common output devices are listed below.

    DevicePurpose
    SpeakersGenerate sound waves from the data received from a sound card. Speakers are often built into devices, but can also be connected as external peripherals.
    Inkjet printersUse liquid ink to print in black and white or in colour. High-end inkjet printers can use specialist paper and print at very high resolution. Liquid ink gives rich colours, so they are the most suitable printers for photographs. The ink is expensive, especially in small cartridges. They are the usual choice at home because they are cheap to buy.
    Laser printersOften used in the workplace. They print a whole page at a time, so they are usually faster than inkjet printers; high-specification laser printers can print hundreds of pages per minute. They use powdered ink called toner instead of liquid ink. The quality is very good for text, but not so good for photographs, as it is hard to produce deep, rich colours.
    3D printersPrint a three-dimensional design from the computer as a solid object. They use filament, usually a plastic-based resin, which is heated and printed layer (slice) by layer. Scientists are even exploring bioprinters that make living body parts.
    Display screensMost computers have a display, either a stand-alone monitor or a built-in screen. LCD (liquid crystal display) screens are low cost and common on desktop and laptop computers. They are being replaced by LED (light-emitting diode) displays, which use less power, so they are cheaper and more environmentally friendly to run. A newer variant is the OLED (organic light-emitting diode) screen: OLEDs are lighter and more flexible than LED displays, so they are a good choice for phones and tablets.

    3.1 · 8 of 28Book pages Contents

    How a laser printer works

    A printer produces a hard copy of information. Some printers print only in black (monochrome) and some print in colour using CMYK (cyan, magenta, yellow and black), which are mixed to make other colours. A printer forms an image from tiny dots, and its resolution is measured in dpi (dots per inch): the more dots per inch, the higher the resolution.

    A laser printer uses a powder called toner, supplied in a cartridge. A colour laser printer has 4 toner cartridges, one for each CMYK colour. A laser is used to create static electricity on the areas that make up the image or text being printed. Toner sticks to these areas, is transferred to the paper, and is then fixed to it by a fuser (heated rollers).

    Inside a laser printer. A laser beam reflects off a mirror on to a green drum. Toner from the toner cartridge is picked up by the drum. Paper travels from the paper tray, past the drum and through the fuser, and out at the top.
    Inside a laser printer: laser, mirror, drum, toner and fuser

    Working of a laser printer

    • The data is sent to the printer driver.
    • The printer driver makes sure the data is in the right format for the printer.
    • A check is made to make sure the printer is available to print.
    • The data is sent to the printer and stored in the printer buffer.
    • The printing drum is given a positive charge. As the drum rotates, a laser beam is scanned across it, removing the positive charge in some areas. This leaves negatively charged areas that match the text and images of the page.
    • The drum is coated with positively charged toner, which sticks only to the negatively charged areas.
    • A negatively charged sheet of paper is rolled over the drum.
    • The toner on the drum sticks to the paper.
    • The electric charge on the paper is removed after one rotation of the drum, so the paper does not stick to the drum.
    • The paper goes through the fuser (a set of heated rollers). The heat melts the toner and fixes it to the paper.
    • A discharge lamp removes all the electric charge from the drum, ready to print the next page.

    Advantages and disadvantages of laser printers

    • Advantages: the toner cartridges last much longer than ink cartridges, the print quality is excellent, they print quickly (for example 60 pages per minute) and they can print on both sides of the paper.
    • Disadvantages: they are more expensive, and they take up more space (a larger footprint).

    Used later in

    3.1 · 9 of 28Book pages Contents

    How a 3D printer works

    A 3D printer creates solid three-dimensional objects. The object must first be drawn as a 3D model, using a computer-aided design (CAD) application, or scanned using a 3D scanner. The model is split into many thin horizontal layers (slices). The printer uses a material such as a polymer, acrylic or plastic, and prints each layer on top of the one before. Building an object up layer by layer like this is called additive manufacturing.

    Working of a 3D printer

    • The object is designed using computer-aided design (CAD) software.
    • The software splits the object into slices (layers).
    • The data about the slices is sent to the printer.
    • The solid plastic is melted and transferred to the nozzle.
    • A stepper motor moves the nozzle into position.
    • The nozzle extrudes (squeezes out) the molten plastic.
    • Moving the nozzle and extruding plastic repeat until the layer is complete.
    • A fan cools the layer.
    • Melting, moving, extruding and cooling are repeated for each layer after that, until the object is complete.

    There are other types of 3D printing:

    • Direct 3D printing uses inkjet technology. The print head moves from side to side, and it can also move up and down to build the layers of the object.
    • Binder 3D printing uses two passes for each layer. The first pass sprays dry powder on to the layer. The second pass sprays a binder (a type of glue) to make a solid layer.
    • Newer technology uses lasers and UV light to harden a polymer.

    Advantages and disadvantages of 3D printing

    • Advantages: items and prototypes can be made quickly; engineers and designers can design and test an object without having it manufactured; the design can be shared easily as a digital file.
    • Disadvantages: it is expensive; dangerous items may be printed; printed items are not as durable as manufactured ones; there may be copyright problems.

    3.1 · 10 of 28Book page Contents

    How a speaker works

    To output sound, a speaker (loudspeaker) is needed. It works in effectively the reverse way to a microphone. Digital data from the computer is converted to analogue by a digital-to-analogue converter (DAC). The analogue signal is fed to the speaker as a varying electric current. In most speakers, the current flows through a coil inside the magnetic field of a permanent magnet. As the size and direction of the current keep changing, the coil moves backwards and forwards. This moves a cone (diaphragm), which creates the sound.

    Loudspeaker. An electric current is fed to a coil of wire wrapped around an iron core, next to a permanent magnet. The coil is joined to a plastic or paper cone, which pushes out sound waves.
    A speaker: coil, permanent magnet and cone

    Working of a speaker

    • An electric current flows through a coil of wire wrapped around an iron core, so the core becomes a temporary electromagnet. A permanent magnet is placed very close to it.
    • As the current through the coil varies, the magnetic field in the iron core varies too. The core is attracted towards, and pushed away from, the permanent magnet, so it vibrates.
    • The iron core is attached to a cone (made of paper or thin synthetic material), so the cone vibrates too, producing sound waves.

    3.1 · 11 of 28Book page Contents

    How a virtual reality headset works

    Virtual reality has many uses. For example, it lets an engineer walk around inside a dangerous place, such as a nuclear power plant, without actually being there. Engineers can plan changes or repairs in complete safety, and try out different scenarios before carrying them out. A virtual reality headset gives the user the feeling of being there. It works like this:

    • Video is sent from a computer to the headset, either through an HDMI cable or from a smartphone fitted into the headset.
    • Two feeds are sent to an LCD or OLED display (sometimes there are two screens, one for the left side of the image and one for the right). Lenses between the eyes and the screen focus and reshape the image for each eye, giving a 3D effect.
    • Most headsets have a 110° field of view, which is enough to give a pseudo 360° surround image.
    • A frame rate of 60 to 120 images per second is used to give a realistic image.
    • As the user moves their head (up and down or left to right), sensors measure the movement. A microprocessor works out the direction of the movement, and the image on the screen changes to match. The sensors are usually gyroscopes or accelerometers; LEDs are used with mini cameras to track head movement further.
    • Headsets use binaural (surround) sound, so the speaker output seems to come from behind, from the side or from a distance, giving realistic 3D sound.
    • Some headsets use infrared sensors to track eye movement as well as head movement. This makes the depth of field more realistic: for example, objects in the foreground look fuzzy when the user’s eyes show they are looking into the distance.

    3.1 · 12 of 28Book page Contents

    Random access memory (RAM)

    The RAM (random access memory) inside a computer holds all the data and instructions that are currently being processed. A program must be loaded into RAM from secondary storage before it can be run, because RAM can be read and written much faster than secondary storage. The processor fetches instructions (and any data it needs) directly from RAM, then decodes and executes them.

    RAM is split into separate locations, each with its own unique memory address. The processor uses these addresses to access the data in RAM. Any location can be accessed in the same amount of time, unlike storage devices where something (such as a read-write head) has to be moved into place. This is why it is called random access: any location can be reached "at random" with no effect on speed.

    RAM is volatile: it needs power to hold its data, and if the power is switched off, all the data in RAM is lost. Any data that must be kept has to be saved to secondary storage before the computer is switched off. If you have ever lost work because you had not saved it when the computer switched off, you have seen the effect of RAM’s volatility.

    RAM has a smaller capacity than secondary storage, but it is usually the largest part of main memory.

    Characteristics of RAM

    • It is volatile.
    • It can be read from and written to.
    • It is quicker to access than secondary storage.
    • It has the largest capacity of all main memory.

    3.1 · 13 of 28Book page Contents

    Read-only memory (ROM)

    ROM (read-only memory) usually stores the boot sequence (BIOS) of a computer. Unlike RAM, it is non-volatile: it does not lose its data when the power is switched off. The contents of ROM are set by the manufacturer and, as the name says, the computer usually only reads from it. This is a good thing, because ROM is crucial to the computer, and any change could stop it starting up properly.

    The BIOS (Basic Input/Output System) stored in ROM is a short sequence of instructions that checks that the core components of the computer (RAM, the basic input and output devices and secondary storage) are connected and working correctly.

    After that, the boot sequence loads the essential parts of the operating system from secondary storage into RAM. From then on, the operating system runs the computer, managing memory, storage and requests for input and output.

    Characteristics of ROM

    • It is non-volatile.
    • Its contents are written by the manufacturer.
    • It usually stores the BIOS (the start-up instructions).
    • It has a smaller capacity than RAM.

    3.1 · 14 of 28Book page Contents

    Comparing RAM and ROM

    RAM and ROM are both types of primary memory (main memory), but they are different in several important ways.

    RAM has a much greater capacity than ROM. RAM holds the data and instructions that are being used, such as the operating system and any programs you are running. When you put a disc into a games console, the code on the disc is not run until it has been copied from the disc into RAM, which is why you see a loading screen.

    Because ROM is read-only, it stores core instructions that do not need to change, such as the BIOS and the code that loads the operating system into RAM (called bootstrapping).

    RAMROM
    PurposeStores data and instructions during processingStores start-up instructions set by the manufacturer
    VolatilityVolatile: data is lost without powerNon-volatile: data stays when the power is switched off
    Read or writeRead and writeRead only
    CapacityUsually several gigabytesA few megabytes

    RAM and ROM are used together in many devices, not only in computers. In an embedded system such as a washing machine, a car or a television:

    • ROM stores the program (the firmware) that controls the device, such as the washing cycles, and the start-up instructions. These must not be lost when the power is switched off, and the user must not be able to change them.
    • RAM stores the data being used while the device is running, such as the settings the user has chosen, the current temperature, the time left, or the video being recorded.

    3.1 · 15 of 28Book page Contents

    SRAM and DRAM

    DRAM stands for dynamic random-access memory. It is commonly used for a computer’s main memory because it is relatively cheap to manufacture.

    A DRAM memory cell is usually made of a capacitor and a transistor. The capacitor stores a charge: whether it is charged or discharged represents a single bit. The transistor acts as a switch to set or change the value. The charge on a capacitor leaks away over time, so DRAM needs a frequent memory refresh to restore the capacitors to their original charge. This happens constantly in the background, so the user does not notice it.

    SRAM stands for static random-access memory. It uses a different type of circuit (flip-flops), which does not need to be refreshed. SRAM is generally about twice as fast to read or write as DRAM, but it is more expensive to manufacture, so it is used where speed matters most, for example for registers and cache memory.

    DRAM and SRAM are both volatile: they need a constant power supply to keep their data.

    DRAMSRAM
    Each bit is stored byA capacitor and a transistorTransistors arranged as a flip-flop
    RefreshingNeeds to be constantly refreshedDoes not need to be refreshed
    CostCheaper to manufactureMore expensive to manufacture
    CapacityHigher memory capacity than SRAMLower memory capacity than DRAM
    Access speedSlowerFaster data access time than DRAM
    Typical useMain memoryThe processor’s cache memory

    Choosing SRAM or DRAM for a device

    • Choose DRAM when a large amount of memory is needed at low cost, for example the main memory of a computer, or the 1 GB of memory that holds the print data in a 3D printer or the video in a CCTV computer. DRAM is cheaper and holds more data than the same amount of SRAM.
    • Choose SRAM when speed matters most, for example the cache memory in a laptop’s processor. SRAM has a faster access time and does not need refreshing, so no time is lost waiting for a refresh.

    3.1 · 16 of 28Book page Contents

    PROM, EPROM and EEPROM

    Most electronic devices contain ROM. As the name says, ROM is not meant to be written to. Traditional ROM circuits, called mask ROM, have their contents written during manufacture, and they cannot be changed afterwards.

    PROM (programmable read-only memory) is a type of ROM that can be written to once (only) after the circuit has been manufactured. It is often used when a device is made in small numbers, so it would not be cost-effective to write the contents during manufacture. The PROM is supplied empty, and the supplier of the device writes the data to it. This also lets the supplier write the latest version of the software without an expensive redesign of the manufacturing process. PROM is used in microcontrollers, games consoles, mobile phones and RFID tags.

    EPROM (erasable programmable read-only memory) can be changed. The memory chip is removed from the system and ultraviolet (UV) light is used to erase the data; all the contents are erased in one operation. This is a specialist job that needs special equipment and an expert operator.

    EPROM has been replaced by EEPROM (electrically erasable programmable read-only memory). Individual bytes can be erased electrically, using a voltage, and the chip can then be reprogrammed. This can be done while the chip is still inside the device, so the device’s software (its firmware) can be updated without taking it apart. EEPROM is used in smart cards and remote keyless systems. Some EEPROM chips have extra security features to stop hackers reprogramming them.

    Differences between PROM, EPROM and EEPROM

    • PROM can be written only once. EPROM and EEPROM can be erased and rewritten many times.
    • EPROM is erased using UV light, and the chip must be removed from the device. EEPROM is erased using a voltage, and it can stay in the device.
    • EPROM must be completely erased before it is rewritten. EEPROM does not have to be completely erased before it is rewritten: single bytes can be changed.

    Why EEPROM is used in an embedded system (for example a VR headset)

    • The firmware can be updated (for example to fix errors or add features) without removing the chip.
    • Only the bytes that need changing have to be erased and rewritten.
    • It is non-volatile, so the program is kept when the power is off.

    3.1 · 17 of 28Book pages Contents

    Buffers

    Whenever data is transferred from one part of a computer system to another, there is a problem if the data can be sent more quickly than it can be received. The solution is a buffer: an area of memory, usually in RAM, where data is held on its way to its destination. A buffer works as a queue, so data comes out of it in the same order that it went in.

    A printer is a good example, because a printer is much slower than the processor:

    1. The processor sends the data to be printed to the printer buffer, as fast as it can.
    2. The printer takes data from the buffer and prints it at its own, slower speed.
    3. Meanwhile the processor is free to carry on with other tasks instead of waiting for the printer.
    4. When the buffer is empty, the printer sends an interrupt to the processor to ask for more data (interrupts are explained in 4.1).

    Buffers are used in the same way with other devices:

    • Hard disk or optical disc writer: data waits in a buffer until the disk is ready to write it, so the processor does not have to wait for the slower device.
    • Speakers, streamed video and VR headsets: incoming data is stored in a buffer before it is played. The device reads from the buffer at a steady rate, so the sound or video plays smoothly without pauses, even if the data arrives unevenly.
    • A video doorbell or a 3D printer: the data (the video being recorded, or the print data) is held in a buffer until it can be transmitted, stored or printed.

    Purpose of a buffer

    • A buffer is a temporary store for data being transferred between two devices or processes that work at different speeds.
    • It lets the faster device (usually the processor) carry on with other tasks.
    • It lets the slower device take the data at its own rate, in order, without data being lost.

    3.1 · 18 of 28Book page Contents

    The magnetic hard disk

    An HDD is a hard disk drive. It is a mechanical device with many moving parts, so in theory it is more likely to fail. However, HDDs are sold as sealed units, so the disk and the mechanism are well protected from dirt and from wear and tear. Data is stored on the disk surface (a metal platter) as magnetised dots: binary data is represented by the two states "magnetised" and "not magnetised".

    To read or write, the disk must spin at high speed. The speed of rotation is a crucial factor in how fast data can be accessed: the faster the disk spins, the faster the data can be read. Standard drives spin at 5,400 or 7,200 rpm (revolutions per minute). Higher-specification drives, such as those used in servers, can spin at 15,000 rpm.

    Standard HDDs read and write at between 80 and 200 MB/s (megabytes per second). The speed depends on how the disk has been set up, the size of the file, and how fragmented the disk or file is. Fragmentation happens when there is not enough contiguous (continuous) space to store a file. A fragmented file is stored in separate places, each with a link to the next, and it is read by following the links until an end-of-file marker is reached. When a disk is nearly full, it takes longer to find space to write a file, and longer to read a file spread across several places.

    The main advantages of a magnetic hard disk are its capacity and cost: it still gives much more storage for a much lower cost per gigabyte than an SSD, although the gap is narrowing fast. Magnetic hard disks are best for desktop and laptop computers where a low purchase price matters most.

    3.1 · 19 of 28Book pages Contents

    Principal operations of a magnetic hard disk

    The disk unit has one or more metal platters with a magnetic coating. Each platter is double-sided, and the number of platters decides the total storage capacity. Binary data is stored on the platters as a series of magnetised (polarised) states, each representing 1 or 0.

    Each platter is divided into a set of concentric rings called tracks, and the tracks are divided into sectors. A contiguous group of sectors is called a cluster (also called a block or an allocation unit). This is the smallest unit of storage the file system can address, and its size depends on the size of the disk and how it was formatted.

    A disk platter drawn as many concentric circles divided by lines from the centre. A, one ring, is a track. B, a wedge from the centre, is a geometrical sector. C, the part of one track inside the wedge, is a track sector. D, a highlighted arc of neighbouring sectors on one track, is a cluster.
    A track, a geometrical sector, a track sector and a cluster

    The location of every file is recorded in a file allocation record. This lets the file be found again, and lets free space be found for new files. When the disk is fairly full, files are often split across many blocks that are not next to each other, so the record must keep track of where the parts of the file are and the order they go in. If this record is lost or corrupted, the data is still on the disk, but it cannot be accessed in a meaningful way unless the record is rebuilt.

    To read and write data, there is an arm with a read-write head for each side of each platter. The head is a tiny magnet. To reduce wear from friction, the head does not touch the platter: there is a very thin gap between the head and the disk surface. The platters spin, typically at 7,200 rpm. The head sweeps across the tracks, while the sectors pass underneath it as the disk turns. This means any block can be accessed directly, without reading through the whole disk. Magnetic tape, which disks replaced, only allows serial access.

    Photograph of an opened hard disk drive, labelled: platters, spindle, read-write head, actuator arm, actuator axis and actuator.
    Inside a hard disk drive

    Principal operations of a magnetic hard disk

    • The hard disk has one or more platters (disks).
    • Each surface of a platter (coated with iron oxide) can be magnetised.
    • The platters are mounted on a central spindle.
    • The whole mechanism is inside a sealed (aluminium) box.
    • The platters spin at high speed.
    • Each surface of a platter has a read-write head mounted on an arm, positioned just above the surface.
    • Electronic circuits control the movement of the arm, and so the heads.
    • The surface of each platter is divided into concentric tracks.
    • The surface of each platter is divided into sectors.
    • One track in one sector is the basic unit of storage, called a block.
    • The data is stored as a magnetic pattern in each block.
    • When writing, a change in the current in the head produces a change in the magnetic field on the disk.
    • When reading, a change in the magnetic field on the disk produces a change in the current in the head.

    3.1 · 20 of 28Book page Contents

    The solid-state drive (SSD)

    SSD stands for solid-state disk, though it is also called a solid-state drive or solid-state device. An SSD is an electronic device that uses flash memory, and it has no moving parts.

    SSDs have many advantages over magnetic hard disks. The main one is speed of access: a standard SSD reads and writes at about 200 to 500 MB/s, and SSDs always outperform magnetic or optical drives.

    With no moving parts, mechanical failure is far less likely, and an SSD is less likely to be damaged by everyday bumps and knocks, which makes it a better choice for portable devices. Having no moving parts also means it uses less energy, so less heat is produced.

    However, an SSD has a limited lifespan: it can only be written to a limited number of times, and memory cells can leak their charge if the device is not powered up from time to time. So SSDs are not suitable for long-term archiving of data. SSD storage is also still more expensive per gigabyte than magnetic storage.

    SSDs are usually built into a case the same shape as a magnetic disk drive, so a computer can be upgraded by swapping the drive or adding a second one. SSDs are best for files that are read or changed often: putting the operating system on an SSD makes the computer start up much faster, and frequently used programs and data can go on it too. Many computers now have both: a small SSD for the operating system and frequently used files, and a larger magnetic disk for files used less often.

    Magnetic hard disk or SSD?

    • An SSD is faster to access, more robust (no moving parts), uses less power and produces less heat, so it suits portable devices and frequently used files.
    • A magnetic hard disk is cheaper per gigabyte and is available in larger capacities, so it suits storing large amounts of data, such as video files on a CCTV computer or a server.
    • An SSD can only be written a limited number of times, so a magnetic disk lasts longer when data is written and overwritten constantly, as with video recording.

    3.1 · 21 of 28Book pages Contents

    How solid-state (flash) memory works

    A solid-state disk is made of a controller and a bank of millions of NAND flash memory cells. Flash memory can be built using NAND or NOR technology (named after the NAND and NOR logic gates); SSDs use NAND flash.

    A flash memory cell. On a silicon substrate there is a source (S) on the left and a drain (D) on the right. Above the gap between them is a stack: insulator, floating gate, insulator, control gate.
    A flash memory cell: the control gate and floating gate are separated by insulators

    Each cell has a floating gate transistor that lets an electrical charge be trapped. A cell with trapped charge represents 0, and a cell with no trapped charge represents 1. Each cell has two gates, often described in exam questions as two transistors:

    • The control gate controls whether current can pass through the cell, from the source to the drain.
    • The floating gate sits between two insulating layers, so it keeps its electrons (its charge) even when there is no power. This is why flash memory is non-volatile.

    NAND flash cells are organised into pages and blocks. A page is a group of cells (4 KiB in the diagram), and a block is a group of pages (256 KiB in the diagram).

    A grid of pink squares, each labelled 4 KiB. An arrow shows data being written into one 4 KiB page. A whole row of the grid is shown in blue, with an arrow showing data being erased as one 256 KiB block.
    Data is written in pages but erased in whole blocks

    Data is read from an SSD a page at a time. It can also be written a page at a time, as long as the cells around it are empty. A file cannot be updated where it is: the block containing its pages must be copied to main memory and updated, then written to a new area of the disk, and the original block is erased.

    SSDs become slower as they fill up. A new, empty drive is full of pages that can be written to straight away. When the disk is nearly full, writing and updating become slow, because existing pages in a block have to be copied out and rewritten.

    Photograph of the inside of an SSD: a green circuit board with a cache chip, a controller chip and many NAND flash memory chips.
    Inside an SSD: cache, controller and NAND flash memory

    3.1 · 22 of 28Book page Contents

    Optical discs

    Optical discs are a large family of disc types. The most common are the CD (compact disc), the DVD (digital versatile disc) and the Blu-ray Disc. For optical storage the word is usually spelt "disc", unlike other types of disk storage.

    • CD-ROM and DVD-ROM: ROM means read-only memory. These discs are usually mass-produced to distribute music and films. Each one is pressed from a mould (mastered) in one operation, so tens of thousands of copies can be made in a day. They were used to deliver application software, because they are light, easy to carry and take up little space, but now software is usually distributed over the internet.
    • CD-R and DVD-R: R means recordable. These discs are also described as WORM (write once, read many). They were popular for archiving data, such as photos. Archiving means making a permanent copy, so it needs a storage medium that cannot be overwritten.
    • CD-RW and DVD-RW: RW means rewritable. These discs were popular for backing up files. Backing up means making a temporary copy, so it needs a storage medium that can be overwritten later. Today, most systems are backed up to high-speed digital tape or to cloud storage.

    3.1 · 23 of 28Book page Contents

    Optical disc speed and lifespan

    The speed rating of an optical disc is given as a multiple of a base speed, written as 1×. For CDs, the base is the speed needed to play a music (audio) CD. For DVDs, it is the speed needed to play a film.

    The actual speed of reading or writing depends on two things: the speed rating of the disc and the speed rating of the drive. If a disc is rated 16× but the drive is rated 8×, the lower of the two is used. The same applies to writing.

    FormatRatingTransfer rate
    CD1×150 KB/s
    DVD1×1.3 MB/s
    Blu-ray Disc1×36 Mbit/s (4.5 MB/s)

    CD-ROMs and DVD-ROMs are fairly robust, but they can be scratched if the surface is not protected. Heat can make the polycarbonate or metal layers of any disc warp. Discs with a layer of chemical dye can be damaged by light: long exposure to sunlight damages the dye, making it more likely that data is misread, and any chemical layer breaks down over time.

    The biggest problem with optical discs is finding a drive to read them. Most computers no longer come with an optical drive, and they are disappearing from music players and cars. Valuable data on a CD or DVD should be copied to cloud storage.

    3.1 · 24 of 28Book page Contents

    How an optical disc reader/writer works

    An optical disc is made of several layers, depending on the type of disc. The base is usually polycarbonate, which gives the disc its structure, and there is always a thin reflective layer of aluminium. Recordable (R) and rewritable (RW) discs also have a layer of chemical dye on top of the reflective layer.

    Each disc has one continuous track of data arranged in a spiral (not a set of concentric tracks like a hard disk). Data is stored as pits (troughs) and lands (peaks) in the surface of the disc.

    Reading an optical disc

    • A laser beam is used, and the data is read serially.
    • The disc spins at varying speeds depending on the data being read: faster nearer the centre.
    • The laser light shines on the surface of the disc and reflects off the aluminium layer.
    • The reflected light hits an optoelectronic device (a light sensor) that detects changes in the light.
    • The pits and lands reflect different amounts of light, and the electronics in the drive turn these changes into data bits.

    Writing to an optical disc

    • To write to a recordable (R) or rewritable (RW) disc, the laser is used at a higher intensity than for reading.
    • The laser burns tiny dots into the chemical dye layer, changing the amount of light it reflects. This makes a readable surface that represents binary values.
    • On a rewritable (RW) disc, the dye allows the burning to be reversed, so the data can be erased and the disc written again.

    3.1 · 25 of 28Book page Contents

    Embedded systems

    What is an embedded system

    • A microprocessor or microcontroller inside a larger system, which performs one specific task.
    • Example: the embedded system in a washing machine only controls the washing cycles. It is part of the washing machine, and does not do any other job.

    An embedded system still needs a processor, memory and input/output. If these are all built on one chip, it is called a microcontroller. In some systems the input and output are only connected to the internal workings of the host device. In others, for example a monitoring or control system, the input comes from within the system but some output is given to the user. An embedded system can also have a full user interface, as in a mobile phone.

    The major advantage of embedded systems is that they are special-purpose, perhaps doing only a single task. That task is likely to be needed in many different products, so embedded systems are mass-produced, which brings economies of scale: the more are made, the cheaper each one becomes.

    In the early years, embedded systems were difficult to program because there was little memory to store the program, so programs had to be short. Also, if errors were found after the system was installed, new chips had to be made to replace the faulty ones.

    These problems are less likely in modern systems, but a new problem has appeared. Embedded systems are now part of the Internet of Things: more and more of them have a network connection. This can make a product much more useful, for example by sending information and updates to the owner. But being reachable over a network is a security concern, because embedded systems are less likely to be protected against attack than general-purpose computers.

    Benefits of embedded systems

    • They are dedicated to one task, so they can be small, cheap and reliable.
    • They are mass-produced, so each one is cheap.
    • They use little power.
    • They respond quickly, because they only have one job to do.

    Drawbacks of embedded systems

    • They are difficult to program, and errors are hard to fix or update after installation.
    • The owner usually cannot change or upgrade the software, or add new tasks.
    • If they are connected to a network (the Internet of Things), they can be hacked, because they are less well protected than general-purpose computers.
    • If the system fails, it may be cheaper to replace the whole device than to repair it.

    3.1 · 26 of 28Contents

    Monitoring and control systems

    Many embedded systems use sensors to measure the physical world. They are either monitoring systems or control systems.

    A monitoring system uses sensors to measure physical quantities, such as temperature or movement. The processor records and analyses the readings, and may display them or give a warning (for example sound an alarm or show a sign) when a reading is outside its set limits. A monitoring system does not change the conditions it is measuring. Examples: a burglar alarm, a health monitor that reads a person’s heart rate, a video doorbell that records visitors, a warning sign that tells an overweight or over-height vehicle to stop before a bridge.

    A control system also uses sensors, but the processor then uses actuators to change the physical conditions, to bring them back to (or keep them at) the required values. The output of the system affects its next input, which is called feedback. Examples: a refrigerator that switches the cooling on and off to keep the temperature between 4 °C and 6 °C, automatic doors that open when a person is near, a car that brakes automatically when an object in front is too close.

    1. A sensor measures a physical quantity and sends an analogue signal.
    2. An analogue-to-digital converter (ADC) turns the reading into digital data the processor can use.
    3. The processor compares the reading with the stored set value or range.
    4. Monitoring system: the processor records or displays the data, and gives a warning if the reading is outside the range. Control system: if the reading is outside the range, the processor sends a signal to an actuator to change the conditions (for example switch a heater, a motor or a valve on or off).
    5. The cycle repeats continuously.

    Monitoring or control?

    • A monitoring system measures and records (and may warn), but its output does not change the conditions being measured.
    • A control system uses actuators to change the conditions being measured, so its outputs affect its inputs (feedback).
    • In an exam, justify your choice: say whether the system uses an actuator to change something physical, or only records, displays or warns.

    3.1 · 27 of 28Contents

    Sensors and actuators

    A sensor is an input device that measures a physical quantity and sends the reading to the processor. Most sensors produce an analogue signal, which is converted to digital before the processor uses it. Common sensors include:

    SensorWhat it detectsExample uses
    TemperatureHow hot or cold something isRefrigerator, central heating, the nozzle of a 3D printer (to keep the plastic at melting point)
    PressureForce or weight pressing on itWeighing a vehicle on a bridge, detecting an item lifted from a shelf, a person sitting in a car seat
    Infra-redInfra-red light (heat), or a beam of infra-red being brokenDetecting a person moving, counting items passing on a conveyor belt, a vehicle too tall for a bridge breaking a beam
    SoundNoise levelDetecting breaking glass in an alarm system
    LightLight levelSwitching on a floodlight when daylight falls below a set level, counting items that break a light beam
    Ultrasonic or proximityDistance to an objectAutomatic braking, a robot avoiding obstacles, automatic doors
    Motion (accelerometer, gyroscope)Movement and directionA VR headset tracking head movement

    An actuator is an output device that turns a signal from the processor into physical movement or action, such as a motor, a valve, a pump, a heater or a switch. For example, in a factory, when a sensor shows that a chocolate bar has the wrong weight, the processor sends a signal to an actuator, which moves an arm to push the bar off the conveyor belt.

    Answering a sensor question

    • Name a sensor that really measures the quantity in the scenario (for example pressure for weight, infra-red for a person moving).
    • Say how it is used: what it measures, and what the processor does with the reading.

    3.1 · 28 of 28Contents

    Feedback in control systems

    Feedback is when the output of a control system affects its next input. After the processor tells an actuator to act, the sensors keep measuring, so the processor can see the effect of what it did and adjust its next output.

    For example, a refrigerator’s temperature sensor reads 7 °C, which is too high, so the processor switches the cooling on. The sensor keeps reading the temperature as it falls. When it reaches 4 °C, the processor switches the cooling off. Without feedback, the processor would not know when to stop.

    Importance of feedback in a control system

    • The output of the system affects the next input, so the processor can check whether its action has worked.
    • It lets the system adjust its output automatically, to keep conditions within the set range.
    • It lets the system respond to changes in conditions straight away, making it stable and accurate.

    3.1

    Concepts in 3.1

    Every idea explained in 3.1, and where else in the notes it is used.

    ConceptIn one lineAlso used in
    3D printerA device that builds a solid object layer by layer from a 3D design.3.1 Output devices, 3.1 SRAM and DRAM, 3.1 Buffers, 3.1 Sensors and actuators
    actuatorAn output device, such as a motor or valve, that turns a signal into physical movement.3.1 Monitoring and control systems, 3.1 Feedback in control systems, 3.2 A logic expression from a problem statement, 4.3 Logical bitwise operations, 4.3 Monitoring and controlling a device
    additive manufacturingMaking an object by adding one layer on top of another, as a 3D printer does.only here
    BIOSStart-up instructions in ROM that check the core components and start loading the operating system.3.1 Comparing RAM and ROM
    boot sequenceThe start-up process that checks the hardware and loads the operating system into RAM.3.1 Comparing RAM and ROM
    bufferA temporary store, working as a queue, for data moving between devices that work at different speeds.3.1 How a laser printer works, 4.1 Hardware and software interrupts, 4.1 Interrupt service routines (ISR)
    capacitive touchscreenA touchscreen that detects the change in charge when a finger touches it.3.1 How touchscreens work
    CD-R and DVD-RRecordable optical discs that can be written once and read many times.only here
    CD-ROM and DVD-ROMOptical discs pressed with data during manufacture, which can only be read.3.1 Optical disc speed and lifespan
    CD-RW and DVD-RWRewritable optical discs that can be erased and written again.only here
    computer-aided design (CAD)Software used to design objects, such as a 3D model for printing.only here
    control gateThe gate in a flash cell that controls whether current passes through it.only here
    control systemA system that uses sensors and actuators to change or keep physical conditions, using feedback.3.1 Embedded systems, 3.1 Feedback in control systems, 4.3 Logical bitwise operations, 4.3 AND: checking and clearing bits, 4.3 Monitoring and controlling a device
    diaphragmThe flexible part of a microphone that vibrates when sound reaches it.3.1 How a speaker works
    dots per inch (dpi)A printer’s resolution: the number of dots it prints in each inch.1.2 Screen resolution
    dynamic RAM (DRAM)RAM that stores each bit with a capacitor and transistor and must be refreshed; cheap, used for main memory.only here
    EEPROMROM whose bytes can be erased with a voltage and rewritten, without removing it from the device.only here
    embedded systemA microprocessor or microcontroller inside a larger device, performing one specific task.3.1 Comparing RAM and ROM, 3.1 PROM, EPROM and EEPROM, 3.1 Monitoring and control systems
    EPROMROM that is erased all at once with UV light (after removal) and can be rewritten.only here
    feedbackWhen a control system’s output affects its next input, so it can adjust what it does.3.1 Monitoring and control systems
    file allocation recordA record of where each file, and each part of it, is stored on a disk.only here
    firmwareThe program stored in a device’s ROM that controls the device.3.1 PROM, EPROM and EEPROM
    flash memoryNon-volatile memory that stores bits as charge trapped in floating gate transistors.3.1 The solid-state drive (SSD), 5.1 Backup software
    floating gateThe gate in a flash cell, between insulators, that keeps its charge without power.only here
    fragmentationWhen a file is stored in separate, non-contiguous parts of a disk, linked together.5.1 Disk defragmenter
    input deviceA peripheral used to get data and control signals into a computer.3.1 Why a computer needs input, output and storage, 3.1 How touchscreens work, 3.1 Sensors and actuators, 4.1 Buses and the system bus, 5.1 Device drivers, 5.1 User interfaces: CLI and GUI
    Internet of ThingsEveryday devices with embedded systems that are connected to a network.only here
    laser printerA printer that uses a laser, a charged drum and toner, fixed to paper by a fuser.3.1 Output devices
    magnetic hard diskSecondary storage that stores data magnetically on spinning platters.3.1 Principal operations of a magnetic hard disk, 3.1 The solid-state drive (SSD), 4.1 Address bus width and the amount of RAM
    mask ROMROM whose contents are written during manufacture and cannot be changed.only here
    memory refreshRestoring the leaking charge in DRAM capacitors, again and again in the background.only here
    microcontrollerA processor, memory and input/output built on a single chip.3.1 PROM, EPROM and EEPROM
    microphoneAn input device whose diaphragm vibrates with sound to produce an electrical signal.1.2 Sound waves and analogue data, 1.2 Sampling: turning sound into digital data, 3.1 Input devices, 3.1 How a speaker works
    monitoring systemA system that uses sensors to measure and record, and may warn, without changing the conditions.only here
    non-volatile memoryMemory or storage that keeps its contents when the power is switched off.3.1 Why a computer needs input, output and storage, 3.1 Comparing RAM and ROM, 3.1 PROM, EPROM and EEPROM, 3.1 How solid-state (flash) memory works, 5.1 Memory management, 5.1 File management
    optical discA disc (CD, DVD or Blu-ray) read and written with a laser.3.1 Why a computer needs input, output and storage, 3.1 Buffers, 3.1 Optical disc speed and lifespan, 3.1 How an optical disc reader/writer works
    output deviceA peripheral that reproduces or displays data and information from a computer.3.1 Why a computer needs input, output and storage, 3.1 Input devices, 3.1 Read-only memory (ROM), 3.1 Sensors and actuators, 4.1 Buses and the system bus, 5.1 Why a computer needs an operating system, 5.1 Device drivers
    peripheralAn input, output or storage device that is not part of the processor.3.1 Input devices, 3.1 Output devices, 4.1 Buses and the system bus, 5.1 Why a computer needs an operating system
    pits and landsThe troughs and peaks on an optical disc that reflect different amounts of laser light.only here
    platterA spinning metal disk with a magnetic coating on both sides, inside a hard disk drive.3.1 Principal operations of a magnetic hard disk
    primary memoryMemory the processor accesses directly (RAM and ROM), holding programs and data in use.3.1 Random access memory (RAM), 3.1 Comparing RAM and ROM, 3.1 SRAM and DRAM, 3.1 How solid-state (flash) memory works, 4.1 Computer architecture and the Von Neumann model, 4.1 The Control Unit (CU), 4.1 Immediate Access Store (IAS), 4.1 Registers: general-purpose and special-purpose, 4.1 The special-purpose registers, 4.1 Buses and the system bus, 4.1 The data bus, 4.1 The address bus, 4.1 The fetch-decode-execute cycle, 4.1 The fetch stage, 4.1 The decode stage, 4.1 The execute stage, 4.1 Cache memory, 4.1 Data bus width, 4.1 Address bus width and the amount of RAM, 4.2 Low-level languages and instruction sets, 4.2 Assembly language and machine code, 5.1 Why a computer needs an operating system, 5.1 Process management, 5.1 Memory management, 5.1 File management, 5.1 Dynamic link libraries (DLLs)
    PROMROM that can be written once only, after manufacture.only here
    random access memory (RAM)Volatile main memory that holds the data and instructions currently being processed.3.1 Why a computer needs input, output and storage, 3.1 Read-only memory (ROM), 3.1 Comparing RAM and ROM, 3.1 Buffers, 4.1 Immediate Access Store (IAS), 4.1 The fetch-decode-execute cycle, 4.1 Cache memory, 4.1 Address bus width and the amount of RAM, 5.1 Memory management, 5.1 User interfaces: CLI and GUI
    read-only memory (ROM)Non-volatile main memory, written by the manufacturer, that usually holds the start-up instructions.3.1 Why a computer needs input, output and storage, 3.1 Comparing RAM and ROM, 3.1 PROM, EPROM and EEPROM, 3.1 Optical discs
    read-write headThe part on an arm that reads and writes the magnetic data on a disk surface.3.1 Random access memory (RAM)
    removable storageSecondary storage that can be taken out, such as a USB flash drive or optical disc.only here
    resistive touchscreenA touchscreen where pressure makes two layers touch, completing a circuit.3.1 How touchscreens work
    secondary storageNon-volatile storage that keeps programs and files when the power is off.3.1 Random access memory (RAM), 3.1 Read-only memory (ROM), 4.1 Buses and the system bus, 4.1 The fetch-decode-execute cycle, 4.1 Address bus width and the amount of RAM, 5.1 Why a computer needs an operating system, 5.1 Process management, 5.1 File management, 5.1 User interfaces: CLI and GUI
    sectorA part of a track; the disk surface is divided into tracks and sectors.5.1 Disk defragmenter
    sensorAn input device that measures a physical quantity such as temperature, pressure or light.1.2 Bitmap images and pixels, 1.2 Bitmap file formats and how bitmaps are made, 3.1 Why a computer needs input, output and storage, 3.1 Input devices, 3.1 Capacitive touchscreens, 3.1 How a virtual reality headset works, 3.1 How an optical disc reader/writer works, 3.1 Monitoring and control systems, 3.1 Feedback in control systems, 3.2 A simple logic circuit, 3.2 The circuit’s truth table and logic expression, 3.2 A logic expression from a problem statement, 4.3 Logical bitwise operations, 4.3 Monitoring and controlling a device
    solid-state drive (SSD)Secondary storage that uses flash memory and has no moving parts.3.1 The magnetic hard disk, 3.1 How solid-state (flash) memory works, 4.1 Address bus width and the amount of RAM
    speakerAn output device where a varying current makes a coil and cone vibrate to produce sound.1.2 Sound waves and analogue data, 1.2 Sampling: turning sound into digital data, 3.1 Why a computer needs input, output and storage, 3.1 Output devices, 3.1 How a virtual reality headset works, 3.1 Buffers
    static RAM (SRAM)RAM that stores each bit in a flip-flop, needs no refresh and is faster; used for cache.only here
    tonerThe powdered ink used by a laser printer.3.1 Output devices
    touchscreenA display screen that is also an input device, detecting where it is touched.3.1 Why a computer needs input, output and storage, 3.1 Input devices, 5.1 User interfaces: CLI and GUI
    trackOne of the rings into which a disk surface is divided.3.1 How an optical disc reader/writer works
    virtual reality headsetA headset with screens, lenses, sensors and speakers that makes the user feel inside a 3D scene.3.1 PROM, EPROM and EEPROM, 3.1 Buffers, 3.1 Sensors and actuators
    volatile memoryMemory that loses its contents when the power is switched off.3.1 Why a computer needs input, output and storage, 3.1 Comparing RAM and ROM, 3.1 SRAM and DRAM

    When you want more than reading

    The notes are the front door. The class is where it clicks.

    Join a class →Ask on WhatsApp