1. The Operating System: The Computer's Manager
An operating system (OS) is the most important piece of system software on a computer. It acts as a master controller, managing all the computer's hardware and software resources. Think of it as an intermediary: it sits between you (the user) and your applications, and the physical hardware components. Without an OS, you would need to manually control every aspect of the hardware, which is incredibly complex. The OS provides a user interface to interact with the computer, such as a Graphical User Interface (GUI) with icons and windows, or a Command-Line Interface (CLI) where you type commands. Its main jobs include managing memory, scheduling which programs get to use the processor (CPU), handling input and output devices, organising files on storage drives, and maintaining system security.
Key term
Examiner insight
Common pitfall
Fun fact
Worked example 16 marks
Identify and explain briefly three management tasks carried out by an operating system. [6]
- 1
- Memory Management: The OS manages the computer's main memory (RAM). It allocates memory to processes that need it and deallocates it when they are finished. It also ensures that one process cannot interfere with the memory space of another, which is called memory protection.
- 2
- Processor (CPU) Management/Scheduling: In a multitasking system, many processes compete for CPU time. The OS scheduler decides which process gets to use the CPU and for how long. This ensures the CPU is used efficiently and the system remains responsive.
- 3
- File Management: The OS provides a logical view of information storage. It allows users to create, save, delete, and move files. It manages where files are physically stored on a disk and provides a directory/folder structure to keep them organised. It also controls access rights to files.
Worked example 24 marks
Name two different types of user interface an operating system can provide and identify a suitable input device for each. [4]
- 1
- Interface Type 1: Graphical User Interface (GUI). This interface uses windows, icons, menus, and pointers (WIMP). A suitable input device is a mouse or a touchscreen.
- 2
- Interface Type 2: Command-Line Interface (CLI). This interface requires the user to type text-based commands. A suitable input device is a keyboard.
Recap
- An operating system is system software that manages all hardware and software resources.
- The OS acts as an intermediary between the user and the computer's hardware.
- Key OS functions include memory, processor, file, and device management.
- The OS provides a user interface, such as a GUI or a CLI, for user interaction.
- Without an OS, using a modern computer would be practically impossible for most users.
- Security management, such as user authentication and access control, is also a critical OS task.
Quick check
- What is the primary purpose of an operating system?1 mark
- List two key management tasks performed by an OS.2 marks