Operating Systems
CIS · Quiz · Fall 24
Paper 2 of 3Batch 18Switch
Batch 18 · shared by Rafsan Bin Habib
Paper 2 of 3Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Class Test (2) Examination: Fall-2024
Course Code: CIS 232 (Batch: 18)
Course Title: Operating System
Time: 30 Minutes
Total Marks: 15
1. What is the need of CPU scheduling? What are the criteria of scheduling? 3
2. Consider the following set of processes, with the length of CPU bust given in milliseconds:
Process | P1 | P2 | P3 | P4 | P5
B.T. | 11 | 4 | 14 | 9 | 21
A.T. | 5 | 0 | 0 | 1 | 2
If the CPU scheduling policy is Round Robin with time quantum = 5 unit, calculate the average waiting time and average turn around time. 6
3. Suppose you want to build an operating system, you want to implement methods for handling deadlock. Which method will you add in your operating system and why? Explain the benefits of your chosen method over others in details. 6