GCSE · Computer Science · Eduqas · Spec C500QS
OS multi-tasking management
Music playing, a document open, a download running. It looks like everything happens at once. On a single core, it doesn't. Let's catch it in the act.
Computer Science · Multi-tasking
Who gets the processor next?
One processor core, three made-up processes. Call each turn before the table shows it.
Each row is one time slice. Ready means able to run and waiting for a turn (front of the queue goes first). Waiting means stuck until something arrives. Nothing is run: every row is made up to show the idea.
| Slice | Running | Ready queue | Waiting | State saved |
|---|---|---|---|---|
| 1 | Browser | Music, Editor | none | Browser |
Step 1. Browser has the processor. Music and Editor are ready, so they wait their turn. When Browser's slice ends the OS saves its state, and Browser goes to the back of the ready queue. This first row is worked for you.
Look at the front of the ready queue, then ask: can that process actually carry on?
Computer Science · Process states
Running, ready or waiting?
Which state is each process in right now?
Still to sort
Running (0)
Using the processor right now.
Where the line is: On a single core only one process can be here at any instant.
Ready (0)
Able to run, waiting for its turn.
Where the line is: The only thing missing is the processor. Give it the processor and it carries on.
Waiting / blocked (0)
Unable to continue until something it needs is available.
Where the line is: Even with the processor it could do nothing useful, because it still needs something, such as input or data from storage.
Every process is in exactly one of three states. The question to ask: could it use the processor right now?
Predict, then check
Think about what a process would need in order to carry on after being paused.
The OS pauses the Music player halfway through its instructions to give the Browser a slice, but it does NOT save Music's state. Music gets its next turn. What happens?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How a computer with one processor core makes everything look like it's running at once
What you need to know
- Multi-tasking is the operating system managing several programs (processes) so they can be open and running at the same time.
- On a single processor core, only one process is actually executed at any one instant.
Have a goYour mate Sam says: 'I've got four programs open, so my one-core laptop is running four things at once.' On one core, how many are really being executed right now?
One. The other three are open but not being executed at that instant.
On a single core only one process is actually executed at any one instant, however many programs are open.
- Each process gets the processor in turn for a short period called a time slice, then the OS switches to another.
- Because switching is very fast, every process makes progress and the user sees the programs running simultaneously.
Have a goMusic is playing while you type in a document. Does the document have to wait until the song has finished before it gets any processor time?
No. It gets its own time slice in turn, so both make progress.
Processes take short turns instead of running to completion, and the switching is so fast that the user sees the programs running together.
- Before switching away, the OS saves the process's current state: its register contents and where it had reached in its instructions.
- That save-and-resume step is a context switch, and it lets the process restart exactly where it left off.
Have a goThe OS pauses a game halfway through its instructions. Name one thing it must save so the game can carry on from the same point later.
Its register contents, or where it had reached in its instructions.
This saved state is what lets a context switch resume the process exactly where it left off.
- The scheduler decides which waiting process gets the processor next and for how long, for example round robin or priority.
- A process is running, ready (waiting for its turn) or waiting/blocked (stuck until something it needs, such as input, arrives).
- If a process must wait, say for user input, the OS hands the processor to another ready process.
- The benefit: users can work with several programs at once, and the processor stays busy doing useful work.
The big picture
A single processor core executes only one process at any instant. Multi-tasking is the operating system giving each process a short time slice in turn, saving its state at every switch, and handing the processor to another ready process when one has to wait. The result: the user sees programs running together and the processor stays busy.
Key points
Worked example
Problem
A laptop has one processor core. A video is playing and a chat app is open. Explain, step by step, how the OS lets you use both without the video freezing.
⚠ Watch out
Handing the processor to a waiting (blocked) process, or leaving it idle. A waiting process cannot continue until what it needs arrives, so the OS gives the processor to a ready process instead.
Memory hook
Slice it, save it, switch it: one process at a time, its state saved, then on to the next ready one.
Check yourself
Cover the page. A process asks the user to type and has to wait. Say which state it is now in, what the OS saves, and what the OS does with the processor.
Flashcards
(13)What is multi-tasking?
On a single processor core, how many processes are executed at any one instant?
Define 'time slice'.
Why does the user see programs running simultaneously?
What is a context switch?
What does the scheduler decide?
Round robin scheduling
Priority scheduling
Running state
Ready state
Waiting (blocked) state
A running process has to wait for input. What does the OS do with the processor?
Give the benefits of multi-tasking.
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 postedMore Eduqas GCSE Computer Science topics
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 16 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.