Computers and their components

Computer Science AS · Hardware. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Computer Science AS topics

The idea

A computer needs input devices, output devices, primary memory that the processor reaches directly, and secondary storage that keeps data when the power is off. An embedded system is a small computer built into a larger device to do one fixed task, such as the controller in a washing machine.

Primary memory is RAM and ROM. RAM is volatile: it loses its contents without power. ROM is non-volatile. RAM comes as static (SRAM) or dynamic (DRAM), and ROM chips differ in whether and how they can be reprogrammed.

Computers also watch and manage the outside world. Sensors supply readings; in a control system the computer acts on them through an actuator.

Rules to remember

Common mistake

Students mix up SRAM and DRAM. Dynamic RAM is the one that must be refreshed, and the refreshing makes it slower, so the faster SRAM is used for cache.

Worked example

The program in a car's engine controller must stay when the power is off. A garage must be able to update it without removing the chip. Which type of memory is suitable?

  1. The program must survive without power, so RAM is not suitable; a type of ROM is needed.
  2. PROM can be programmed only once, so it cannot be updated.
  3. EPROM needs ultraviolet light, so the chip would have to be taken out.
  4. EEPROM is erased and rewritten electrically while it stays in the circuit.

Answer: EEPROM.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Keep going

← Network hardware and the internetLogic gates and logic circuits →Take a Computer Science AS test