Chapter 1

OS Structures and Processing Models

Study monolithic/layered/microkernel designs and compare multiprogramming, multitasking, multiprocessing, distributed systems.

Estimated time: 26 min

This topic explains how OS internals are arranged and how multiple tasks get CPU time.

Architecture trade-offs show up in reliability, performance, and maintainability discussions.

Kernel Organization

From notes

Clear explanation

Monolithic kernels keep many services together; layered design enforces levels; microkernels move many services to user space for reliability.

What it really means

Bigger core gives speed but larger blast radius for bugs; smaller core gives safety with communication overhead.

Example

A buggy user-space driver in microkernel can fail without crashing the whole system.

Key takeaway

Structure choice is a performance-vs-reliability trade-off.

Execution Models

From notes

Clear explanation

Multiprogramming keeps several programs in memory, multitasking time-slices one CPU across tasks, and multiprocessing uses multiple CPUs in parallel.

What it really means

Fast switching can look like simultaneous execution, but real parallelism needs multiple cores.

Example

Round-robin time slices on one core vs two cores truly running two threads at once.

Key takeaway

Know whether concurrency is interleaving or real parallel execution.

  • - Mixing OS structure with scheduling algorithms
  • - Assuming multitasking means multiple CPUs
  • - Missing reliability goal of microkernel split
  • - Monolithic: one large kernel, fast but tightly coupled
  • - Layered: clear abstraction levels
  • - Microkernel: minimal kernel, more services in user space
  • - Multiprogramming != multiprocessing

Exam lens for this topic

What evaluators usually expect in structured exam answers.

Must-use keywords

  • - Monolithic
  • - Layered
  • - Kernel
  • - Multiprogramming
  • - Multitasking

Answer flow

  • - Define structure/model asked in question
  • - Draw neat architecture diagram
  • - Explain each layer/component
  • - Conclude with one benefit and one limitation

Diagram expectations

  • - Monolithic vs layered structure

Repeated pattern: Monolithic and layered comparison repeats across years.

Practice Questions

  • Define Multiprogramming, Multiprocessing, Multitasking.

    Source: Winter 2024 Q1(A)

    Answer focus: Short definitions + CPU count and behavior difference.

  • List OS structures and explain Layered and Monolithic OS.

    Source: Winter 2023 Q1(C) OR

    Answer focus: Structure list + two detailed comparisons.

Practice from papers (end-of-topic set)

These paper questions map directly to this topic. Solve now, then compare your structure with linked topics.

Question Bank Linked Here

Open all questions

How to answer linked exam questions

Full question bank