GATE CS 2021 Set 2 | Question 24
Operating Systems › CPU Scheduling · MSQ · 1 mark · Answer: A, C, D
- Question 24Operating Systemsmsq1 markWhich of the following statement(s) is/are correct in the context of CPU scheduling?
- A.Turnaround time includes waiting time.✓
- B.The goal is to only maximize CPU utilization and minimize throughput.
- C.Round-robin policy can be used even when the CPU time required by each of the processes is not known apriori.✓
- D.Implementing preemptive scheduling needs hardware support.✓
Answer: A, C, D
Solution
Turnaround time = waiting + burst (+ I/O) time, so (A) is true. The goal is to maximize throughput, not minimize it, so (B) is false. Round-robin needs no prior knowledge of burst lengths (C true). Preemption relies on a timer interrupt, i.e. hardware support (D true). - A.
More GATE PYQ on CPU Scheduling
All GATE CS Operating Systems PYQ →Attempt GATE CS 2021 Set 2 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →