Operating System Unit 3 – CPU Scheduling and Deadlock: important questions for AKTU
Unit 3 (CPU Scheduling and Deadlock) questions that AKTU repeats most often. This unit carries about 37 marks per paper. Start with the repeated questions, then the most asked topics.
Most repeated Unit 3 questions
- What is a Process Control Block? Explain its role in process management. (7 marks, 2026, CPU Scheduling) – also asked in 2019, 2022, 2023, 2024, 2025
- Consider the following snapshot of a system: | | Allocation A | Allocation B | Allocation C | Allocation D | Max A | Max B | Max C | Max D | Available A | Available B | Available C | Available D | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | T0 | 0 | 0 | 1 | 2 | 0 | 0 | 1 | 2 | 1 | 5 | 2 | 0 | | T1 | 1 | 0 | 0 | 0 | 1 | 7 | 5 | 0 | | | | | | T2 | 1 | 3 | 5 | 4 | 2 | 3 | 5 | 6 | | | | | | T3 | 0 | 6 | 3 | 2 | 0 | 6 | 5 | 2 | | | | | | T4 | 0 | 0 | 1 | 4 | 0 | 6 | 5 | 6 | | | | | Answer the following questions using the banker’s algorithm: (i) What is the content of the matrix Need? (ii) Is the system in a safe state? (iii) If a request from thread T1 arrives for (0,4,2,0), can the request be granted immediately? (7 marks, 2026, Deadlock) – also asked in 2018, 2019, 2022, 2023, 2025
- Explain the structure and contents of a Process Control Block (PCB)? (7 marks, 2024, CPU Scheduling) – also asked in 2019, 2022, 2023, 2025, 2026
Most important Unit 3 topic
- CPU Scheduling (Unit 3: CPU Scheduling and Deadlock) – asked 26 times in 2018, 2019, 2022, 2023, 2024, 2025, 2026
- Deadlock (Unit 3: CPU Scheduling and Deadlock) – asked 17 times in 2018, 2019, 2022, 2023, 2024, 2025, 2026
- Threads and Management (Unit 3: CPU Scheduling and Deadlock) – asked 1 times in 2022
Most asked Unit 3 topics
- CPU Scheduling – asked 26 times
- Deadlock – asked 17 times
- Threads and Management – asked 1 times
More Unit 3 previous year questions
- Illustrate the reason for the convoy effect in process scheduling. (2 marks, 2026, CPU Scheduling)
- What are the necessary conditions for deadlock in an operating system? (2 marks, 2026, Deadlock)
- Describe the actions taken by a kernel to context-switch between processes. (7 marks, 2026, CPU Scheduling)
- Consider a system consisting of m resources of the same type being shared by n processes. A process can request or release only one resource at a time. Show that the system is deadlock free if the following two conditions hold: (i) The maximum need of each process is between one resource and m resources. (ii) The sum of all maximum needs is less than m+n. (7 marks, 2026, Deadlock)
- Consider the set of processes with arrival time (in milliseconds) and CPU burst time (in milliseconds) shown below. None of the processes have I/O burst time. Draw the Gantt chart and calculate the Average Waiting Time and Average Turnaround Time using the preemptive Shortest Job First (SJF) scheduling algorithm. | Process | Arrival Time | Brust Time | | --- | --- | --- | | P1 | 0 | 8 | | P2 | 1 | 6 | | P3 | 2 | 9 | | P4 | 3 | 3 | | P5 | 4 | 4 | (7 marks, 2026, CPU Scheduling)
Unit 3 syllabus topics
- CPU Scheduling
- Threads and Management
- Deadlock