An Operating System (OS) is the central software that manages a computer's hardware and software resources and provides common services for computer programs. It acts as an intermediary between users (or application programs) and the computer hardware. The OS ensures that applications run reliably and efficiently while providing a safe, convenient environment for user interaction.
The principal functions of an operating system include process management, memory management, file management, device management, user interface provision, security and protection, resource allocation and system performance monitoring. Each function is essential for providing a stable and usable computing environment.

The OS controls and coordinates the use of hardware devices (printers, disks, keyboards, display units, network interfaces) through device drivers and system routines. Device management ensures correct and efficient communication between hardware and software.
The OS provides a file system to organise, store, retrieve and protect user and application data. It defines how files and directories are created, named, stored, accessed and backed up.
Main memory (primary memory or RAM) must be managed so that multiple processes can execute without interfering with one another and so that CPU utilisation is maximised. The OS is responsible for allocating memory to processes, tracking used and free memory, and providing mechanisms such as virtual memory to give the illusion of larger memory.
The OS manages the CPU by scheduling processes, handling context switches and ensuring fair and efficient processor usage. In multiprocessor systems it additionally balances load across CPUs.
Operating systems must protect the system from accidental or malicious actions and provide core services to applications.
Operating systems are classified by functionality and by the environment in which they operate. Different types address different needs - from single-user convenience to real-time constraints and distributed resource sharing. Understanding types helps choose an appropriate OS for a given application or system design.
A Batch Operating System executes jobs grouped into batches without user interaction during execution. An operator collects similar jobs and submits them to the system which runs them sequentially.
Advantages:
Disadvantages:
Examples: Payroll systems, batch report generation for banks.
Multiprogramming allows several programs to reside in main memory simultaneously; the CPU switches to another program when the current one waits for I/O. This improves CPU utilisation and system throughput.
Advantages:
Time‐sharing is a kind of multiprogramming in which the CPU time is divided into small slices (quantum) and each active user process receives a time slice in turn. This provides an interactive, responsive experience for multiple users.
Advantages:
Disadvantages:
Examples: IBM VM/CMS, Time Sharing Option (TSO), Windows Terminal Services.
Multiprocessing systems use two or more CPUs to execute programs in parallel. The OS coordinates tasks among processors to increase speed and throughput.
Advantages:
Multi‐user systems allow multiple users to access resources and run applications concurrently. They can be implemented on single-processor or multi‐processor systems.
Advantages:
Distributed OS connects independent computers over a network and makes their resources available to users as if they were part of a single coherent system. Each node has its own CPU and memory.
Advantages:
Disadvantages:
Examples: LOCUS (historical example) and similar distributed systems.
Network OS runs on servers and provides services such as file sharing, printer access and user management across a private network. It emphasises centralized administration and security.
Advantages:
Disadvantages:
Examples: Windows Server, UNIX/Linux server distributions, Mac OS X server, Novell NetWare.
Real‐time operating systems are designed to respond to inputs and events within strict timing constraints. They are critical for systems where late responses can cause failure or danger. RTOS are classified as Hard real-time (where missing a deadline is unacceptable) and Soft real-time (where deadlines are important but occasional misses are tolerable).
Advantages:
Disadvantages:
Examples: Air traffic control systems, robotics controllers, weapon systems, industrial process control.
Mobile OS are optimised for smartphones, tablets and other handheld devices. They manage specialised hardware (touchscreens, sensors, radios) and provide power management, app sandboxes and mobile-specific services.
Examples: Android, iOS.
The User Interface (UI) is the layer through which users interact with the operating system and applications. A well-designed UI makes operations intuitive and improves productivity. The two main classes of UI provided by operating systems are the Graphical User Interface (GUI) and the Command Line Interface (CLI) (also termed Character User Interface - CUI).

The Character User Interface (CUI), or command-line interface, relies on textual commands typed at a prompt. Navigation and operations are performed by entering specific commands and parameters. CUIs require memorisation of commands and their options but provide powerful and scriptable control over the system.
CUIs are particularly useful for batch processing, automation, file manipulation at scale and situations where graphical capabilities are limited. For example, renaming a large number of files or performing complex text processing is typically faster and more precise using CLI tools than via a GUI.
The Graphical User Interface (GUI) uses graphical elements such as windows, icons and menus to let users perform tasks using a mouse, touch or keyboard. GUIs are generally easier to learn for most users because they reduce the need to memorise commands.
Modern GUIs support features such as drag-and-drop, keyboard shortcuts, context menus and graphical configuration tools. They provide accessibility features and visual feedback that help users avoid mistakes and learn faster.
Some widely used examples of GUI-based operating systems include:
639 videos|1072 docs|422 tests |
| 1. What is the function of an operating system? | ![]() |
| 2. How does an operating system manage computer resources? | ![]() |
| 3. What are the different types of user interfaces provided by an operating system? | ![]() |
| 4. What is process scheduling in an operating system? | ![]() |
| 5. Can an operating system be updated or upgraded? | ![]() |