process state

paradise's Avatar, Join Date: Apr 2010
Newbie Member
A photo management program is executed.hence , a new process (namely process P)is created.the program will first copy all new photos from a digital camera before it can perform any operation to the photos.While the program is waiting for the file to be copied,operating system switches the execution to another process(namely process C).however process A must be swapped out from main so that the free memory is large enough to execute process C.When the copy operation is completed,process C is interrupted as its time slice exhausted .Process P continues after a while and it executes until it terminated .

List the state transition of process P based on 7 state model

ans :new->ready
ready->running
running->blocked
blocked->ready
ready->running
running->ready
ready->running
running->exit


hello everyone,am i answer this question correctluy
0
geripaul8512's Avatar, Join Date: Jul 2014
Newbie Member
yes, it is