A1Arena Open the app

Hardware, the System Unit and Storage

Computer Studies · WAEC and JAMB · SS2 and SS3

Hardware questions are the most concrete on the paper and therefore the easiest to score full marks on, provided you classify each device correctly. The two areas that cost candidates marks are the parts of the CPU and the difference between RAM and ROM.

What you need to know

  • Hardware is the collection of physical, tangible components of a computer, the parts you can see and touch. Anything that holds instructions rather than circuitry is software, not hardware.
  • Input devices send data into the computer. Learn these with their specific uses: keyboard for text and commands; mouse, trackball and touchpad for pointing; scanner for turning a printed page into a digital image; microphone for sound; digital camera and webcam for images; joystick for games and simulation; light pen and stylus for drawing directly on a screen; and touch screen, which is both input and output.
  • Specialised readers matter in Nigeria and are frequently examined. OMR, the optical mark reader, reads shaded boxes on answer sheets, which is how multiple choice examinations are marked. OCR, optical character recognition, converts printed or typed characters in a scanned image into editable text. MICR, magnetic ink character recognition, reads the magnetic numbers at the foot of a bank cheque. A barcode reader reads the striped product code at a supermarket till, and a biometric scanner reads a fingerprint or iris, as used for BVN, NIN and INEC accreditation.
  • Output devices present results. A monitor or visual display unit gives soft copy; its size is measured diagonally in inches and its sharpness in pixels. A printer gives hard copy. A plotter draws large engineering and architectural diagrams. Speakers and headphones give sound, and a projector throws the display onto a screen.
  • Printers divide into impact and non-impact. An impact printer strikes an inked ribbon against the paper, so it is noisy, slower and lower in quality but can produce carbon copies; the dot matrix and the line printer are examples. A non-impact printer does not strike the paper, so it is quiet and of higher quality; the inkjet, laser and thermal printers are examples. Bank and payroll offices still keep dot matrix printers precisely because of the carbon copy.
  • The system unit is the casing that houses the main electronics. Inside it are the motherboard or system board, the processor and its cooling fan, the memory modules, the power supply unit, the drive bays, the expansion slots and the ports that external devices plug into.
  • The central processing unit is the brain. It has two working sections plus storage: the control unit, which fetches each instruction, decodes it, and directs all other parts in the right order; and the arithmetic and logic unit, which performs addition, subtraction, multiplication and division and makes comparisons such as greater than, less than and equal to. Registers inside the CPU hold the data being worked on at that instant.
  • The machine cycle is fetch, decode, execute and store. Clock speed, measured in megahertz or gigahertz, tells how many cycles the processor completes per second, so a 3.2 GHz processor runs about 3.2 billion cycles each second. The buses that carry signals are the data bus, the address bus and the control bus.
  • Primary memory sits inside or beside the processor and is directly accessible to it. RAM, random access memory, is read and write, holds the program and data currently in use, and is volatile, meaning everything in it is lost the moment power goes off. ROM, read only memory, is non-volatile, holds the permanent start-up instructions written by the manufacturer, and cannot normally be altered by the user. Variants of ROM are PROM, EPROM and EEPROM.
  • Cache memory is a small, very fast memory between the processor and RAM that holds the data most recently or most frequently used, so the processor does not have to wait for slower RAM. The hierarchy from fastest and smallest to slowest and largest is registers, cache, RAM, then secondary storage.
  • Secondary storage holds data permanently and is not directly accessed by the processor. The common media are the hard disk drive, the solid state drive, the flash or pen drive, the memory card, the CD, the DVD, the Blu-ray disc and magnetic tape, which is still used for bulk backup because of its low cost per gigabyte.
  • Capacities worth knowing by heart: a 3.5 inch floppy disk held 1.44 MB, a CD holds about 700 MB, a single layer DVD holds 4.7 GB and a single layer Blu-ray disc holds 25 GB. Modern hard disks and solid state drives run from hundreds of gigabytes into terabytes.
  • Storage access is either sequential, where the medium must be read from the beginning until the required record is reached, as with magnetic tape, or direct and random, where any location can be reached straight away, as with a disk or flash drive. That distinction explains why tape is cheap for backup but useless for day-to-day work.
  • A peripheral is any device attached to but outside the system unit. The common ports that connect them are USB for most devices, HDMI and VGA for displays, RJ45 for a network cable and the 3.5 mm jack for audio. In Nigeria an uninterruptible power supply and a voltage stabiliser should be treated as part of the installation, because unstable mains supply damages power units and corrupts disks.

Key terms

Hardware
The physical, tangible components of a computer system, including input, output, processing and storage devices.
Peripheral device
Any device connected to the computer but located outside the system unit, such as a printer, scanner or external drive.
Control unit
The part of the CPU that fetches and decodes instructions and directs the operation of all other units of the computer.
Arithmetic and logic unit
The part of the CPU that carries out arithmetic operations and logical comparisons on data.
RAM
Random access memory: volatile read and write primary memory that holds the programs and data in current use and loses its contents when power is removed.
ROM
Read only memory: non-volatile primary memory holding permanent manufacturer instructions, such as the start-up routine, which the user cannot normally change.
Backing store
Secondary storage used to keep programs and data permanently outside main memory, such as a hard disk, flash drive or optical disc.

Formulae

  • 1 nibble = 4 bits; 1 byte = 8 bits
  • 1 kilobyte (KB) = 1024 bytes; 1 megabyte (MB) = 1024 KB; 1 gigabyte (GB) = 1024 MB; 1 terabyte (TB) = 1024 GB
  • 1 KB = 2^10 bytes, 1 MB = 2^20 bytes, 1 GB = 2^30 bytes = 1,073,741,824 bytes
  • Number of files that fit on a disk = total capacity / size of one file (convert both to the same unit first)

Worked examples

A flash drive has a capacity of 4 GB. How many photographs of 2 MB each can it hold, and express its capacity in bytes. (5 marks)

  1. Convert the capacity to megabytes so that both figures are in the same unit: 4 GB = 4 x 1024 MB = 4096 MB.
  2. Divide by the size of one photograph: 4096 / 2 = 2048 photographs.
  3. For the capacity in bytes, use 1 GB = 1024 x 1024 x 1024 bytes = 1,073,741,824 bytes.
  4. Multiply by 4: 4 x 1,073,741,824 = 4,294,967,296 bytes.

State four differences between RAM and ROM. (8 marks)

  1. Compare them on the same four grounds rather than describing each separately, because the examiner wants paired differences.
  2. Use volatility, read and write ability, contents, and who writes to it.
  3. Set them out as RAM does X while ROM does Y so each pair reads as one difference.

The mistake to avoid

Candidates list the monitor as an input device because you look at it, and list the printer as a storage device because it produces something you keep. A monitor is output, a printer is output, and a touch screen is the only common device that is both input and output. The second standing error is naming the memory unit as the third part of the CPU and then describing secondary storage; the CPU parts are the control unit and the arithmetic and logic unit, with registers as its immediate storage.

In the exam

Classification questions arrive as a list of mixed devices to sort into input, output and storage. Work through the list one device at a time and ask whether data is going in, coming out, or being kept. Where a question asks you to compare two items, always answer in matched pairs on the same criteria, because an examiner marking differences looks for the pairing.