← GCSE Computer Science · Eduqas · GCSE Computer Science revision
⭐ 0
Eduqas GCSE Computer Science · 6 Operating systems and utilities
Mini-Lesson

Operating systems and utilities

3 missions. Guess, learn, then check. Your place is saved.

  1. Mission 1One CPU core, three apps at once. How is that possible?
  2. Mission 2Why could shuffling files around make an old hard drive faster?
  3. Mission 3You tap a key mid-game. How does the CPU notice straight away?
Mission 1

One CPU core, three apps at once. How is that possible?

Make a guess: One CPU core, three apps at once. How is that possible?

Systems software · operating systems

The manager between apps and hardware

LayersUserrequestsresultsApplication softwarerequestsresultsOperating systemrequestsresultsHardware
  • The operating system (OS) is system software that manages the hardware and provides a platform for applications to run on.
  • Apps don't control the hardware themselves: they ask the OS.
  • The OS loads apps into memory, starts them and closes them.
Systems software · operating systems

Sharing the processor and memory

Time slicesCPU coreMDEMDEMDEOS switches at each dividing lineWhat you see: all three runningMusicDownloadEssay
  • Each running program is a process. One core runs one instruction at a time.
  • The OS schedules processes: each gets a short time slice on the CPU, then the OS switches to the next.
  • Switching is so fast that programs seem to run at once: multitasking.
  • Memory management: the OS gives each program its own area of RAM, keeps programs apart, and frees the area when a program closes.
Quick check
?On a single-core laptop you play music, download a file and type an essay. What keeps all three going?
Systems software · operating systems

Devices and files

PrintingWord processorOperating systemPrinter drivertranslates OScommands for thisprinter modelPrinter
  • The OS manages peripherals (input, output and storage devices) and the data passing between them and the processor.
  • A device driver lets the OS communicate with one particular device. It translates OS commands into ones that device understands.
  • The OS spools print jobs into a queue, so you can keep working while it prints.
  • Backing store: the OS tracks where each file is stored and organises files into folders.
Systems software · operating systems

Interface, users and security

  • The user interface lets you control the computer, e.g. a graphical user interface (GUI) with windows, icons, menus and a pointer, or a command-line interface where you type commands.
  • Security: the OS asks for a password or other login, blocks unauthorised access to files and memory, and installs security updates.
Quick check
?A new printer is detected, but every page comes out as strange symbols. Which software most likely needs installing or updating?
Mission check

?One CPU core, three apps at once. How is that possible?
Mission 2

Why could shuffling files around make an old hard drive faster?

Make a guess: Why could shuffling files around make an old hard drive faster?

Systems software · utility software

Housekeeping software

  • Utility software is system software that helps to maintain, protect or configure a computer.
  • It carries out housekeeping tasks that the operating system may not do, or may not do well enough, on its own.
  • Some utilities come with the OS; others are installed separately.
  • Examples: anti-virus, backup, compression, disk defragmenters and many more on your list.
Systems software · utility software

Fragmented files

Defragmentationmagnetic hard diskBeforeread/write head jumpsA1A2B3456A78B9B1011A121314B1516AfterA1A2A3A4B5B6B7B8910111213141516File AFile Bfree
  • A magnetic hard disk stores files in blocks. The read/write head moves to each block to read it.
  • As files are saved and deleted, free space becomes scattered gaps, so new files get split up: they are fragmented.
  • Reading a fragmented file needs many slow head movements.
  • A disk defragmenter moves each file's pieces next to each other (contiguous) and groups the free space together, so files load faster.
Quick check
?Ali's new laptop has a solid state drive (SSD). Is it worth running a defragmenter on it?
Systems software · utility software

Backup, compression and encryption

Utility softwareBackuporiginal stayscopyexternal drivecloudCompressionfewer bytesEncryptionMeet at 3q#8Vz!2Lm
  • Backup software copies files to another device or the cloud, so they can be restored if lost or damaged.
  • Compression software makes files smaller, so they use less storage space and transfer faster.
  • An archiver bundles files into one compressed file; disk compression compresses a whole drive.
  • Encryption software scrambles data so it can't be read without the key, e.g. on a lost laptop.
  • Encryption tools are cryptographic utilities.
Systems software · utility software

Protecting and repairing files

  • Anti-virus software scans files and memory for malware, comparing them with known malware signatures and watching for suspicious behaviour. It quarantines or deletes what it finds.
  • Data recovery software gets back files that were deleted or are on a damaged disk.
Systems software · utility software

