Computer Components

The different components (parts) of a computer, and the role each one plays in a computer system.

Key words (14)

motherboard, BUS network, CPU, memory, RAM, volatile, non-volatile, ROM, graphics card, sound card, storage, input, output, peripheral.

Lesson Objectives

What are computer components?

This lesson discusses the following system hardware:

  • Motherboard
  • Central Processing Unit (CPU)
  • Primary storage - internal memory (RAM and ROM)
  • Secondary storage - permanent storage like hard disk drives
  • Graphics card
  • Sound card
  • Network interface card (NIC)
  • Peripheral devices

Computer hardware

Motherboard
Motherboard
Motherboard
Motherboard
Central Processing Unit
Central Processing Unit
Random Access Memory
Random Access Memory
Read Only Memory
Read Only Memory
Secondary storage
Secondary storage
Graphics card
Graphics card
Sound card
Sound card
Peripherals
Peripherals

Features of internal computer hardware

Computer Components: Features of internal computer hardware

Internal computer components exist inside the computer system.

Some are referred to as essential hardware.

A motherboard is essential hardware. The computer won’t work at all without it. It can be damaged easily and exists inside a system case which protects it.

Computer Components: Features of internal computer hardware

1. Motherboard

The motherboard is central to any computer system.

All components plug into the motherboard either directly (straight into the circuit board) or indirectly via ports (for example, USB).

Components communicate with each other via the System BUS.

  • The BUS is a circuit of wires that connects the CPU to other hardware components.
  • The CPU sends signals along the wires to other hardware components. The BUS allows system hardware to ‘talk’ to each other.

Motherboard - Labelled image

A motherboard with slots for components and ports for peripherals.

Some components plug in directly to the board and some indirectly through external ports.

Computer Components: Motherboard - Labelled image

Example of a system BUS

The wires on a motherboard that form the System BUS. ‘BUS’ comes from the Latin word ‘Omnibus’, which means ‘for all’. The BUS connects everything in a computer system together.
The wires on a motherboard that form the System BUS. ‘BUS’ comes from the Latin word ‘Omnibus’, which means ‘for all’. The BUS connects everything in a computer system together.
The BUS allows the CPU to communicate data and instructions to other system hardware
The BUS allows the CPU to communicate data and instructions to other system hardware

2. Central Processing Unit (CPU)

A Central Processing Unit. The gold pins connect it to the motherboard
A Central Processing Unit. The gold pins connect it to the motherboard

The CPU (also known as a microprocessor) is the brain of the computer. It is involved in everything we do on a computer. For example:

  • Performing system tasks and arithmetic calculations - such as executing programs.
  • Executes programs - the CPU carries out instructions found in computer programs
  • Inputs/Outputs - the CPU accepts inputs into the computer and makes sure that information is output from the computer correctly
  • Data processing - turning data into useful information which is then output.
  • Controlling data flow - handles movement of data in/out of system memory.

CPU - Images

A Central Processing Unit. The gold pins connect it to the motherboard
A Central Processing Unit. The gold pins connect it to the motherboard
Installing a CPU on a motherboard
Installing a CPU on a motherboard
CPUs get very hot and need fans to cool them down
CPUs get very hot and need fans to cool them down

Examples of CPU functions

The CPU processes binary data into characters that we can understand
The CPU processes binary data into characters that we can understand
The CPU calculates which pixels to light up in order to produce the correct image
The CPU calculates which pixels to light up in order to produce the correct image

Central Processing Unit speeds

The speed at which CPUs can execute instructions is known as clock rate.

Clock rates are measured in hertz (Hz) and indicate how many cycles per second the CPU can perform. It is like a heartbeat for a computer:

Examples of clock rates:

  • Megahertz (MHz) - older CPUs perform millions of cycles per second
    • 4 MHz CPU performs about 4 million (4,000,000) cycles per second.
  • Gigahertz (GHz) - billions of cycles per second
    • 4 GHz CPU performs about 4 billion (4,000,000,000) cycles per second.

Generally, the higher the clock rate of a CPU, the faster the computer:

Cycles and Instructions Per Second

A CPU's Hertz speed is linked to the number of Instructions Per Second (IPS) it can perform.

Instructions Per Second = Hertz x Instructions Per Cycle (IPC):

  • Single-core CPUs - can carry out 1 Instruction Per Cycle
  • Multi-core CPUs - can carry out multiple Instructions Per Cycle.

A 4 GHz single-core CPU will perform 4 billion IPS:

  • 4,000,000,000 Hz x 1 IPC = 4,000,000,000 IPS

