Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

SC 7.2: How an operating system shares the processor

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

50 minutes

Music, a download and a video call

You play music, download a game and chat on video, all at once. You have one processor. It seems to do three things at the same moment. Is it cheating?

Yes, a little. The trick is in the main program that runs the computer. Today you find out how it works, and why some computers need a different trick.

Key words

WordWhat it meansExample
Operating systemthe main program that runs the computer and shares its parts
Batcha group of jobs run one after another with no userovernight payroll
Multitaskingrunning many tasks so they seem to run together
Time-slicinggiving each task a short turn on the CPU
Interrupta signal that makes the CPU stop and deal with something urgenta key press
Real-timemust answer within a fixed, very short time
CPUthe processor that runs program instructions
Schedulingchoosing which job runs and when

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can describe batch, multitasking and real-time operating systems and say when each is used.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Batch systems run jobs with no user

A batch system collects jobs and runs them later, one after another, with nobody watching. Nothing asks the user a question while a job runs. That is called non-interactive.

It suits a huge amount of the same work, such as printing 50,000 bank statements overnight. Scheduling decides the order and the start time, so the machine is busy at quiet hours.

Batch processing at a glance

FeatureWhat it meansExample
Non-interactiveNo user input while it runsA payroll run
High volumeA large amount of similar work50,000 statements
SchedulingJobs are queued and started at set timesStarts at 2 am

The cells students fill in are left blank in this preview.

Check

Have a go

Check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

12 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.