Scheduling questions

Q20

GATE CS 2016 CS-1SchedulingMCQ1 mark−1/3 if wrong
Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?
Show answer without attempting

Answer: A

Q48

GATE CS 2016 CS-1SchedulingNAT2 marks
Consider a disk queue with requests for I/O to blocks on cylinders 47, 38, 121, 191, 87, 11, 92, 10. The C-LOOK scheduling algorithm is used. The head is initially at cylinder number 63, moving towards larger cylinder numbers on its servicing pass. The cylinders are numbered from 0 to 199. The total head movement (in number of cylinders) incurred while servicing these requests is ________.
Show answer without attempting

Answer: 346.0

Q47

GATE CS 2016 CS-2SchedulingNAT2 marks
Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is preemptive shortest remaining-time first.
ProcessArrival TimeBurst Time
P1P_1010
P2P_236
P3P_371
P4P_483
The average turn around time of these processes is _________ milliseconds.
Show answer without attempting

Answer: 8.2 to 8.3

0/30 correct0 marks

Related topics in Operating Systems