A 4 GHz 4-core CPU will perform 16 billion IPS:

  • 4,000,000,000 Hz x 4 IPC = 16,000,000,000 IPS

Single-Core and Multi-Core CPUs

Single-core CPUs can carry out 1 Instruction Per Cycle. A 4-core CPU can carry out more Instructions Per Cycle
Single-core CPUs can carry out 1 Instruction Per Cycle. A 4-core CPU can carry out more Instructions Per Cycle

Comparing CPU speeds

Computer Components: Comparing CPU speeds

Faster CPUs can execute more instructions per second than slower CPUs.

This results in better performing computers that can run the latest software such as image editors and games.

3. Internal / Primary Memory (RAM and ROM)

RAM
RAM

Two types of internal memory - RAM and ROM.

RAM and ROM are used to store computer data which needs to be directly accessed by the CPU.

RAM and ROM are sometimes also called primary memory.

RAM (Random Access Memory):

  • Stores data temporarily that needs to change.

ROM (Read Only Memory):

  • Stores data permanently and cannot be changed.
RAM
RAM
ROM
ROM

3a. Random Access Memory (RAM)

Features of RAM:

  • RAM is used to temporarily store information that is currently in use by the computer. This can include anything from applications to key presses
  • Data and applications are loaded into RAM and are then processed by the CPU
  • RAM is read/write memory which means it can be read and also changed. Data stored in RAM can change a lot, depending on what you are using the computer for
  • RAM is very fast memory. Data can be accessed from RAM very quickly
  • Modern RAM can store gigabytes (GB) of data. The more RAM you have installed, the more programs you can use without slowing the computer down
  • RAM is volatile memory. This means that RAM will store data so long as it is supplied with electricity. Without electricity, all contents of RAM are erased.

RAM - Images

A pair of RAM sticks
A pair of RAM sticks
RAM sticks plugged into a motherboard
RAM sticks plugged into a motherboard

Example of volatile RAM

Computer Components: Example of volatile RAM

RAM is volatile memory which means that it needs electricity in order to hold data. If the device is switched off, RAM will delete its contents and any unsaved documents are lost. A restart can make a computer seem faster because it clears RAM of programs that are no longer needed.

3b. Read Only Memory (ROM)

Features of ROM:

  • ROM is used to permanently store instructions that tell the computer how to boot (start-up). It also loads the operating system (e.g. Windows)
  • These instructions are sometimes called the boot program.
  • Information stored in ROM is read only. This means that the contents of ROM cannot be altered or deleted by the user
  • ROM is fast memory. Data stored in ROM can be accessed and read quickly (but not as quickly as RAM).
  • ROM is non-volatile memory. ROM does not need electricity to hold data and stored information is not deleted when the computer is powered off.

ROM - Images

A ROM chip on a motherboard
A ROM chip on a motherboard
Part of a boot program stored in ROM
Part of a boot program stored in ROM

Other uses of ROM

Read Only Memory is also used in:

  • Blu-ray and CD/DVD ROMs - bought in stores and contain pre-recorded games, music and movie files. These are played back at home but cannot be altered
  • Printers - ROM is used in printers to store different font types. These fonts cannot be changed.
Store-bought movies and games are distributed on CD/DVD ROMs
Store-bought movies and games are distributed on CD/DVD ROMs
Printers use ROM to store fonts
Printers use ROM to store fonts

RAM and ROM - Quick summary

RAMROM
Contents are lost when the computer is turned off.✓
Contents are not lost when the computer is turned off.✓
Stores instructions that tell the computer how to start up.✓
Stores data and programs currently in use (temporarily).✓
Your computer will perform faster with more of this.✓
Stored data can be read/written very fast✓
Stored data can be read slightly slower✓
This can be written to (altered) and read from.✓
This cannot be written to (altered); it can only be read.✓

4. Graphics card

A graphics card with output port to send an image signal to the computer monitor. You can also see a cooling fan. The card has been plugged into the motherboard.
A graphics card with output port to send an image signal to the computer monitor. You can also see a cooling fan. The card has been plugged into the motherboard.

Graphics cards are hardware devices that plug into the motherboard and enable the computer to display (output) images on the monitor.

Graphics cards usually require the installation of software alongside the hardware:

Higher-end graphics cards use their own Graphics Processing Units (GPUs) to carry out calculations that are required to produce a display:

  • GPUs are similar to CPUs but only carry out graphical tasks
  • This frees up the CPU to concentrate on other tasks for the system.

