Question
The maximum number of processes that can be in Ready state for a computer system with CPUs is
Official answer and solution
- Official answer
- D
- From
- Official GATE 2015 answer key
Solution
Differentiate between the Ready state and the Running state in the operating system process lifecycle.
In an operating system:
- The Running state contains processes currently being executed by processors. For a system with CPUs, at most processes can be in the Running state at any given instant.
- The Ready state contains all processes that are ready to run and waiting in main memory (in the ready queue) for CPU time to be scheduled to them.
- The size of the ready queue depends on system resources (main memory capacity and maximum allowable entries in the process table), not on the number of physical CPU cores present in the system.
Therefore, the maximum number of processes that can reside in the Ready state is independent of (Option D).
D
Confusing the Ready state with the Running state, which is strictly limited to processes for CPUs.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 3
- Question
- 11 of 65, printed as CS Q.1
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.