Question

The maximum number of processes that can be in Ready state for a computer system with nn CPUs is

Choose one option
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:

  1. The Running state contains processes currently being executed by processors. For a system with nn CPUs, at most nn processes can be in the Running state at any given instant.
  2. 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.
  3. 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 nn present in the system.

Therefore, the maximum number of processes that can reside in the Ready state is independent of nn (Option D).

Final answer

D

Common trap

Confusing the Ready state with the Running state, which is strictly limited to nn processes for nn 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.