Skip to content

BCS303 · 2022 · CSE-CY · Semester 3

Operating Systems

Back to subjects

Review status & sources

PYQ-based revision prompts ranked by distinct exam sessions. Ties use the order of the reviewed topics. Exam-session references are shown below the questions.

Module 1

Explain how user mode and kernel mode protect the system. Use a system call to illustrate the transition.

3 exam sessions
  • June-July-2024 · PDF page 1
  • Dec-2023-Jan-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1

What is a system call? Explain the main categories with examples.

3 exam sessions
  • June-July-2024 · PDF page 1
  • June-July-2025 · PDF page 1
  • Dec-2023-Jan-2024 · PDF page 1

Describe the services an operating system provides to programs and users.

3 exam sessions
  • June-July-2024 · PDF page 1
  • June-July-2025 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1
Show 2 Backup Questions

Compare multiprogramming and multitasking and explain how each uses the CPU.

3 exam sessions
  • June-July-2024 · PDF page 1
  • Dec-2023-Jan-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1

Explain the virtual-machine model and show how hardware resources are shared among guests.

1 exam session
  • June-July-2024 · PDF page 1

Module 2

Explain why applications use multiple threads and compare common thread models.

4 exam sessions
  • June-July-2024 · PDF page 1
  • June-July-2025 · PDF page 1
  • Dec-2023-Jan-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1

Explain how processes communicate through message passing and compare blocking and nonblocking operations.

3 exam sessions
  • June-July-2024 · PDF page 1
  • Dec-2023-Jan-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1

Draw the process-state diagram and explain the events that cause each transition.

3 exam sessions
  • June-July-2024 · PDF page 1
  • June-July-2025 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1
Show 2 Backup Questions

Draw scheduling timelines for a set of processes and calculate average waiting and turnaround time.

2 exam sessions
  • June-July-2024 · PDF page 1
  • June-July-2025 · PDF page 1

Explain which process state the OS saves during a context switch and where it is stored.

2 exam sessions
  • June-July-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1

Module 3

Explain the four necessary conditions for deadlock with a resource-allocation example.

4 exam sessions
  • June-July-2024 · PDF page 2
  • June-July-2025 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Explain the critical-section requirements and show how Peterson’s algorithm satisfies them.

3 exam sessions
  • June-July-2024 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1

Use the Banker’s algorithm to check whether a resource allocation is safe and give a safe sequence if one exists.

3 exam sessions
  • June-July-2024 · PDF page 2
  • June-July-2025 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
Show 2 Backup Questions

Use semaphores to coordinate readers and writers and explain the access policy.

2 exam sessions
  • Dec-2023-Jan-2024 · PDF page 1
  • Dec-2024-Jan-2025 · PDF page 1

Explain the dining philosophers problem and present a synchronization strategy that avoids deadlock.

2 exam sessions
  • June-July-2024 · PDF page 2
  • June-July-2025 · PDF page 1

Module 4

Given a page reference sequence and frame count, compare FIFO, LRU and optimal replacement by counting page faults.

4 exam sessions
  • June-July-2024 · PDF page 2
  • June-July-2025 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Compare first fit, best fit and worst fit on a sequence of memory requests.

4 exam sessions
  • June-July-2024 · PDF page 2
  • June-July-2025 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Trace what the operating system does when a referenced page is absent from memory.

4 exam sessions
  • June-July-2024 · PDF page 2
  • June-July-2025 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2
Show 2 Backup Questions

Show how paging translates a logical address and explain how a TLB speeds it up.

3 exam sessions
  • June-July-2024 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Compare internal and external fragmentation and give an example of each.

1 exam session
  • June-July-2024 · PDF page 2

Module 5

Describe common file attributes and explain what the main file operations do.

4 exam sessions
  • June-July-2024 · PDF page 2
  • June-July-2025 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Compare contiguous, linked, and indexed file allocation and their access trade-offs.

3 exam sessions
  • June-July-2025 · PDF page 2
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2

Explain the access-matrix protection model and show how it can be implemented.

3 exam sessions
  • June-July-2024 · PDF page 3
  • Dec-2023-Jan-2024 · PDF page 2
  • Dec-2024-Jan-2025 · PDF page 2
Show 2 Backup Questions

Compare disk scheduling algorithms by calculating total head movement for a request queue.

2 exam sessions
  • June-July-2024 · PDF page 3
  • June-July-2025 · PDF page 2

Compare sequential and direct file access and explain when each is useful.

1 exam session
  • June-July-2024 · PDF page 3