Skip to content
Cambridge AS & A Level9618

Operating Systems

Computer Science 9618 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Operating Systems notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Operating Systems notes as text: skim, search, and jump between subtopics.

~13 min read

1. Why a computer system needs an Operating System

A computer system needs an Operating System (OS) for two main reasons.

It provides a platform for running applications. It also provides a user interface, which hides the complexity of the hardware and the OS from the user. Without it, the user would have to give complex commands involving memory locations and the hardware.

The tasks the OS carries out to manage the computer are the key management tasks in the next blocks. A question that asks for the purpose of the OS wants the reason it is needed, not one of those tasks.

Examiner insight

“Many of the answers stated a management task performed by the Operating System rather than a purpose of the Operating System.”

Worked example 12 marks

A student buys a new computer.

State one benefit to the student of a user interface and give an example.

  1. 1

    Benefit: the user interface hides the complexities of the computer hardware / operating system from the user [1]

  2. 2

    Example: using a graphical user interface / clicking on an icon rather than writing code [1]

2. The key management tasks

The mark scheme credits these key management tasks of the OS: memory management, file management, security management, hardware management (also written device, peripheral or resources management), input/output management and process management.

It also credits error checking and recovery, provision of a platform for software and provision of a user interface.

When a question asks for four different tasks, each must be a different task. Hardware management and device management are the same task, so they count once.

Examiner insight

“Giving four different tasks proved to be more challenging. A common incorrect response was to repeat one of the tasks already listed such as hardware management as well as device management.”

Worked example 14 marks

Bingwen’s computer comes with an Operating System and utility software.

Identify four key management tasks that the Operating System will perform.

  1. 1

    memory management [1]

  2. 2

    file management [1]

  3. 3

    security management [1]

  4. 4

    process management (or hardware / input/output management) [1]

3. Memory management and process management

Memory management is about RAM. The OS allocates RAM to processes, keeps the data of the programs that are running in RAM at the same time, and frees the memory when a process closes.

Process management decides which process runs next. It allows one process to be paused while another is actioned, so the processes share the use of the processor. Together these tasks support multi-tasking.

Memory is not the same as storage. Memory management does not organise files on the hard disk.

Examiner insight

“There was confusion here between memory management and hard disk management. Many responses incorrectly described the ways that the Operating System manages the file storage on the hard disk rather than the way it manages RAM.”

Worked example 14 marks

A computer has an Operating System (OS).

Memory management and process management are two OS tasks.

Explain how memory management and process management support multi-tasking.

  1. 1

    Memory management: stores data from all currently running programs in RAM at the same time [1]

  2. 2

    Memory management: stops the data overwriting each other in RAM [1]

  3. 3

    Process management: allows one process to be paused whilst another process is actioned [1]

  4. 4

    Process management: switches between processes so they share the use of the processor [1]

4. File, security and hardware management

File management divides the storage space into file allocation units and allocates space to particular files. It maintains directory structures, provides file naming conventions and specifies the logical method of file storage, such as FAT or NTFS. It controls access to files through access rights and password protection.

Security management manages user accounts: it creates accounts and passwords. It also provides or upgrades the firewall and anti-malware.

Hardware management receives data from input devices and sends data to output devices. It loads and installs device drivers. The examiner also expected the handling of interrupts from the peripheral and the use of buffers for data transfer.

Examiner insight

“There was some confusion with hardware management mapped to allocating file storage rather than the installation of drivers.” “It was expected that descriptions would include statements about the installation and updating of drivers, about the management of interrupts from the peripheral and the role of the Operating System in the use of buffers for data transfer.”

Worked example 14 marks

A computer has system software.

Describe the file management tasks that an Operating System performs.

  1. 1

    Storage space is divided into file allocation units and space is allocated to particular files [1]

  2. 2

    Maintains / creates directory structures [1]

  3. 3

    Specifies the logical method of file storage (e.g. FAT or NTFS) and provides file naming conventions [1]

  4. 4

    Controls access / implements access rights / password protection, and specifies tasks that can be performed on a file (e.g. open, close, delete, copy) [1]

