Typesofoperatingsystems

9 min read1,660 words

Types of Operating Systems

Operating systems can be classified based on how they process tasks, how many users they support, how many programs they run, and the type of devices they control.

The major types are:

  1. Batch Operating System
  2. Multiprogramming Operating System
  3. Multitasking Operating System
  4. Time-Sharing Operating System
  5. Multiprocessing Operating System
  6. Multi-User Operating System
  7. Distributed Operating System
  8. Network Operating System
  9. Real-Time Operating System
  10. Embedded Operating System
  11. Mobile Operating System

1. Batch Operating System

A Batch Operating System executes jobs in groups or batches without requiring continuous interaction from the user.

The user submits jobs, and the OS processes them one after another.

Example

Job 1 → Job 2 → Job 3 → Job 4 ↓ Processing

For example, suppose a company has thousands of salary calculations.

Instead of processing each employee interactively:

Employee 1 Employee 2 Employee 3 ... Employee 10000

The jobs can be collected and processed as a batch.

Characteristics

  • Jobs are collected together.
  • Jobs are executed sequentially.
  • Little or no user interaction during execution.
  • Suitable for repetitive tasks.

Advantages

  • Efficient for large numbers of similar jobs.
  • Reduces manual intervention.
  • Good for repetitive processing.

Disadvantages

  • No immediate response.
  • Debugging can be difficult.
  • A job may have to wait for previous jobs.

2. Multiprogramming Operating System

A multiprogramming OS keeps multiple programs in memory at the same time.

The CPU switches between programs when one program is waiting for an I/O operation.

For example:

RAM +----------------+ | Program A | | Program B | | Program C | | Program D | +----------------+

Suppose Program A is waiting for disk I/O:

Program A → Waiting for I/O ↓ CPU → Program B ↓ CPU → Program C

Therefore, CPU utilization increases.

Main Goal

Keep the CPU busy as much as possible.

Example

Traditional mainframe systems used multiprogramming extensively.

3. Multitasking Operating System

A multitasking OS allows multiple tasks or applications to appear to run simultaneously.

For example:

Chrome VS Code Music Player Terminal File Manager

You can switch between them quickly.

The CPU actually executes instructions for processes over small time intervals.

CPU ↓ Task A ↓ Task B ↓ Task C ↓ Task A ↓ Task D

Modern operating systems such as Windows, Linux, and macOS support multitasking.

Types of Multitasking

Preemptive Multitasking

The OS can interrupt a running process and give CPU time to another process.

Modern general-purpose operating systems mainly use this approach.

Cooperative Multitasking

A running program voluntarily gives up CPU control.

This can be less reliable because a badly behaved program may prevent other programs from running.

4. Time-Sharing Operating System

A time-sharing OS allows multiple users or processes to interact with the computer by giving each one a small amount of CPU time.

This small CPU interval is called a time slice or time quantum.

Example:

Time ↓ User A → CPU User B → CPU User C → CPU User A → CPU User B → CPU

Because switching happens very quickly, users feel that they are using the system simultaneously.

Main Goal

Provide fast response and interactive computing.

Characteristics

  • Interactive
  • Supports multiple users/processes
  • Uses CPU time slices
  • Requires efficient scheduling

5. Multiprocessing Operating System

A multiprocessing OS supports a computer with multiple CPUs or processor cores and can execute multiple processes in parallel.

For example:

Operating System | +-------+-------+ ↓ ↓ ↓ CPU 1 CPU 2 CPU 3 ↓ ↓ ↓ Process Process Process A B C

Modern computers commonly have multiple CPU cores.

For example:

4-Core CPU Core 1 → Process A Core 2 → Process B Core 3 → Process C Core 4 → Process D

Advantages

  • Higher performance
  • Better throughput
  • Parallel execution
  • Improved reliability in some architectures

6. Multi-User Operating System

A multi-user OS allows multiple users to use system resources.

For example, a Linux server can have:

User A User B User C User D ↓ Linux Server

Each user may have different:

  • Accounts
  • Files
  • Permissions
  • Processes
  • Resource access

Example

Linux and Unix systems are commonly used as multi-user systems.

Important

Multi-user does not necessarily mean that all users physically sit at the same computer.

Users can access a server remotely.

7. Distributed Operating System

A Distributed Operating System manages a collection of interconnected computers and attempts to make them work together as a coordinated system.

Simplified:

Distributed OS | +---------+---------+ ↓ ↓ ↓ Computer 1 Computer 2 Computer 3 | | | +---------+---------+ Network

The machines communicate through a network.

Goals

  • Resource sharing
  • Load distribution
  • Reliability
  • Parallel processing
  • Transparency

Important Concept

The user may perceive multiple connected computers as a coordinated system.

