OS Test Bank

Q1) A set of processes A, B, C and D, are scheduled using preemptive priority scheduling algorithm. For each process, burst time, arrival time and the priority are assigned In the following table. Based on these values answer the following 6 questions:

Q1.1) The process(es) that has\have a waiting time equals zero is:

Show Answer

Q1.2) The waiting time of process (A) equals:

Show Answer

Q1.3) The last executed process finishes at time.

Show Answer

finishes at time 17

Q1.4) Processes are scheduled on the CPU in the order:

Show Answer

A B C B A D

Q1.5) The number of pre-emptions:

Show Answer

Q1.6) CPU is idle at the interval time:

Show Answer

CPU has always a process to execute