OCR GCSE COMPUTER SCIENCE · J277 · PAPER 1
Systems software
What the operating system does behind the scenes, and the utility programs that keep a computer tidy, fast and secure.
Paper 1 · Lesson 13
Les van Computing
In deze les zitten 21 slides, met interactieve quizzen en tekstslides.
OCR GCSE COMPUTER SCIENCE · J277 · PAPER 1
Systems software
What the operating system does behind the scenes, and the utility programs that keep a computer tidy, fast and secure.
Paper 1 · Lesson 13
Lesson 13 of the J277 series (Block B, Paper 1, section 1.5 Systems software: operating systems and utility software).
Device-free: show the slide; pupils write the title and date. Image credit: Lazar Stankovic / Unsplash (cover hologram)
00 · MISSION · BY THE END OF THIS LESSON
By the end of this lesson you can…
01 Tell system software from application software, and describe the five functions of an operating system.
02 Explain what a device driver does.
03 Explain how defragmentation, compression and encryption software help.
Read the three outcomes. "Describe two functions of an operating system" is one of the most common Paper 1 questions, and defragmentation questions often test whether pupils know it is not used on SSDs.
Device-free: pupils copy the outcomes and tick each one at the end.
02 · CHECK · DO NOW (LESSON 12)
Warm up: preventing attacks
1 What does a firewall do?
2 Give two features of a strong password.
3 Why does penetration testing need permission?
4 How do user access levels protect data?
▮ TERMINAL // do_now_answers
1 checks traffic against rules,
blocks what is not allowed
2 long; mixed characters;
not a word or personal detail
3 without it, it is illegal
4 users only reach what their
role needs
Retrieval from lesson 12. Give 4 minutes, then click to reveal the answers line by line.
1 It checks data going in and out of a network against rules and blocks anything not allowed. 2 Any two: long (at least 8 characters); a mix of upper and lower case, digits and symbols; not a real word, name or birthday. 3 Without permission, attacking a system is a crime under the Computer Misuse Act 1990. 4 Each user can only see and change what their role needs, so a hacked or misused account can do less damage.
Device-free: questions on the board; mini whiteboards.
Recap of lesson 12: which defence makes intercepted data unreadable?
A firewall
Anti-malware software
Physical security
Encryption
Answer: D, encryption. The data can still be intercepted, but it cannot be read without the key. Today we meet encryption again, as utility software that encrypts the files stored on a drive.
Device-free: students hold up A, B, C or D cards. Image credit: Paul Esch-Laurent / Unsplash
01 · LEARN · MISSION BRIEFING
System or application?
System software runs and looks after the computer itself.
OPERATING SYSTEM
Manages the hardware and runs every other program.
UTILITY SOFTWARE
Small programs that keep the computer working well.
NOT SYSTEM: APPLICATIONS
Programs for the user's own tasks, such as a browser or a game.
SYSTEM VOICE
System online. Mission briefing. Today you will go behind the scenes: find out how the operating system keeps everything running, and how utility programs keep the computer tidy, fast and secure.
Click play for the system voice briefing. The words are also on the slide.
System software runs and manages the computer: the operating system (for example Windows, macOS, Linux, Android, iOS) and utility software. Application software lets the user carry out their own tasks: word processors, web browsers, games, photo editors. Applications rely on the operating system to run.
Device-free: pupils sort ten programs they use into "system" and "application".
01 · LEARN · OPERATING SYSTEM
Five jobs of the operating system
USER INTERFACE
Lets people control the computer, with a GUI or a command line.
MEMORY AND MULTITASKING
Shares out RAM and processor time between programs.
PERIPHERALS AND DRIVERS
Controls input and output devices, using device drivers.
USER MANAGEMENT
Accounts, logins and who can access what.
FILE MANAGEMENT
Folders, and naming, saving, moving, copying and deleting files.
THE GO-BETWEEN
The OS sits between the user, the applications and the hardware.
The five functions of an operating system in the J277 specification: user interface; memory management and multitasking; peripheral management and drivers; user management; file management. The next three slides look at each in turn.
Memory hook: U M P U F, for User interface, Memory, Peripherals, User management, File management ("Ugly Monkeys Paint Under Furniture"), or pupils make their own.
Device-free: pupils draw a five-spoke diagram with the OS in the middle and one function on each spoke.
01 · LEARN · USER INTERFACE
Click it, or type it
GRAPHICAL USER INTERFACE (GUI)
Windows, icons, menus and a pointer. You click and tap instead of remembering commands.
+ easy to learn and use
+ suits beginners and touch screens
− needs more memory and processing power
▮ TERMINAL // command_line
> cd Documents
> mkdir Coursework
> copy essay.docx Coursework
1 file copied.
> dir Coursework
essay.docx 24 KB
COMMAND LINE Typed commands. Fast and powerful for experts, and uses little memory, but the commands must be learned.
The user interface lets the user interact with the computer and its programs. A graphical user interface (GUI) uses windows, icons, menus and a pointer (or touch). A command-line interface uses typed text commands.
Click the terminal to reveal the commands: change folder, make a new folder, copy a file into it, list what is inside. The same job in a GUI would be a few clicks and a drag.
Device-free: pupils list one job that is easier in a GUI and one that might be quicker by typing a command.
01 · LEARN · MEMORY AND MULTITASKING
Sharing out RAM and the processor
RAM
OPERATING SYSTEM
WEB BROWSER
MUSIC APP
GAME
free
MEMORY MANAGEMENT The OS decides where each program goes in RAM, so programs do not overwrite each other, and moves data out to virtual memory when RAM is full.
MULTITASKING The OS gives each program turns on the processor, so several seem to run at once.
SYSTEM VOICE · KEY DEFINITION
Multitasking. The operating system shares the processor between programs, switching between them so quickly that they all seem to run at the same time.
Memory management: the OS loads programs and data into RAM, allocates each one its own space so they do not overwrite each other, frees space when programs close, and moves data between RAM and virtual memory when RAM is full (link to lesson 3).
Multitasking: a single processor core can only run one instruction at a time, so the OS switches between programs very quickly, giving each a share of processor time. They seem to run at the same time.
Play the key definition. Ask: what happens to the computer if too many programs are open? (RAM fills, virtual memory is used, it slows down.)
Device-free: pupils draw the RAM diagram and label the free space.
01 · LEARN · DEVICES, USERS AND FILES
Devices, users and files
PERIPHERALS AND DRIVERS
The OS manages input and output devices, such as keyboards, printers and webcams.
A device driver is a small program that translates the OS's instructions into ones a particular device understands.
USER MANAGEMENT
Creates user accounts with usernames and passwords.
Sets the access rights for each user to files and folders.
Can record who logged in, and when.
FILE MANAGEMENT
Organises storage into folders.
Lets users name, save, open, move, copy and delete files.
Sets file permissions, such as read-only.
Peripheral management and drivers: the OS handles communication with input, output and storage devices. A device driver is software that lets the OS communicate with a specific piece of hardware, translating general instructions into ones that device understands. New devices need the right driver; drivers are updated to fix problems or add features.
User management: creating and deleting accounts, logins and passwords, setting access rights, and monitoring activity (link to user access levels in lesson 12).
File management: organising files in a folder structure, naming, saving, moving, copying and deleting them, and setting permissions.
Device-free: pupils write one everyday example of each function.
Which OS function is doing the work?
MEMORY & MULTITASKING
PERIPHERALS
USERS
FILES
You log in with your own username and password
You rename a file and move it into a folder
Music keeps playing while you browse
A new printer works once it is plugged in
Answers: memory and multitasking = music keeps playing while you browse; peripherals = a new printer works once it is plugged in (the OS loads its driver); users = you log in with your own username and password; files = you rename a file and move it into a folder.
Device-free: pupils match the four by drawing lines in their books.
Malik's new graphics tablet will not work until he installs a small program. What is it?
Defragmentation software
A device driver
A firewall
A web browser
Answer: B, a device driver. It lets the operating system communicate with that particular device. Many drivers install automatically when a device is plugged in; some must be downloaded from the manufacturer.
Device-free: students hold up A, B, C or D cards. Image credit: Balázs Kétyi / Unsplash
01 · LEARN · DEFRAGMENTATION
Putting the pieces back together
On a magnetic hard drive, files get split into pieces scattered across the disk as files are saved and deleted. The read/write head has to move further, so files open more slowly.
Defragmentation moves the pieces so each file is stored together, and joins up the free space. Files open faster.
Not used on SSDs: no moving parts means no speed gain, and extra writes wear them out.
▮ TERMINAL // defrag.exe
> scanning drive... BEFORE
▮ ▮ ▮ ▮ ▮ ▮ ▮ ▮
▮ ▮ ▮ ▮ ▮ ▮ ▮ ▮
> defragmenting... AFTER
▮ ▮ ▮ ▮ ▮ ▮ ▮ ▮
▮ ▮ ▮ ▮ ▮ ▮ ▮ ▮
▮ A ▮ B ▮ C ▮ free
Click the terminal to reveal the disk map. Before (read row 1 then row 2, left to right): the 16 blocks hold file A (pink) in five separate pieces, files B (amber) and C (cream) in three separate pieces each, and the five free blocks (brown) are scattered as five separate gaps; no two blocks of the same file sit next to each other. After defragmentation: file A's five blocks sit together, then B's three, then C's three, and the five free blocks are joined into one space. (Counts checked: A 5 + B 3 + C 3 + free 5 = 16 before and after.)
Defragmentation: reorganises a magnetic hard disk so the parts of each file are stored in consecutive blocks and free space is grouped together. The read/write head moves less, so files load faster.
SSDs: they have no moving parts, so access time does not depend on where data is stored; defragmenting gives no speed benefit and the extra writes shorten the drive's life. This is a favourite exam point.
Device-free: pupils draw their own fragmented and defragmented disk with coloured pencils.
01 · LEARN · UTILITY SOFTWARE
Smaller and safer
COMPRESSION SOFTWARE
Makes files smaller, for example by zipping a folder, so they take less storage and send faster.
ENCRYPTION SOFTWARE
Scrambles the files stored on a drive with a key, so if the device is lost or stolen, the data cannot be read.
Utility software: system software that helps to maintain, configure or optimise the computer. The three utilities in J277 are encryption software, defragmentation and data compression.
Compression software: reduces the size of files (lossless for documents and programs, lossy for photos, music and video; link to lesson 7), so they use less storage and transfer faster.
Encryption software: encrypts files or a whole drive so that, if the device is lost or stolen or the files are accessed without permission, they cannot be read without the key (link to lesson 12).
Compression does not make every file shrink a lot: files that are already compressed (most photos, music and video) shrink little more when zipped. Compression helps most with storage space and with sending many or large files; very large videos are often shared with a link instead.
Device-free: pupils write one situation in which each utility would help. Image credit: Sasun Bughdaryan / Unsplash
Which software solves each problem?
DEFRAGMENTATION
COMPRESSION
ENCRYPTION
DEVICE DRIVER
A nurse's laptop of patient files could be stolen
A new webcam is not recognised by the computer
Files on Ben's old hard drive take ages to open
Kofi needs to send a big folder as one smaller file
Answers: defragmentation = files on Ben's old hard drive take ages to open; compression = Kofi sending a big folder as one smaller file (zipping it); encryption = a nurse's laptop of patient files that could be stolen; device driver = a new webcam not recognised.
Ask: if Ben's computer had an SSD instead, would defragmentation help? (No.)
Device-free: pupils match the four by drawing lines in their books.
03 · DEBUG · SPOT THE MISTAKE
One line in Ella's notes is wrong
▮ TERMINAL // ella_systems.txt
1 OS: manages memory, multitasking
2 driver: lets the OS talk to a device
3 defrag: makes SSDs much faster
4 compression: makes files smaller
5 user mgmt: accounts and access
Line 3. Defragmentation helps MAGNETIC hard drives, where a moving head reads the data. SSDs have no moving parts, so it gives no speed gain, and the extra writes wear the SSD out.
Ask: which kind of drive has moving parts? Tap the marker to check.
Tip: Check each line against the definitions you learned, then tap the marker.
Give a minute to find the mistake before tapping the marker.
Answer: line 3. Defragmentation speeds up magnetic hard drives; it is not used on SSDs, which have no moving parts and wear out with extra writes. Lines 1, 2, 4 and 5 are correct.
Device-free: copy the five lines onto the board; pupils write the wrong line number and the correction.
You double-click the app's icon in the GUI
The OS finds the program's files in secondary storage
The OS allocates space in RAM and copies the program into it
The CPU starts fetching and executing the program's instructions
The OS shows the program in a new window
What happens when you open an app? Put the steps in order.
Correct order: 1 you double-click the app's icon in the GUI (user interface); 2 the OS finds the program's files in secondary storage (file management); 3 the OS allocates space in RAM and copies the program into it (memory management); 4 the CPU starts fetching and executing the instructions (Block A, lesson 1); 5 the OS shows the program in a new window (user interface again).
Ask pupils to name the OS function at each step: it ties the whole lesson together.
Device-free: pupils write the five steps on sticky notes and order them on the desk.
Complete the summary.
The operating system is system software, while a web browser is application software. Sharing the processor between programs is called multitasking. A device driver lets the operating system talk to a printer or webcam. On a magnetic hard drive, defragmentation puts the pieces of each file back together. Files are made smaller by compression software, and encryption software scrambles them so stolen data cannot be read.
Answers in order: operating, application, multitasking, driver, defragmentation, compression, encryption. Distractors: firewall, compiler, router.
Device-free: paragraph on the board with gaps and the word bank; pupils write the seven missing words.
EXAM · Describe two functions of an operating system. [4 marks]
Exam-style question, 4 marks. Give 5 minutes. The model answer is on the next slide.
Mark scheme: for each of two functions, 1 mark for naming it and 1 mark for describing what it does. Accept: user interface; memory management or multitasking; peripheral management or drivers; user management; file management. A bare list of five functions gains 2 marks at most.
Device-free: pupils answer on paper, then peer-mark with the next slide.
04 · EXAM · MODEL ANSWER
Name it, then describe it
Memory management.
The OS allocates each program its own space in RAM, so programs do not overwrite each other. When RAM is full, it moves data out to virtual memory.
Peripheral management.
The OS uses device drivers to send instructions to output devices such as printers, and to receive input from devices such as keyboards.
MARK SCHEME
1 mark: first function named
1 mark: what it does
1 mark: second function named
1 mark: what it does
Also accept: user interface, user management, file management.
Click to reveal the model answer one part at a time: each name and each description earns one mark.
Common weak answer: "It manages memory, files, users and devices." This lists four functions but describes none, so it earns 2 marks at most. Choose two and describe each properly.
Device-free: read the model answer aloud; pupils underline the four mark-earning parts in their own answer.
Exit check: how sure are you about systems software?
Very: I can describe OS functions and utilities
Fairly: I mix up some of the functions
Not yet: I need another go
Anonymous exit poll. If many pupils mix up the functions, start lesson 14 with the OS function drag-and-drop again.
Device-free: thumbs up, sideways or down.
05 · NEXT · KEEP GOING
Keep going
Isaac Computer Science
Free online lessons and questions. Look for the operating systems topic.
BBC Bitesize
GCSE Computer Science, OCR: revise systems software.
OCR past papers
J277/01 papers and mark schemes on the OCR website: try the operating system questions.
Next lesson: the last of Block B, the ethical, legal, cultural and environmental impacts of technology.
Point pupils to the three places to practise. Isaac Computer Science and BBC Bitesize are free; OCR past papers and mark schemes are on the OCR website.
Device-free: pupils write down one question they still have about systems software to bring to lesson 14.