Graphics card - Images

A graphics card with output port to send an image signal to the computer monitor. You can also see a cooling fan. The card has been plugged into the motherboard.
A graphics card with output port to send an image signal to the computer monitor. You can also see a cooling fan. The card has been plugged into the motherboard.
Software allows us to alter graphics settings such as brightness and contrast.
Software allows us to alter graphics settings such as brightness and contrast.

Connecting a graphics card to a computer screen

The output port on the graphics card is connected to a computer screen via a cable.

Images generated by the graphics card are sent down the cable and shown to us on the screen.

Different display ports on the back of a computer
Different display ports on the back of a computer
Computer Components: Connecting a graphics card to a computer screen
Computer Components: Connecting a graphics card to a computer screen

5. Sound card

A sound card with different ports.
A sound card with different ports.

Sound cards are internal hardware that plug into the motherboard.

A sound card's main function is to allow the computer system to input and output sound:

Sound cards convert between analogue data and digital data:

  • Computers can only store digital sounds but our ears can only hear analogue sounds:
  • Sound input by a microphone must be converted to digital
  • Sound being output by speakers must be converted to analogue.

Sound card - Images

A sound card with different ports.
A sound card with different ports.
A set of speakers plugged into a sound card
A set of speakers plugged into a sound card

6. Network interface card (NIC)

A network interface card (NIC) is internal hardware that allows a computer to connect to a network.

Most modern computers have a NIC built into the motherboard.

Diagram of a network interface card. A computer contains a green NIC card. An arrow leads from the card along a cable, or by Wi-Fi, to a network switch.
A NIC connects a computer to a network by cable or Wi-Fi.

7. Secondary / Backing storage

Secondary storage devices store data that is not instantly needed by the computer.

They hold data and programs permanently, for as long as we need.

They are sometimes called ‘backing storage’ or ‘permanent storage’:

Secondary storage differs from temporary storage (RAM) because data does not get erased when the system is powered off:

Backing storage compared with internal memory

Internal memory (RAM and ROM)Backing storage
Connected directly to the motherboard, so the CPU can reach it very quickly.Connected to the motherboard through a cable or port, so access is slower.
Smaller capacity.Much larger capacity.
RAM is volatile (data is lost when the power is off). ROM is non-volatile.Non-volatile (data is kept when the power is off).
RAM holds the programs and data being used now. ROM holds the start-up instructions.Stores files and programs permanently until they are deleted.
More expensive for the amount of data stored.Cheaper for the amount of data stored.

Internal and external secondary storage

There are two types of secondary storage devices:

  • Internal Storage - storage devices that are connected directly to the motherboard and aren’t removed from inside the system case
  • External Storage - storage devices that connect from outside the system. Sometimes called ‘removable storage’.

External storage devices are easy to spot because they often have protective cases and a USB connector.

Internal - Fixed hard disk. This is not designed to be removed from the system
Internal - Fixed hard disk. This is not designed to be removed from the system
External - External hard disk. This has a protective case and USB connection
External - External hard disk. This has a protective case and USB connection

8. Peripheral devices

Internal - Fixed hard disk. This is not designed to be removed from the system
Internal - Fixed hard disk. This is not designed to be removed from the system

Devices that connect to the system from outside are known as ‘peripheral’ devices. Think peripheral vision.

They connect to the motherboard indirectly through ports:

Peripheral devices are considered non-essential because the system can operate without them.

Peripherals usually carry out input or output purposes.

Input and output devices

  • Input devices - send data into the computer. For example, a keyboard, mouse, camera or scanner.
  • Output devices - send the results of processing out of the computer. For example, a monitor, printer or speakers.
  • The difference is the direction of the data: input devices send data in, output devices send information out.
Diagram of input and output devices. On the left, the input devices keyboard, mouse, camera and scanner feed into a PC. On the right, the PC feeds the output devices monitor, printer, speakers and projector.
Input devices send data in. Output devices send results out.

Non-essential peripheral devices - Images

Computer Components: Non-essential peripheral devices - Images

Essential and non-essential components - Summary

Essential hardware

Essential hardware: motherboard, CPU, RAM, ROM, secondary storage, screen and graphics card

Non-essential hardware

Non-essential hardware: sound card, memory stick, speakers, printer, microphone and scanner

End of the topic

You've completed the topic: lesson 3 of 7 published in this unit, and already 45% of the way through. Keep it up!

45%

When you are ready, click the Next button below to move on to Analogue and Digital Data.