Nivaar Exam Prep

25-Comp-A5 Operating Systems

Worked solutions to 11 past sittings (2013–2019), 77 questions. Pick a sitting, or start from a topic below.

Last updated

Study guide for this subject

The study guide for this subject maps 14 topics across the 11 sittings it covers. It works 14 recurring problem types as step-by-step methods and has a formula sheet of 11 entries.

The topics it maps, and how many of those sittings each came up in:

Open the study guide 🔒What the Pass includes

The full guide comes with the Computer Engineering Pass, which is not on sale yet. The worked solutions stay free, with or without a Pass.

Like the solutions, the guide is AI-drafted, checked by scripts and against cited sources, and edited by the operator; it may contain errors. Last checked 6 November 2026.

Topics across the sittings

Topics that come up in more than one of the 11 sittings, taken from the headings of our worked solutions. Each cell links to that sitting's questions on the topic; a blank cell means no question heading in that sitting names it. Tick them off as you study in our topic checklist.

TopicSittingsMay
2013
Dec
2013
May
2014
Dec
2014
May
2015
Dec
2015
May
2017
Dec
2017
May
2018
printed
May 2019
Dec
2019
Deadlocks10Q7Q3Q2 Q7Q4Q3 Q4Q5Q5Q4 Q6Q4Q3 Q5
Protection10Q6Q7Q6Q3Q7Q7Q7Q7Q7Q7
CPU Scheduling8Q1Q1Q1Q1Q1Q1Q2Q1 Q6
Disk Scheduling7Q6Q6Q3Q7Q6Q4Q4
Fragmentation7Q4Q4Q3Q7Q6Q2Q7
Monitors6Q2Q5Q5Q3Q6Q1
Paging6Q3Q2Q2 Q3Q2Q5Q2
Starvation5Q7Q4Q3Q1Q3
Demand Paging4Q2Q2Q5Q2
Effective Access Time4Q6Q2Q2Q3
Page Replacement4Q5Q7Q3Q3
Address Binding3Q5Q7Q7
Address Translation3Q2Q7Q2
File Allocation3Q4Q5Q4
Free-Space Management3Q4Q4Q4

Questions by sitting

December 2019

  1. Question 1
  2. Question 2
  3. Question 3
  4. Question 4
  5. Question 5
  6. Question 6
  7. Question 7

May 2018

  1. Question 1: Critical Section, Monitors, Real-Time Systems
  2. Question 2: CPU Scheduling
  3. Question 3: Locality of Reference, Thrashing, and Working Sets
  4. Question 4: Deadlocks and Disk Scheduling
  5. Question 5: Demand Paging and Page Reference Strings
  6. Question 6: File Systems — Access Control and Allocation Performance
  7. Question 7: Protection, Address Translation, and Scheduling Trade-offs

December 2017

  1. Question 1: CPU Scheduling and Starvation
  2. Question 2: Multiprogramming, Effective Access Time, Fragmentation
  3. Question 3: Page Replacement and Memory Allocation
  4. Question 4: Deadlock Feasibility and Disk Scheduling
  5. Question 5: File Allocation and the Critical-Section Problem
  6. Question 6: Deadlock States, Prefetching, and Multithreading
  7. Question 7: File Systems and Protection

May 2017

  1. Question 1: Dynamic-Priority Scheduling and SJF
  2. Question 2: Address Translation and Demand Paging
  3. Question 3: Critical Section Problem
  4. Question 4: File Allocation and Free-Space Management
  5. Question 5: Deadlocks
  6. Question 6: Disk Scheduling, Thrashing, Fragmentation
  7. Question 7: Priority Inversion, Protection, Multiprocessor Scheduling, Address Binding

December 2015

  1. Question 1: CPU Scheduling
  2. Question 2: Demand Paging and Effective Access Time
  3. Question 3: Paging and Page Replacement
  4. Question 4: Linked Allocation and Scheduler Design
  5. Question 5: Reliability and Deadlock Analysis
  6. Question 6: Monitor Design for Bounded Concurrent Access
  7. Question 7: Real-Time Classification, Disk Scheduling, Protection

May 2015

  1. Question 1: Generalized (Quadratic) Priority-Scheduling Formula
  2. Question 2: Memory Increase vs. CPU Utilization; Best-Fit and First-Fit Allocation
  3. Question 3: Monitors, the Readers-Writers Problem, and Deadlock vs. Starvation
  4. Question 4: Necessary Conditions for Deadlock; PID-Ordered Resource Waiting; Safe vs. Unsafe States
  5. Question 5: Real-Time Systems; Disk-Head Scheduling; Address Binding
  6. Question 6: Variant Round-Robin Scheduling; Page-Reference LRU Trace
  7. Question 7: Contiguous File Block Operations; Fragmentation; Disk Reliability; File Protection

December 2014

  1. Question 1: CPU Scheduling and Real-Time Priority
  2. Question 2: Paging and Virtual Memory
  3. Question 3: Protection, Security, and Disk Scheduling
  4. Question 4: Deadlocks, Starvation, and File Sharing
  5. Question 5: Critical Section Analysis, Monitors, and Semaphores
  6. Question 6: Virtual Memory, Effective Access Time, and Locality
  7. Question 7: Free Space Management, Resource Optimality, Shared Files, and Real-Time Classification

May 2014

  1. Question 1: CPU Scheduling and Real-Time Systems
  2. Question 2: Deadlocks — Disk Sharing, Prevention, and a Resource-Bound Proof
  3. Question 3: Working Sets, FIFO Paging, and Fragmentation
  4. Question 4: Disk Block Allocation and Free-Space Management
  5. Question 5: Monitor for a Priority-Scheduled Shared Plotter
  6. Question 6: Protection, Disk Scheduling, and Disk Redundancy
  7. Question 7: Deadlock Handling, Starvation, and Directory Structures

December 2013

  1. Question 1: CPU Scheduling and Multiprocessor Difficulty
  2. Question 2: Flawed Critical-Section Solution, Requirements, and Semaphores
  3. Question 3: Deadlock Possibility with a Single Resource Type
  4. Question 4: Fragmentation and Memory Allocation Policies
  5. Question 5: Multi-Resource Systems and Disk-Head Scheduling
  6. Question 6: File Sharing via Links and Access Control
  7. Question 7: Real-Time Scheduling, System States, Page Replacement, and Protection

May 2013

  1. Question 1: CPU Scheduling
  2. Question 2: Monitor for Bounded Concurrent Access
  3. Question 3: Disk Allocation Methods
  4. Question 4: Virtual Memory and Fragmentation
  5. Question 5: Priority Scheduling Parameters and Optimal Page Replacement
  6. Question 6: File Protection and Disk Scheduling
  7. Question 7: Disk Space Management, Multiprocessor Scheduling, and Deadlocks

Paper printed May 2019

  1. Question 1: CPU Scheduling — Generic Priority Formula & SRTF
  2. Question 2: Address Translation & Demand Paging
  3. Question 3: Scheduler Design Defects, Deadlock vs. Starvation, Effective Access Time
  4. Question 4: Linked-List File Allocation, Multi-Level Directories, Free-Space Management
  5. Question 5: Deadlock Conditions, Read-Only Files, Resource-Bound Safety
  6. Question 6: Disk-Scheduling Algorithms; Processes vs. Threads; Optimal CPU Scheduling
  7. Question 7: Priority Inversion, Security vs. Protection, Disk Fragmentation, FAT, Address Binding