GCSE · Computer Science · Eduqas · Spec C500QS

Loader

A finished program, ready to go, and the CPU still can't run it. The program is fine. It's just in the wrong place.

Computer Science · Software tools

From secondary storage to the first fetch

Follow one finished program from the moment you ask for it to run. Watch which box holds the program at each step.

Before you press Next: at the moment you ask for the program to run, can the CPU fetch its first instruction? Make a guess, then step through to check.

Phase: Program saved

Secondary storage

Program: ready to run

Main memory (RAM)

Program: not here

CPU

Nothing to fetch yet

Output

Program is on secondary storage.

Step 1: The program is finished: it's already machine code and ready to run. It is held on secondary storage until it's needed. Main memory doesn't have it.

1 / 5

Use Next to move forward and Back to compare. Watch the middle box change before the CPU box does.

Step 1 of 5: The program is finished: it's already machine code and ready to run. It is held on secondary storage until it's needed. Main memory doesn't have it..

Exam line: The program is already ready to run. The loader's job is to place it in main memory, and only then can the CPU fetch its instructions.
Watch out: Nothing is being translated here. The same machine code just ends up in a different place.

Why a loader?

?

Reason it through

Why can't the CPU just run a finished program from secondary storage?

Link 1 of 4

First link · your turn

Start with the CPU. Where does it get instructions from?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Check your instinct

What really happens when you run a program?

A friend has a finished game saved on their computer's secondary storage. They click to start it.

Which of these is closest to what you think happens?
How sure are you?

Exam line: Say that the program is already ready to run and that the loader places it in main memory.

Your turn

Write the answer, then check it

State what a loader does and explain why it is needed. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

Exam line: Cover three things: what the loader does, where the program starts, and why the CPU needs it moved.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

A finished program still can't run until something moves it into main memory.

What you need to know

  • A loader is a software development tool: a program whose job is to place another program into main memory (RAM).
  • The program it handles is already ready to run, which means it is already executable machine code.
  • Until it's needed, that program just sits on secondary storage.
  • Have a goYour mate Dev says: 'A loader? Easy. It turns my finished code into machine code.' Going on what you've just read, is Dev right?

    No. The program is already ready to run. The loader places it in main memory.

    Dev has mixed up moving a program with translating it, but the program is already machine code before the loader touches it.

  • The CPU can only fetch and execute instructions that are held in main memory.
  • Have a goImagine a program that is ready to run but is only on secondary storage. Can the CPU fetch its first instruction yet? Say yes or no, then say where the program would need to be.

    No. It would need to be in main memory.

    Being ready to run isn't enough, because the CPU can only fetch and execute instructions held in main memory.

  • So the program has to be copied into main memory before it can run, and that's the loader's job.
  • Once the program is loaded, the CPU can begin fetching and executing its instructions from main memory.
  • Have a goThe program is loaded. Which one now fetches and executes its instructions: the loader or the CPU?

    The CPU.

    The loader's job is to place the program in main memory, while fetching and executing is what the CPU does once the program is there.

  • The loader doesn't translate anything. The trouble is where the program is, not what it is.
  • In a written answer, give three things: what the loader does, where the program starts, and why the CPU needs it moved.

The big picture

A loader is a software development tool: a program whose job is to place another program into main memory (RAM). The program it handles is already ready to run, in executable machine code, and waits on secondary storage until it is needed. The CPU can only fetch and execute instructions held in main memory, so the program must be copied there first. Once it has been loaded, the CPU can start fetching and executing its instructions. The loader does not translate anything: the problem is where the program is, not what it is.

Key points

1A loader is a program that places a ready-to-run program into main memory (RAM).
2The CPU can only fetch and execute instructions held in main memory, so the program is copied there first.
3The program is already machine code, so the loader moves it and does not translate it.

Worked example

Problem

Mia says: 'My program is saved and it's already machine code, so the CPU can start running it from secondary storage right now.' Is she right? Work through her claim one piece at a time.

⚠ Watch out

Thinking the loader translates the program into machine code, or that the CPU can run a program straight from secondary storage. The program is already ready to run. What it's missing is a place in main memory.

🧠

Memory hook

Location, not translation: the loader moves a finished program into main memory so the CPU can fetch it.

✓

Check yourself

Without looking back: a program is already machine code and is held on secondary storage. In two sentences, say what stops the CPU running it, and what fixes that.

Flashcards

(7)
What is a loader?
A software development tool: a program whose job is to place a ready-to-run program into main memory (RAM).
Is a loader hardware or software?
Software. It is a program, not a part inside the computer.
What does 'ready to run' mean for the program a loader handles?
It is already executable machine code, so nothing needs translating before it runs.
Where is a program held until it is needed?
On secondary storage.
Where must instructions be held for the CPU to fetch and execute them?
In main memory.
Does a loader change what a program is, or where it is?
Where it is. The loader places the program in main memory and leaves its machine code as it was.
What has to be true before the CPU can make its first fetch from a program?
The loader has already put the program into main memory.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.