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

I. A running process can move to ready state.

II. A ready process can move to running state.

III. A blocked process can move to running state.

IV. A blocked process can move to ready state.

Which of the above statements are TRUE?

A.

I, II and III only

B.

II and III only

C.

I, II and IV only

D.

I, II, III and IV

Solution:

                           

 

Statement I: True, (By interrupt)

Statement II: True, (Scheduler dispatch)

Statement III: False, (A blocked process needs to move to ready state before going to running state)

Statement IV: True (by I/O or event completion)