AhmedNazir

Call

Option 2 : I only

The correct answer is option 2.

Concept:

Option 1: The process must be in a RUNNING state at least once during its execution.

True, In the running state, the CPU selects the process for execution, and the instructions within the process are performed by any available CPU core. The process has to be in running state at least once during its execution.

Option 2: The process must be in a RUNNING state at least twice during its execution.

False, The process has to be in running state at least once during its execution. If the process has two running states then there is no use visiting a second time in the second running state because it already executed the process execution.

Option 3: The process must be in a WAITING state at least once during its execution.

False, A wait state is a situation in which a computer program or processor is waiting for the completion of some event before resuming activity. A program or process in a wait state is inactive for the duration of the wait state. If a CPU has a limited number of processes with well-formed arrival times then there is no use of waiting states.

Option 4: The process must be in a READY state at least once during its execution.

False, there is no use of a ready state because after a process is created, it enters the running state, which means it gets loaded into the main memory after the CPU selects the process for execution, and the instructions within the process are executed by any available CPU core.

Hence the correct answer is I only.