Professional Documents
Culture Documents
Practical Paper II STD
Practical Paper II STD
20*5
Q.1
i. What is PCB? What type of information is stored in PCB?
ii. Define System Call. What are different system calls used in Windows and Linux?
Q.2 Considering the following processes, provide Gantt Chart and Average Waiting Time by
using following preemptive scheduling algorithms. i.) Shortest Job First
ii) Priority Scheduling
Process Arrival Time Burst Time Priority
P1 2 5 3
P2 3 4 2
P3 3 6 1
P4 4 12 4
P5 11 2 1
P6 13 5 2
P7 13 10 4
Q.4 What do you understand by Critical Section Problem? Write the Bakery Algorithm to solve the
Critical Section Problem for n processes.
Q.5 Viva