Stewdent.eu
▾

Operating System

An operating system (OS) is system software that manages computer hardware, software resources, and provides services for programs.

Last updated: 25 December 2025

★☆☆☆☆ Level 1computingglossarySystemsoperating-system4 min read

Report an error

Definition

An operating system (OS) is the foundational software that runs on a computer and acts as an intermediary between the user, the applications they run, and the underlying hardware. Without an operating system, application software would need to communicate directly with the CPU, memory, and storage — an impossibly complex task for every developer to handle independently.

The OS handles these low-level details so that applications can focus on their specific purpose.

Main Functions of an Operating System

Process Management

The OS controls which programs run, when they run, and how much CPU time each receives. On a modern computer, many processes (running programs) exist simultaneously — the OS schedules them, giving each a brief turn on the CPU so quickly that it appears everything is running at the same time.

Memory Management

The OS allocates portions of RAM to each running program and ensures that programs cannot interfere with each other's memory. When a program closes, the OS reclaims that memory for future use.

File System

The OS provides a structured way to store, organise, retrieve, and delete data on storage devices. It manages directories (folders), file names, permissions, and the physical location of data on disk.

User Interface

The OS provides the means by which users interact with the computer — either through a Graphical User Interface (GUI) with windows, icons, and menus, or through a Command Line Interface (CLI) where the user types text commands.

Note

Even when you think no programs are open, the OS itself is always running in the background — managing hardware drivers, handling network connections, processing system events, and much more.

Examples of Operating Systems

Operating SystemPrimary Use
WindowsPersonal computers and laptops (Microsoft)
macOSApple Mac computers
LinuxServers, developer workstations, and embedded systems
AndroidSmartphones and tablets (based on Linux)
iOSApple iPhones and iPads
ChromeOSChromebook laptops (Google)
Tip

Linux is not a single operating system but a family of distributions (distros) — Ubuntu, Fedora, Debian, and many others — all built around the same core (the Linux kernel). Most of the world's web servers run Linux.

The OS as an Abstraction Layer

One of the most important concepts behind an operating system is abstraction: hiding complexity behind a simple interface. A program that wants to read a file does not need to know whether the data is stored on an HDD, an SSD, or a network drive — it simply asks the OS, and the OS handles the details.

This is why the same application (such as a web browser) can run on many different hardware configurations without being rewritten for each one.

Practice Problems

Name four main functions of an operating system.

Show answer
Process management, memory management, file system management, and providing a user interface (GUI or CLI).

What is the difference between a GUI and a CLI?

Show answer
A GUI (Graphical User Interface) uses windows, icons, and menus for interaction. A CLI (Command Line Interface) requires the user to type text commands.

Why does every program need an operating system?

Show answer
The OS provides essential services — managing CPU time, memory, storage, and hardware — so that application programs do not have to handle these low-level details themselves.