More utilities on your list

UtilityWhat it does
Clipboard managerkeeps a history of items you copied, so you can paste older ones
System profilerlists the computer's hardware, software and settings, to help fix problems
Disk checkerscans a disk for errors and damaged areas, and repairs or marks them
Disk formatterprepares a disk for use by setting up a file system; existing files are lost
Disk partition editorsplits one physical disk into separate sections that act as separate drives
Revision controlkeeps every saved version of files, who changed what, and lets you roll back
File managerlets you browse, copy, move, rename and delete files and folders
Quick check
?A team of programmers keep overwriting each other's changes and can't get back yesterday's working code. Which utility solves this best?
Quick check
?Mia's folder of reports and spreadsheets is 45 MB, but her email allows attachments up to 20 MB. Which utility helps most?
Mission check

?Why could shuffling files around make an old hard drive faster?
Mission 3

You tap a key mid-game. How does the CPU notice straight away?

Make a guess: You tap a key mid-game. How does the CPU notice straight away?

Systems software · interrupts

A signal that asks for attention

Interrupt sourcesHardware interruptskeyboardmouseprinter: paper outinterruptinterruptinterruptCPUrunning program÷ 0same memorylocationSoftware interrupts
  • An interrupt is a signal to the processor that something needs attention.
  • Hardware interrupts come from devices, e.g. pressing a key, moving the mouse, or a printer running out of paper.
  • Software interrupts come from programs, e.g. a division by zero, or two processes trying to access the same memory location.
  • With interrupts, the CPU doesn't waste time repeatedly checking each device.
Quick check
?Which of these generates a software interrupt?
Systems software · interrupts

Handling an interrupt

Checking for interruptsNoYesNoYesFetchDecodeExecuteInterrupt waiting?Higher priority thancurrent task?Save register contentsRun interrupt service routineRestore register contents
  • The CPU checks for interrupts at the end of each fetch–decode–execute cycle.
  • If one is waiting with a higher priority than the current task, the CPU saves its current state: the contents of its registers.
  • It runs the interrupt service routine (ISR): code that deals with that interrupt, e.g. reading which key was pressed.
  • Then it restores the saved registers and carries on exactly where it stopped.
Systems software · interrupts

Priorities and results

  • The operating system manages interrupts: it gives each type a priority and runs the right ISR.
  • Higher-priority interrupts are handled first; others wait their turn. A power failure comes before a mouse movement.
  • The result depends on the interrupt: a letter appears on screen, a "paper out" message is shown, or a program that divided by zero stops with an error.
Quick check
?The CPU finds a waiting interrupt with a higher priority than its current task. What does it do first?
Quick check
?Three interrupts are waiting: the mouse moved, a printer ran out of paper, and the power supply is failing. Which ISR runs first?
Mission check

?You tap a key mid-game. How does the CPU notice straight away?
Recap

Big ideas

  • The OS is system software that manages the hardware and gives applications a platform to run on.
  • It shares the processor between processes (multitasking) and shares out memory, and manages peripherals using device drivers.
  • It also manages backing store, the interface and security.
  • Utility software is system software that does housekeeping tasks to maintain, protect or configure the computer.
  • A defragmenter makes files contiguous on a magnetic hard disk so they load faster; it isn't needed on an SSD.
  • Backup, compression, encryption and anti-malware tools each protect or shrink your data in a different way.
  • An interrupt is a signal to the CPU that something needs attention; it can come from hardware or software.
  • The CPU checks for interrupts after each fetch–decode–execute cycle, saves its registers, runs the interrupt service routine, then restores its registers and carries on.
  • The operating system manages interrupts by priority, so urgent ones are handled first.
🏆

Mini-lesson complete!

⭐⭐⭐

You've worked through Operating systems and utilities for Eduqas GCSE Computer Science. 🎉

  1. Mission 1One CPU core, three apps at once. How is that possible?
  2. Mission 2Why could shuffling files around make an old hard drive faster?
  3. Mission 3You tap a key mid-game. How does the CPU notice straight away?

Your stars: 0 / 0

Next: more GCSE Computer Science · Eduqas lessons and games on the GCSE Computer Science · Eduqas page.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to GCSE Computer Science · Eduqas

Specification points and sources for this lesson are listed at the bottom of the page.

Sources (2)

The specification points and sources behind this lesson.

  1. 1 Eduqas GCSE CS spec 2020, section 6; teacher guidance section 6
  2. 2 Eduqas GCSE CS spec 2020, section 6