Home › AKTU PYQ › Operating System › PYQ Questions › Unit 3

Operating System Unit 3 – CPU Scheduling and Deadlock: AKTU previous year questions

8 AKTU questions from Unit 3 (CPU Scheduling and Deadlock) asked in 2025–2026, tagged by marks, year and topic. In short: about 37 marks of every paper come from this unit; the most asked topic is CPU Scheduling (26 times); 6 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.

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)
  • What is a Process Control Block? Explain its role in process management. (7 marks, 2026, CPU Scheduling)
  • 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)
  • A system has 3 processors and 5 programs ready for execution. In how many ways can the processors be assigned to the programs assuming each processor executes one program at a time? (2 marks, 2025, CPU Scheduling)

Most asked Unit 3 topics

  • CPU Scheduling – asked 26 times
  • Deadlock – asked 17 times
  • Threads and Management – asked 1 times

Unit 3 question pattern

  • 2-mark questions: 3 asked in 2025–2026
  • 7-mark questions: 5 asked in 2025–2026
  • About 37 marks from Unit 3 in every paper
  • 6 questions were asked again in a later year

Unit 3 questions year by year

  • 2026: 7 Unit 3 questions asked (39 marks across that year's papers)
  • 2025: 1 Unit 3 question asked (2 marks across that year's papers)