Scheduling questions

Q14

GATE CS 2015 CS-3SchedulingMCQ1 mark−1/3 if wrong
The maximum number of processes that can be in Ready state for a computer system with nn CPUs is
Show answer without attempting

Answer: D

Q57

GATE CS 2015 CS-3SchedulingMCQ2 marks−2/3 if wrong
For the processes listed in the following table, which of the following scheduling schemes will give the lowest average turnaround time?
ProcessArrival TimeProcessing Time
A03
B16
C44
D62
Show answer without attempting

Answer: C

Q52

GATE CS 2015 CS-1SchedulingNAT2 marks
Consider a uniprocessor system executing three tasks T1T_1, T2T_2 and T3T_3, each of which is composed of an infinite sequence of jobs (or instances) which arrive periodically at intervals of 3, 7 and 20 milliseconds, respectively. The priority of each task is the inverse of its period, and the available tasks are scheduled in order of priority, with the highest priority task scheduled first. Each instance of T1T_1, T2T_2 and T3T_3 requires an execution time of 1, 2 and 4 milliseconds, respectively. Given that all tasks initially arrive at the beginning of the 1st millisecond and task preemptions are allowed, the first instance of T3T_3 completes its execution at the end of ________ milliseconds.
Show answer without attempting

Answer: 12

Q56

GATE CS 2015 CS-1SchedulingNAT2 marks
Suppose the following disk request sequence (track numbers) for a disk with 100 tracks is given: 45, 20, 90, 10, 50, 60, 80, 25, 70. Assume that the initial position of the R/W head is on track 50. The additional distance that will be traversed by the R/W head when the Shortest Seek Time First (SSTF) algorithm is used compared to the SCAN (Elevator) algorithm (assuming that SCAN algorithm moves towards 100 when it starts execution) is ________ tracks.
Show answer without attempting

Answer: 10

0/40 correct0 marks

Related topics in Operating Systems