Class Test 1 & 2 Question – Spring 2021
Course Name: Operating Systems Course No: CSE 323
Course Teacher: Shahriar Parvej (SP)
Allocated Time: 1 hour including Submission (10 pm – 11 pm ; 17/03/2021); Total Marks - 10
1. If a process is required 50 milliseconds to be decided for a GO and it takes 2000 milliseconds to execute
then what is the percentage of the CPU usage for deciding that particular task to be executed. 2
2. Explain zombie process & orphan process with proper example. 2
3. Define the following terms- .5×4=2 i. Short Term Scheduler ii. Long Term Scheduler iii. I/O bound process iv. CPU bound process 4. Complete the Gantt chart and calculate TAT, WT, and Average Waiting Time for all the processes using SRTF. 4
Process Arrival Time Burst Time P1 1 7
P2 3 4
P3 4 2
P4 5 5