A-Level Computer Science / Unit 4: CPU Operation and Low-Level Processing

4.1.1 Stored Programs and the Von Neumann Model

🔒 Lesson slides are available to signed-in users. Sign in

Von Neumann Model and CPU Components

A computer runs a program by using instructions and data. The Von Neumann model shows the main parts involved: the CPU, main memory and peripherals. It also helps explain how instructions are stored and how the CPU carries them out.

This page reviews the familiar CPU model and then focuses on the stored program concept, the roles of the ALU and Control Unit, the Immediate Access Store (IAS), and the system clock.

By the end of this page, you should be able to:

  • explain the stored program concept;
  • identify the CPU, main memory and peripherals in the Von Neumann model;
  • describe the roles of the ALU and Control Unit (CU);
  • describe what the IAS holds and how the system clock helps coordinate activity.
Core idea: instructions and data are stored in main memory. The CPU fetches instructions from memory and processes them. The CU coordinates operations, while the ALU carries out arithmetic and logical work.

1. Instructions and data share main memory

A program is a set of instructions that tells a computer what operations to perform. The program also uses data, such as numbers or text. In the basic Von Neumann model, both the instructions and the data are held in the same main memory.

This arrangement is called the stored program concept: the instructions are stored in memory, and the CPU can fetch them from there when it needs to run the program. The data used by those instructions is held in that memory as well.

Main memory instructions + data CPU ALU Control Unit Input peripherals provide data Output peripherals present results fetch store

The drawing is a simplified model. It shows the main roles, rather than every connection inside a real computer. Input peripherals provide data, output peripherals present results, and the CPU exchanges instructions and data with main memory.

Keep the two memory contents clear

The stored program concept does not mean that instructions and data are the same thing. They are different kinds of information, but the basic model stores both in the same main memory.

2. The CPU, main memory and peripherals have different roles

The CPU is the part of the computer that processes program instructions. It is one component in the computer system; it is not the whole system. Main memory holds active instructions and data, while peripherals provide input or output.

Part of the model Main role Example action
CPU Processes instructions and coordinates the work needed to run them. Processes an instruction that compares two values.
Main memory Holds program instructions and data that the CPU is using. Stores the comparison instruction and the values to compare.
Input peripheral Supplies data or commands to the computer system. A keyboard provides characters entered by a user.
Output peripheral Communicates information or a result from the system. A screen displays the result of a calculation.

Describe the role, not only the name

If asked for the role of a component, name the action it performs. For example, “the CPU processes instructions” explains its role more clearly than “the computer has a CPU.”

3. The ALU performs operations; the CU directs them

The CPU contains components with different jobs. The Arithmetic and Logic Unit (ALU) carries out arithmetic operations and logical operations, including comparisons. The Control Unit (CU) directs and coordinates instruction processing and the movement of information and control signals around the system.

Component What it does Example
ALU Performs arithmetic calculations and logical operations. Adds two values or compares two values.
CU Directs the operations needed to carry out instructions and coordinates system activity. Coordinates when an operation happens and directs the flow of information.
Example: suppose a program needs to compare a measured value with a limit. The ALU performs the comparison. The CU coordinates the instruction and directs the operations needed to use the result.

Common mix-up

The CU coordinates the work; it does not perform the arithmetic calculation. The ALU performs the calculation or logical comparison; it does not coordinate the whole system.

4. The IAS holds the active program and data

IAS means Immediate Access Store. In the Von Neumann model used in this course, it refers to main memory that the processor can access directly. It holds the instructions and data needed while a program is running.

The IAS is volatile: it needs power to retain its contents. When power is removed, its current contents are lost. It gives the processor faster access to active information than secondary storage, which keeps files for longer-term use.

Course terminology: use IAS or main memory for the memory holding the active program and data in this model. Cache is a separate, smaller memory that keeps copies of selected instructions or data for quicker access. Similar purpose or speed does not make the IAS and cache the same component.

A precise description

State what the IAS contains and how the processor uses it: it stores the current program instructions and data, which the processor can access while the program runs.

5. The system clock helps synchronise operations

The system clock produces regular timing signals. These signals provide a shared timing reference for computer operations. The CU uses the timing to coordinate activity so that components carry out operations in synchronised steps.

  1. The system clock produces a regular timing signal.
  2. The CU uses the timing signal when coordinating operations.
  3. Components carry out their activities in the required order and at the appropriate times.

The clock does not do the processing

The system clock provides timing signals. It does not execute program instructions, perform calculations or make decisions. The CU coordinates operations, and the ALU carries out arithmetic and logical work.

Build a cause-and-effect explanation

Link the parts: clock produces timing signals → CU uses the timing to coordinate activity → operations remain synchronised. This explains how the clock helps the system work together.

6. Keep the component roles separate

These terms describe different parts of the model. Check which part performs the action in a question before writing your explanation.

Term Remember this role Do not confuse it with
CPU Processes instructions. The complete computer system.
ALU Performs arithmetic and logical operations. The CU, which directs and coordinates operations.
CU Directs instruction processing and coordinates activity. The ALU, which performs calculations and comparisons.
IAS Main memory holding active instructions and data in this model. Cache, a distinct memory that keeps selected copies.
System clock Provides regular timing signals. The CU, which uses timing to coordinate activity.

7. Check your understanding

Try each prompt before opening its suggested response. These are original study questions for this page.

  1. Explain what makes the Von Neumann model a stored-program model.
    Suggested response

    The program instructions are stored in main memory. Data used by those instructions is stored there too, and the CPU fetches instructions from memory to run the program.

  2. A program adds two values and then compares the total with a limit. Which CPU component performs these operations?
    Suggested response

    The ALU performs the addition and the logical comparison. The CU directs and coordinates the operations needed to carry out the instructions.

  3. State what the IAS holds while a program is running. Give one property of this memory.
    Suggested response

    It holds instructions and data currently needed by the processor. It is volatile, so it needs power to retain its current contents.

  4. Explain how the system clock and CU work together to coordinate operations.
    Suggested response

    The clock produces regular timing signals. The CU uses the timing to coordinate system activity, helping components perform operations in synchronised steps.

Before you finish

Check that your explanation names the correct component and states its role. For a process, link the steps in order. Avoid using “controls” or “does the work” without explaining what the component actually does.