Professional Documents
Culture Documents
Question # 1 10 Marks
Question # 02 10 Marks
a) What is race condition? List the requirements that a solution to critical section Must
satisfy? Explain readers Writer Problem.
b) What is PCB? What are different states in which process can be in its life cycle, discuss
with the help of state transition diagram.
Question # 03 10 Marks
Good Luck
Question # 04 10 Marks
Question # 05 10 Marks
a) Consider the Following Set of processes, with the length of the CPU Burst time given in
milliseconds:
P1 0 10 3
P2 0 1 1
P3 3 2 3
P4 5 1 4
P5 10 5 2
a. Draw Four Gant charts illustrating the execution of these processing using FCFS,
SJF, a non-preemptive priority and RR (Quantum=2) scheduling.
b. What is the Turn around, and waiting time of each process for each scheduling
Algorithm in (a).
After solving Mid Exam, you will upload it on Google Form link (whose link will be shared through
whatsapp). To upload click Here.
Good Luck