Distributed operating systems are different from simply having computers connected to a network.

8. Network Operating System

A Network Operating System (NOS) provides services for computers connected through a network.

It can manage:

  • Network users
  • Shared files
  • Printers
  • Authentication
  • Network resources
  • Remote access

Example:

PC 1 ───┐ PC 2 ───┼── Network Server PC 3 ───┤ PC 4 ───┘

Examples include server-oriented Windows and Linux systems providing network services.

Difference from Distributed OS

Network OSDistributed OS
Computers are clearly separateAttempts to provide more unified system behavior
Network resource sharing is importantSystem-wide coordination is important
Users may know which machine provides a serviceGreater transparency may be provided
Common in serversMore specialized concept

9. Real-Time Operating System (RTOS)

A Real-Time Operating System is designed to respond to events within specified timing constraints.

The important point is not simply "fast."

The important point is:

Predictable response within required deadlines.

For example:

Sensor detects event ↓ RTOS receives event ↓ Process executes ↓ Actuator responds

RTOS is useful when timing is critical.

Examples of applications

  • Industrial control
  • Robotics
  • Automotive systems
  • Medical equipment
  • Aerospace systems
  • Embedded controllers

Types of Real-Time Systems

Hard Real-Time

Missing a deadline can cause serious system failure.

Example:

Aircraft control system

Soft Real-Time

Missing an occasional deadline is undesirable but not necessarily catastrophic.

Example:

Multimedia/audio processing

10. Embedded Operating System

An Embedded Operating System is designed for specialized devices with limited resources or specific functions.

Examples:

Smart TV Router Printer IoT device Car controller Industrial controller

Typical characteristics:

  • Limited memory
  • Limited processing power
  • Specific purpose
  • Low power requirements
  • Reliable operation

For example:

IoT Device ↓ Microcontroller ↓ Embedded Software / RTOS ↓ Sensors + Actuators

Examples of embedded OS technologies include FreeRTOS and Zephyr.

11. Mobile Operating System

A Mobile Operating System is designed specifically for mobile devices such as smartphones and tablets.

Major examples:

  • Android
  • iOS

Mobile operating systems manage:

  • Touchscreen
  • Camera
  • GPS
  • Mobile network
  • Wi-Fi
  • Bluetooth
  • Battery
  • Sensors
  • Applications

Example:

Android | +-------+-------+ ↓ ↓ ↓ Camera GPS Wi-Fi ↓ ↓ ↓ Hardware + Sensors

Important Comparison

TypeMain Purpose
Batch OSProcess jobs in batches
Multiprogramming OSKeep CPU busy with multiple programs
Multitasking OSRun multiple tasks seemingly simultaneously
Time-Sharing OSGive users/processes CPU time slices
Multiprocessing OSUse multiple CPUs/cores
Multi-User OSSupport multiple users
Distributed OSCoordinate multiple computers
Network OSManage network resources/services
Real-Time OSMeet timing/deadline requirements
Embedded OSRun specialized devices
Mobile OSManage smartphones/tablets

Important Differences

Multiprogramming vs Multitasking

MultiprogrammingMultitasking
Multiple programs are kept in memoryMultiple tasks are actively managed
Main goal is CPU utilizationMain goal is responsiveness and task management
CPU switches when a process waits, historicallyCPU can be preemptively switched between tasks
Concept is strongly associated with batch systemsCommon in modern desktop/mobile systems

Multitasking vs Multiprocessing

These two terms are often confused.

Multitasking

Multiple tasks are managed by the OS.

One or more CPU cores ↓ Task A Task B Task C

Multiprocessing

Multiple processors/cores are available for execution.

Core 1 → Task A Core 2 → Task B Core 3 → Task C

A modern computer can have both multitasking and multiprocessing.

Time-Sharing vs Real-Time

Time-SharingReal-Time
Focuses on interactive responseFocuses on timing deadlines
CPU time is sharedTasks may have strict priorities/deadlines
Used in general-purpose systemsUsed where predictable timing is important
Example: interactive Linux systemExample: industrial controller

Easy Way to Remember

Think about the main purpose:

Batch → Jobs in batches Multiprogram → Keep CPU busy Multitasking → Many tasks Time-sharing → Many users/tasks get time slices Multiprocessing→ Multiple CPUs/cores Multi-user → Many users Distributed → Many computers work together Network → Network resources Real-time → Timing deadlines Embedded → Specialized devices Mobile → Phones/tablets

Exam Definition

An operating system can be classified into different types based on its processing method, number of users, number of processors, response requirements, and target device. Major types include batch, multiprogramming, multitasking, time-sharing, multiprocessing, multi-user, distributed, network, real-time, embedded, and mobile operating systems.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy