edited by
12,696 views
16 votes
16 votes

Consider the following statements about process state transitions for a system using preemptive scheduling.

  1. A running process can move to ready state.
  2. A ready process can move to running state.
  3. A blocked process can move to running state.
  4. A blocked process can move to ready state.

Which of the above statements are TRUE?

  1. I, II, and III only
  2. II and III only
  3. I, II, and  IV only
  4. I, II, III and IV  only
edited by

6 Answers

Best answer
27 votes
27 votes

A blocked process cannot go to running state directly. Except (III), every option is viable.

Answer-(C)

edited by
9 votes
9 votes

As we can see a blocked process cannot be move to running state. It can either go to suspend wait or ready state from blocked state. Hence $III.$ is false.

$\therefore$ Option $C.$ is correct answer

2 votes
2 votes
Whenever the blocked process has to run again...first it has to move to ready state then to run state.

Therefore only (III) is wrong

Ans: (C)  I,II,IV are correct
1 votes
1 votes

All processes, upon entering into the system, are stored in the Job Queue.

Processes in the Ready state are placed in the Ready Queue.

Processes waiting for a device to become available are placed in Device Queues. There are unique device queues available for each I/O device.

A new process is initially put in the Ready queue. It waits in the ready queue until it is selected for execution(or dispatched). Once the process is assigned to the CPU and is executing, one of the following several events can occur:

The process could issue an I/O request, and then be placed in the I/O queue.

The process could create a new subprocess and wait for its termination.

The process could be removed forcibly from the CPU, as a result of an interrupt, and be put back in the ready queue..

 

Answer:

Related questions

15 votes
15 votes
4 answers
2
Arjun asked Feb 12, 2020
9,075 views
Let $G$ be a group of $35$ elements. Then the largest possible size of a subgroup of $G$ other than $G$ itself is _______.