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.

SliceRunningReady queueWaitingState saved
1BrowserMusic, EditornoneBrowser

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.

Step 1 of 7Called right: 0 of 5

Look at the front of the ready queue, then ask: can that process actually carry on?

Computer Science · Multi-tasking

Is it really all at once?

A computer has a single processor core. A music player, a web browser and a document are all open, and they all seem to be working at the same moment.

Which is closest to what you think is going on?
How sure are you?

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.

6 of 6 still to sort.

Every process is in exactly one of three states. The question to ask: could it use the processor right now?

Exam line: Running means using the processor. Ready means able to run and waiting for its turn. Waiting/blocked means unable to continue until something it needs, such as input, is available.
Watch out: Ready and waiting are easy to mix up. A ready process could use the processor straight away. A waiting process could not, even if it were handed the processor.

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?

Scheduling approaches

Round robinvsPriority

The trace you followed used round robin. Priority is the other approach to know.

Focus

How the next process is chosen

Round robin

Ready processes are taken in turn, one after another.

Priority

Some processes are given a higher priority and are chosen ahead of the others.

The insight

Both answer the scheduler's job: decide which waiting process gets the processor next and for how long.

How a ready process is treated

Round robin

Every ready process is treated alike and gets its turn.

Priority

Processes are treated differently on purpose, with the higher-priority ones first.

A process that must wait for input

Round robin

It stops using the processor, and the next ready process in turn gets it.

Priority

It stops using the processor, and a ready process, chosen by priority, gets it.

In the trace you just followed

Round robin

Yes: the schedule took the ready queue in order.

Priority

No: the example had no priorities.

Computer Science · Multi-tasking

Write it, then mark it

Explain the benefits of multi-tasking, for the user and for the processor. [3 marks]

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

Exam line: Give a benefit for the user and a benefit for the processor, and say how a waiting process gives way to a ready one.

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

1One core, one process at a time: the OS shares the processor out in short time slices.
2A context switch saves a process's state so it can resume exactly where it left off.
3The scheduler picks the next process and for how long, for example in turn (round robin) or by priority.
4A process is running, ready or waiting/blocked, and a waiting process gives the processor to a ready one.

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?
The operating system managing several programs (processes) so that they can be open and running at the same time.
On a single processor core, how many processes are executed at any one instant?
Only one.
Define 'time slice'.
A short period during which one process is allowed to use the processor.
Why does the user see programs running simultaneously?
The OS switches between processes very quickly, so every process makes progress.
What is a context switch?
The OS saving a process's current state before switching away, so the process can later resume exactly where it left off.
What does the scheduler decide?
Which waiting process is given the processor next, and for how long.
Round robin scheduling
Processes are given the processor in turn.
Priority scheduling
Some processes are given a higher priority, so they are chosen ahead of others.
Running state
The process is using the processor right now.
Ready state
The process is able to run and is waiting for its turn on the processor.
Waiting (blocked) state
The process cannot continue until something it needs, such as input, is available.
A running process has to wait for input. What does the OS do with the processor?
It gives the processor to another ready process, so processor time is not wasted.
Give the benefits of multi-tasking.
The user can have several programs open and work with them at the same time, and the processor is kept busy doing useful work.

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 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.