1. The Role of the Operating System
An operating system (OS) is the most important piece of system software on a computer. It acts as an intermediary between the user and the computer's hardware. Without an OS, you would have to manually control every aspect of the hardware, which is incredibly complex. The OS manages all hardware and software resources, providing a stable and consistent environment for applications to run. Its main functions include providing a user interface, managing memory, managing the processor (CPU), handling input and output devices, managing files on storage drives, and ensuring system security.
Key term
Examiner insight
Common pitfall
Fun fact
Worked example 14 marks
One of the reasons for having an operating system is to provide a user interface. Name two different types of interface an OS can provide and give an example of a suitable input device for each.
- 1
- Graphical User Interface (GUI): This interface uses windows, icons, menus, and pointers (WIMP) to allow users to interact with the system visually.
- 2
Input device for GUI: A mouse is used to point at and click on icons and menus.
- 3
- Command Line Interface (CLI): This interface requires the user to type in text-based commands to perform tasks.
- 4
Input device for CLI: A keyboard is used to type the commands.
Worked example 26 marks
Identify and explain briefly three management tasks carried out by an operating system.
- 1
- Memory Management: The OS is responsible for allocating and deallocating portions of the main memory (RAM) to programs and data. It ensures that one process does not interfere with the memory space of another.
- 2
- Processor (CPU) Management: In a multitasking system, the OS decides which process gets to use the CPU and for how long. This is managed by a scheduler to ensure the CPU is used efficiently and all processes get a fair amount of processing time.
- 3
- File Management: The OS provides a logical file system for storing, retrieving, organising, and deleting files on secondary storage devices like hard drives. It manages file permissions and keeps track of where files are located.
Recap
- An operating system is essential software that manages all computer hardware and software.
- It provides a user interface (like a GUI or CLI) to hide hardware complexity from the user.
- Key OS tasks include memory management, processor management, and file management.
- The OS handles all communication with peripheral devices such as printers and keyboards.
- It is responsible for system security, such as user authentication and access rights.
Quick check
- What is the general term for the OS function that involves allocating CPU time to different running programs?1 mark
- State the two main types of user interface.2 marks