1. Consider the following set of processes with theiralternating CPU-burst and I/O burst times given in time units:
Process CPU I/O CPU I/O CPU
P0 6 10 6 2 3
P1 2 12 2 5 4
P2 9 6 4
Assume all 3 processes have arrived inthe order P0, P1 and P2 at time 0.Draw the Gantt charts for the CPU and for the I/O processing thatshows the execution of these processes using FCFSscheduling. Calculate CPU Utilization, Average TurnaroundTime, Average Wait Time in Ready, and Average Wait Time for the I/OQueue.
2. Consider the following set ofprocesses with their alternating CPU-burst and I/O burst timesgiven in time units:
Process CPU I/O CPU I/O CPU
P0 6 10 6 2 3
P1 2 12 2 5 4
P2 9 6 4
Assume
PayPal Gateway not configured
PayPal Gateway not configured