Skip to main content

OS definition and types of OS

Short answer

An operating system manages hardware resources and provides services for users and applications. Types include batch, multiprogramming, time-sharing, multiprocessor, distributed, and real-time OS. A monolithic kernel runs all services in kernel mode; a microkernel runs only IPC, scheduling, and basic memory in kernel mode with other services as user-mode servers.

What is an operating system? Briefly mention the types of operating system. Distinguish between kernel and micro-kernel.

An operating system is system software that manages hardware resources and provides services and a convenient interface for users and application programs (for example Windows, Linux, Android).

Types of operating systems

  • Batch OS: similar jobs are collected into a batch and run one after another without user interaction.
  • Multiprogramming OS: several jobs are kept in memory and the CPU switches to another job when one waits for I/O, so the CPU stays busy.
  • Time-sharing (multitasking) OS: the CPU is switched quickly among users/processes using small time slices, so each user gets an interactive response (UNIX, Linux).
  • Multiprocessor (parallel) OS: manages a computer with more than one CPU sharing memory and I/O.
  • Distributed OS: manages a group of independent computers connected by a network and makes them appear as one system.
  • Real-time OS: guarantees a response within a fixed deadline (industrial control, missile systems).
  • Network OS and embedded/mobile OS are other types.

Kernel vs micro-kernel

BasisKernel (monolithic)Micro-kernel
SizeLarge, all services insideVery small, only essentials
Services in kernel modeFile system, drivers, memory, networkingOnly IPC, scheduling, basic memory
Other servicesPart of the kernelUser-mode server processes
SpeedFaster (direct function calls)Slower (message passing)
ReliabilityA bug in a driver can crash the systemA server failure does not crash the kernel
ExtendingNeeds kernel recompileAdd or replace servers easily
ExamplesTraditional UNIX, LinuxMach, QNX, MINIX 3

✓ Answer checked by Claude Opus 5.5 (high effort)

All Operating System chapter 1 questions →