5. Utility software

The purpose of utility software is to perform housekeeping or maintenance tasks, improving or optimising the overall performance of the computer. The syllabus lists the utilities provided with an OS.

A disk formatter prepares a disk for future use. It sets the file system, names the disk, creates a boot sector or partitions, and erases all data. Defragmentation software moves split files into contiguous blocks, so the disk head moves less and data access takes less time. Back-up software makes a copy of data at regular intervals so that it can be retrieved if it is lost or corrupted.

A virus checker removes software that might be taking up memory or replicating. Disk repair and disk contents analysis software identify and mark bad sectors so they are not used. File compression software is also a utility.

Examiner insight

“The question asked how defragmentation can improve computer performance. Unfortunately many candidates saw the word ‘defragmentation’ and simply wrote down a description of how defragmentation software operates without any reference to computer performance and so did not answer the question.” “This question required candidates to describe the reasons why a hard disk formatter is needed and not how the utility software works. While there were some better answers, there was also considerable confusion with disk defragmentation software.”

Worked example 14 marks

Identify two utility programs that can be used to improve the performance of a computer and state how they improve the performance.

  1. 1

    Utility 1: defragmentation [1]

  2. 2

    Less time is taken to access files because each one is contiguous, so there is less head movement [1]

  3. 3

    Utility 2: virus checker [1]

  4. 4

    Makes more RAM available for programs to run, because it removes software that might be taking up memory / replicating [1]

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Give two reasons why a computer system requires an Operating System.2 marks
    Answer
    1. It provides a platform for running application software.
    2. It provides a user interface that hides the complexity of the hardware from the user.

    Trap: Writing ‘it manages files and memory’ names management tasks, not a purpose of the OS.

  2. A student lists these Operating System tasks: hardware management, device management, security management and process management. The student scores 3 out of 4. Explain why, and give a fourth task that would score.2 marks
    Answer
    1. Hardware management and device management are the same task, so they count once.
    2. A different fourth task, for example file management or memory management.

    Trap: Counting two names for one task as two different tasks.

  3. A student writes: ‘Memory management is how the Operating System organises files on the hard disk.’ Correct the statement.2 marks
    Answer
    1. Memory management is about RAM, not the hard disk.
    2. The OS allocates RAM to processes and frees it when a process closes. Organising files is file management.

    Trap: Confusing memory with storage, which the examiner reported.

  4. A printer is plugged into a computer for the first time. State two things the Operating System does as part of hardware management.2 marks
    Answer
    1. It loads and installs the device driver for the printer.
    2. It transfers data between the computer and the printer.

    Trap: Describing allocating file storage, which is file management.

  5. A hard disk is slow to open a large file because the file is split into many parts stored in different places on the disk. Name the utility software that fixes this and explain how it improves performance.3 marks
    Answer
    1. Defragmentation software.
    2. It moves the split file into contiguous blocks.
    3. The disk head moves less, so the file is read in less time.

    Trap: Describing only what the software does and never linking it to performance.

  6. Describe the purpose of a disk formatter.2 marks
    Answer
    1. It prepares a disk for future use, so that files can be stored.
    2. It sets the file system and creates partitions, a boot sector or a volume label, and erases all data.

    Trap: Mixing up the disk formatter with defragmentation software.

  7. A school copies all coursework to a second disk every night. Name the utility software and explain why the school does this.3 marks
    Answer
    1. Back-up software.
    2. It makes a copy of the data at regular intervals.
    3. If the original is lost or corrupted, the data can be retrieved from the copy.

    Trap: Describing only what back-up software does, with no reason why the school needs it.

  8. Define the term program library and state what a developer does with one.2 marks
    Answer
    1. A set of pre-written, pre-compiled, pre-tested routines.
    2. The developer constructs software using this existing code instead of writing it again.

    Trap: A vague definition such as ‘programs that anyone can use’ earns no mark.

  9. A developer writes two programs, a timetable app and a register app. Both call the same set of date routines. The developer can put the routines in a Dynamic Link Library (DLL) file or link a copy into each executable file. A month after release, an error is found in one date routine. Explain three benefits to the developer of using the DLL file. For each, say whether it saves disk space, memory or the developer's time, and why.6 marks
    Answer
    1. Time: the developer corrects and replaces only the DLL file [1]. Neither app needs recompiling, because the DLL file can be updated independently of the calling program, so the update applies to both apps [1].
    2. Disk space: each executable file is smaller [1], because it does not contain the library routines; the code is only linked at execution [1].
    3. Memory: the main memory needed is reduced [1], because the DLL file is only loaded into memory when required, and one DLL file can be used by both apps while they run [1].

    Trap: Writing ‘it saves space and time’ without saying whether it is disk space or memory and why, which the examiner reported.

  10. A photographer uses a laptop. (i) She runs a photo editor and a music player at the same time, and the data of one program never overwrites the other's. Identify the OS task responsible and explain how it does this. [2] (ii) Image files she saved a year ago now take longer to open, although the files have not changed. Explain why, and how utility software can improve the performance of the laptop. [4] (iii) She plugs in a new graphics tablet and it works at once. Identify the OS task responsible and describe one thing it does for the tablet. [2]8 marks
    Answer
    1. (i) Memory management [1].
    2. It stores the data of all running programs in RAM at the same time and stops the data overwriting each other in RAM [1].
    3. (ii) With continued use, files are split and stored in different places on the disk, so time is spent by the disk head moving between them [1].
    4. Defragmentation software [1] moves the split files into contiguous blocks [1].
    5. The disk head does not need to move as much, so data access takes less time and performance is improved [1].
    6. (iii) Hardware management [1].
    7. It loads and installs the device driver for the tablet, or it receives data from the input device [1].

    Trap: Describing how the OS organises files on the disk in (i), where RAM is meant, or describing defragmentation in (ii) with no link to performance: both mistakes examiners reported.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
The OS manages files, memory and processes.The OS provides a platform for running applications and a user interface that hides the complexity of the hardware.
Memory management organises the files on the hard disk.Memory management allocates RAM to processes and frees the memory when a process closes.
Defragmentation software moves the parts of each file together.Defragmentation software moves split files into contiguous blocks, so the disk head does not need to move as much and data access takes less time, so performance is improved.
A DLL saves space and saves time.A DLL file is only loaded into main memory when required, so the memory needed by the program is reduced.

Frequently asked questions

Why does a computer system need an operating system?
An Operating System provides a platform for running applications and a user interface. The user interface hides the complexity of the hardware and the OS from the user. Without it, the user would have to give complex commands involving memory locations and the hardware. Naming a management task is not a purpose of the OS.
What is the difference between memory management and file management?
Memory management is about RAM. The OS allocates RAM to processes, keeps the data of running programs in RAM and frees the memory when a process closes. File management divides the storage space into file allocation units, allocates space to files, maintains directory structures and controls access to files.
How do memory management and process management support multi-tasking?
Memory management stores data from all currently running programs in RAM at the same time and stops the data overwriting each other. Process management allows one process to be paused while another is actioned, and switches between processes so they share the use of the processor.
What is a Dynamic Link Library (DLL) file, and what does it save?
A DLL file is kept separate from the program that calls it. It is only loaded into main memory when required, so less main memory is used. The executable file is smaller because it does not contain the library routines, and the program does not need recompiling when a DLL file changes.
How does defragmentation improve computer performance?
Defragmentation software moves split files into contiguous blocks. The disk head moves less, so data access takes less time and performance is improved. Describing how the software operates, with no reference to performance, does not answer the question.
Does memory management organise the files on the hard disk?
No. Memory management is about RAM, and it does not organise files on the hard disk. Examiners reported confusion between memory management and hard disk management. Organising files on the disk is file management, which divides the storage space into file allocation units.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters