5.1.1 Why Computers Need an Operating System
A modern computer contains many hardware components and may run several programs at the same time. The user should not have to control the processor, memory, storage and peripheral devices separately. An operating system provides the common software layer that makes the whole system practical to use.
By the end of this section, you should be able to:
- Explain why direct control of modern computer hardware would be impractical.
- Describe an operating system as system software that supports users and programs.
- Explain how the operating system sits between applications and hardware resources.
- Distinguish system software from application software by considering its purpose.
- Trace a simple user request from an application to the relevant hardware.
Why Is an Operating System Necessary?
Imagine creating a presentation for a school event. You open a slide editor, insert a video, play its sound, save the file and send it to a printer. Each action uses different parts of the computer, but you do not manually choose memory locations, issue commands to the storage controller or generate signals for the printer.
Instead, the application makes requests for services. The operating system coordinates those requests and communicates with the required hardware. This arrangement gives applications a consistent way to use the computer without every developer having to recreate low-level hardware-control code.
| What the user wants to do | What would be difficult without an OS | How the OS helps |
|---|---|---|
| Open a large media file | The application would need to locate the data and arrange memory use itself. | The OS provides file and memory services. |
| Play sound while editing | Several programs might compete for the audio device and processor time. | The OS coordinates access to shared resources. |
| Print the finished slides | The application would need detailed knowledge of each printer model. | The OS provides a common route to the printer through system software. |
The Operating System as a Software Layer
The operating system is positioned between application software and the hardware. The user normally works through an application or an operating-system interface. The application then requests a service, and the operating system arranges access to the required resource.
| Layer | Main role | Examples |
|---|---|---|
| User | Chooses a task and provides input. | Saving work, playing media, printing |
| Application software | Provides tools for a particular user task. | Presentation editor, browser, image editor |
| Operating system | Provides common services and coordinates hardware use. | File access, memory allocation, device access |
| Hardware | Performs the physical processing, storage, input and output. | CPU, RAM, SSD, display, printer |
System Software and Application Software
Software can be classified by its purpose. System software supports the operation of the computer or provides services for other software. Application software is designed to help the user carry out a particular task.
| Question to ask | System software | Application software |
|---|---|---|
| What is its main purpose? | To operate, manage or support the computer system. | To help the user complete a specific task. |
| What does it mainly work with? | Hardware resources and other software. | User data and task-specific operations. |
| Original example | An operating system coordinating access to a shared printer. | A timetable editor used to prepare a school schedule. |
Following a Request Through the System
Consider a student selecting Save in a video-editing application. The action can be understood as a sequence of responsibilities rather than as one program directly controlling every component.
| Stage | What happens |
|---|---|
| 1. User action | The student chooses a filename and selects a storage location. |
| 2. Application request | The editor asks the operating system to store the data. |
| 3. OS coordination | The OS checks access, organises the file operation and communicates with the storage device. |
| 4. Hardware action | The storage hardware records the binary data. |
| 5. Result returned | The application receives confirmation or an error message. |
The exact management techniques are studied in the next section. At this stage, the important idea is that the OS provides a common, controlled route to the hardware.
Interactive: System Software Sorter
Select each item and classify it as system software, application software or hardware/manual control. Use the explanation in the result card to check whether you classified it by purpose rather than appearance.
Common Mistakes and Misconceptions
- “The OS is the CPU.” The CPU is hardware; the operating system is software executed by the processor.
- “The OS is an application because users click on it.” Visibility does not determine the category. The OS supports and manages the system.
- “The OS does every task.” Applications perform user-facing tasks, while the OS provides services and coordinates resources.
- “A computer without an OS cannot execute any instructions.” Special-purpose systems can run firmware or a single control program without a general-purpose OS. The syllabus question concerns why a general-purpose computer system requires one.
- “It makes the computer work.” This is too vague unless you explain that the OS provides an execution environment and coordinates hardware access.
Practice
Try these original questions
- Define the term operating system in your own words.
- Explain two reasons why direct hardware control would be impractical on a modern laptop.
- Distinguish between system software and application software using purpose in your answer.
- A music application needs to read a file, reserve memory and send data to speakers. Explain why the application benefits from an operating system.
- Classify each item: operating system, graphics editor, SSD, browser and printer.
- A student writes, “An operating system is a physical part that runs applications.” Identify both errors and correct the statement.
- Trace what happens at a high level when a user selects Print in a drawing program.
- Explain why “it has a graphical interface” is not a reliable way to distinguish system software from application software.
Review
| Check | You are secure when you can... |
|---|---|
| Need for an OS | Connect hardware complexity and shared resources to the need for coordination. |
| OS definition | Refer to an execution environment, services for programs and hardware coordination. |
| Software types | Compare system and application software by purpose rather than appearance. |
| Layer model | Explain the route user → application → operating system → hardware. |