- 2071 Magh · 1+4 marks
- Year not given
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
| Basis | Kernel (monolithic) | Micro-kernel |
|---|---|---|
| Size | Large, all services inside | Very small, only essentials |
| Services in kernel mode | File system, drivers, memory, networking | Only IPC, scheduling, basic memory |
| Other services | Part of the kernel | User-mode server processes |
| Speed | Faster (direct function calls) | Slower (message passing) |
| Reliability | A bug in a driver can crash the system | A server failure does not crash the kernel |
| Extending | Needs kernel recompile | Add or replace servers easily |
| Examples | Traditional UNIX, Linux | Mach, QNX, MINIX 3 |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Monolithic vs micro-kernel structure · Operating System, chapter 1
- Extended machine, kernel, system call · Operating System, chapter 1
- OS abstraction, extended machine, system call · Operating System, chapter 1
- Device controller vs kernel; DMA · Operating System, chapter 6
- Process vs thread; user and kernel threads · Operating System, chapter 2
- OS as virtual machine; functions · Operating System, chapter 1
- Importance of kernel OS in embedded · Embedded System, chapter 6
- File system handling of kernel · Embedded System, chapter 6
- Microkernel vs monolithic kernel · Distributed System, chapter 3
- Features of a typical operating system · Microprocessor, chapter 6 · asked 3×