The Operating System (OS)

1. Introduction to Software

Software is the collection of instructions and data that tells the computer hardware what to do. Hardware is the body; software is the mind.

System Software

Whom it works for: The Hardware.

It manages the computer's resources and provides a platform for other software to run.

Categories: Operating Systems, Utility Programs, Library Programs, Language Translators (Compilers/Interpreters).

Application Software

Whom it works for: The User.

It allows users to perform specific tasks or solve real-world problems.

Categories: Word Processors, Spreadsheets, Database Management Systems, Web Browsers, Graphic Editors.

2. Firmware: The Link

Firmware is a specific type of software that is "hard-coded" into a hardware device.

Firmware provides the low-level control for a device's specific hardware. It acts as the permanent instructions that tell hardware how to communicate with the Operating System.
Example: The BIOS on a motherboard or the code inside a washing machine controller.

3. The Operating System (OS)

The Operating System is the most important piece of system software. It acts as an interface between the user and the hardware.

Examples: Windows, macOS, Linux, Android, iOS.

4. Core Functions of the OS

The OS manages the complexity of the computer through these 7 key functions:

1. Memory Management Allocates RAM to different programs and prevents them from interfering with each other's data.
2. Processor Management Decides which process gets the CPU's attention and for how long (Scheduling).
3. Peripheral Management Communicates with input and output devices (via drivers) like printers and monitors.
4. Storage Management Manages how data is saved, deleted, and organized on HDDs/SSDs (the File System).
5. Security Management Handles user logins, passwords, and access rights to keep data private.
6. User Interface (UI) Provides the way for humans to interact with the machine (GUI or CLI).
7. Interrupt Handling Responds to signals from hardware or software that need immediate CPU attention.
⚠️ Exam Tip: If an exam asks for the "primary purpose" of an OS, use the phrase: "To manage the computer's hardware and provide an interface for the user."
End of OS Introduction Notes • Ready for Utility Software and Device Drivers?