Chapter 4 Questions
Chapter 4 Questions
• Repeated Questions
1) Describe I/O Burst and CPU Burst cycle with neat diagram. (4M
=W19) (2M =W22).
2) Describe different scheduling criteria. (2M =W19) (4M= S22, W22,
S23).
3) Explain deadlock? What are necessary conditions for deadlock?
(4M =W19, S22, S23, S24).
4) State difference between preemptive scheduling and non-
preemptive scheduling. (2M =S22, S23).
• 2 Marks Questions
• 4 Marks Questions
• 6 Marks Questions
P1 0 7
P2 1 4
P3 2 10
P4 3 6
P5 4 8
i) SJF
ii) FCFS
Also find average waiting time using Gantt chart.(w19)
2) Solve given problem by using
i) Pre-emptive SJF
ii) Round Robin (Time Slice = 3 ms)
Calculate average waiting time using Gantt Chart. (w22)
Process A.T B.T (in ms)
P11 0 8
P12 1 4
P13 2 9
P14 3 5
3) Consider the four processes P1, P2, P3 and P4 with length of CPO
Burst time. Find out Avg waiting time and Avg turn around time
for the following Algorithms.(s23)
i) FCFS
ii) RR (Slice-4ms)
iii) SJF
Process Arrival time Burst time
P1 0 8
P2 1 4
P3 2 9
P4 3 5
4) With neat diagram explain multilevel queue scheduling.(s23)
5) How pre-emptive scheduling is better than non pre-emptive
scheduling by solving following problem using SJF (Solve it by
using pre-emptive SJF and non-pre-emptive SJF also). (w23)
Process Arrival time Burst time
P1 0 8
P2 1 4
P3 2 9
P4 3 5