Computer Structure

The Processor

The processor is the part of the computer system that handles the instructions used to ensure that hardware and software respond as expected. Processors can handle millions of instructions per second.

Processors must be able to:

Control Unit

Arithmetic and Logic Unit (ALU)

Registers

Memory

The computer has memory known as RAM (Random Access Memory).

RAM is:

Buses

Buses transfer data between the processor and memory.

The data bus:

The address bus:

Translating Code

A translator converts the high level program (source code) into binary (machine code).

A translator is required because:

There are two types of translator:

Interpreters

An interpreter translates source code into machine code one line at a time.

Advantage:

Disadvantages:

Compilers

A compiler translates the entire source code program to object code in one go.

Advantages:

Disadvantage: