Difficulty distribution
How the classified questions are distributed by difficulty.
Your cart is empty.
Practice Deadlocks and Scheduling - Operating System - Computer Science & Information Technology previous year questions organised from real papers, with year-wise coverage and clear topic navigation.
Every graph below is calculated only from this selection.
Year-wise coverage for Deadlocks and Scheduling. Each bar uses a separate theme-derived color.
How the classified questions are distributed by difficulty.
MCQ, numerical, multiple-select and other formats found in these papers.
Top subjects by unique question coverage.
Top topics across the included previous year papers.
Top subtopics inside this exact selection.
Question coverage for the most populated papers. Every active PYP paper remains listed below.
Newest papers appear first. Sort by year, question coverage or name.
| Paper | Year / session | Questions in this view | Open |
|---|---|---|---|
| Computer Science and Information Technology (CS) 2026 | 2026 | 3 | View paper |
| Computer Science and Information Technology (CS) 2026 | 2026 | 1 | View paper |
| Computer Science & Information Technology (CS) 2025 [Session 1] | 2025 | 1 | View paper |
| Computer Science & Information Technology (CS) 2025 [Session 2] | 2025 | 2 | View paper |
| Computer Science & Information Technology (CS) 2024 [Session 2] | 2024 | 1 | View paper |
| Computer Science & Information Technology (CS) 2023 [Session 2] | 2023 | 1 | View paper |
| Computer Science & Information Technology (CS) 2022 [Session 2] | 2022 | 2 | View paper |
| Computer Science & Information Technology (CS) 2021 [Session 1] | 2021 | 1 | View paper |
| Computer Science & Information Technology (CS) 2021 [Session 2] | 2021 | 2 | View paper |
| Computer Science & Information Technology (CS) 2020 [Session 2] | 2020 | 2 | View paper |
| Computer Science & Information Technology (CS) 2019 [Session 2] | 2019 | 2 | View paper |
| Computer Science & Information Technology (CS) 2018 [Session 2] | 2018 | 3 | View paper |
| Computer Science & Information Technology (CS) 2017 [Session 2] | 2017 | 2 | View paper |
| Computer Science & Information Technology (CS) 2016 [Session 1] | 2016 | 1 | View paper |
| Computer Science & Information Technology (CS) 2016 [Session 2] | 2016 | 1 | View paper |
| Computer Science & Information Technology (CS) 2014 [Session 1] | 2014 | 3 | View paper |
| Computer Science & Information Technology (CS) 2014 [Session 2] | 2014 | 1 | View paper |
| Computer Science & Information Technology (CS) 2014 [Session 3] | 2014 | 2 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 1] | 2013 | 1 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 3] | 2013 | 1 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 4] | 2013 | 1 | View paper |
| Computer Science & Information Technology (CS) 2010 | 2010 | 2 | View paper |
| Computer Science & Information Technology (CS) 2009 | 2009 | 2 | View paper |
| Computer Science & Information Technology (CS) 2008 | 2008 | 1 | View paper |
| Computer Science & Information Technology (CS) 2007 | 2007 | 2 | View paper |
Practice every matching question in batches of 20, with every available option.
An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes:
| Process | Execution time | Arrival time |
|---|---|---|
| P1 | 20 | 0 |
| P2 | 25 | 15 |
| P3 | 10 | 30 |
| P4 | 15 | 45 |
| alloc | request | |||||
|---|---|---|---|---|---|---|
| X | Y | Z | X | Y | Z | |
| P0 | 1 | 2 | 1 | 1 | 0 | 3 |
| P1 | 2 | 0 | 1 | 0 | 1 | 2 |
| P2 | 2 | 2 | 1 | 1 | 2 | 0 |
Which of the following is NOT true of deadlock prevention and deadlock avoidance schemes?
| Process P1: | Process P2: | Process P3: |
|---|---|---|
| t=0: requests 2 units of R2 t=1: requests 1 unit of R3 t=3: requests 2 units of R1 t=5: releases 1 unit of R2 and 1 unit of R1 t=7: releases 1 unit of R3 t=8: requests 2 units of R4 t=10: Finishes | t=0: requests 2 units of R3 t=2: requests 1 unit of R4 t=4: requests 1 unit of R1 t=6: releases 1 unit of R3 t=8: Finishes | t=0: requests 1 unit of R4 t=2: requests 2 units of R1 t=5: releases 2 units of R1 t=7: requests 1 unit of R2 t=8: requests 1 unit of R3 t=9: Finishes |
| Allocation | Max | |||||
|---|---|---|---|---|---|---|
| X | Y | Z | X | Y | Z | |
| P0 | 0 | 0 | 1 | 8 | 4 | 3 |
| P1 | 3 | 2 | 0 | 6 | 2 | 0 |
| P2 | 2 | 1 | 1 | 3 | 3 | 3 |
| Process Name | Arrival Time | Execution Time |
|---|---|---|
| A | 0 | 6 |
| B | 3 | 2 |
| C | 5 | 4 |
| D | 7 | 6 |
| E | 10 | 3 |
| Process id | tc | tio |
|---|---|---|
| A | 100 ms | 500 ms |
| B | 350 ms | 500 ms |
| C | 200 ms | 500 ms |
| Process | Arrival Time | Burst Time |
|---|---|---|
| P1 | 0 | 12 |
| P2 | 2 | 4 |
| P3 | 3 | 6 |
| P4 | 8 | 5 |

| Process | Current Allocation | Maximum Requirement |
|---|---|---|
| P1 | 3 | 7 |
| P2 | 1 | 6 |
| P3 | 3 | 5 |

Consider the set of processes with arrival time (in milliseconds), CPU burst time (in milliseconds), and priority (0 is the highest priority) shown below. None of the processes have I/O burst time.
| Process | Arrival Time | Burst Time | Priority |
|---|---|---|---|
| P1 | 0 | 11 | 2 |
| P2 | 5 | 28 | 0 |
| P3 | 12 | 2 | 3 |
| P4 | 2 | 10 | 1 |
| P5 | 9 | 16 | 4 |
The average waiting time (in milliseconds) of all the processes using preemptive priority scheduling algorithm is __________.
| Allocation | E | F | G |
|---|---|---|---|
| \(P_0\) | 1 | 0 | 1 |
| \(P_1\) | 1 | 1 | 2 |
| \(P_2\) | 1 | 0 | 3 |
| \(P_3\) | 2 | 0 | 0 |
| Max | E | F | G |
|---|---|---|---|
| \(P_0\) | 4 | 3 | 1 |
| \(P_1\) | 2 | 1 | 4 |
| \(P_2\) | 1 | 3 | 3 |
| \(P_3\) | 5 | 4 | 1 |
Showing 20 of 39 questions