Professional Documents
Culture Documents
Assignment 2 Q1. Draw The Ready Queue For The Above Given Processes
Assignment 2 Q1. Draw The Ready Queue For The Above Given Processes
Assignment 2 Q1. Draw The Ready Queue For The Above Given Processes
Q1. Draw the ready queue for the above given processes.
CPU
CADB
Q2. Draw the step-wise pictorial diagram of the above given scenario in the
context of multiprogramming.
Process C
Process A
Process D
Process B
Time Slice= 2ms Time Slice= 2ms Time Slice= 2ms Time Slice= 2ms
Iteration 2
Interrupt Interrupt Interrupt Interrupt
Process C
Process A
Process D
Process B
Time Slice= 2ms Time Slice= 2ms Time Slice= 2ms Time Slice= 2ms
Iteration 3 Iteration 4
All processes
finished.
Process D Process D
Time = 22ms
Process B