Using the process state diagram, explain why there is no transition: From the READY to WAITING and from the WAITING to RUNNING.
A computer program that is subsequently executed is called process. Process management is an operating system's way of dealing with running multiple processes on a single CPU. In a multitasking computer system, processes may occupy a variety of states. On the diagram above, we can see that there is no transition from the ready to waiting same with waiting to running. In the ready state to waiting state, there is no transition between them because you can only send the job in the waiting state if it came from the running state. Also, it will proceed to the waiting state if there are some interrupts and if it needs input/output request. In the waiting state to running state, there is also no transition because the process scheduler selects processes from the ready state for the CPU. Also, all jobs in the waiting list was arranged and prepared to proceed in the ready state. In addition, only the ready jobs or only the jobs in the ready state will proceed to the running state to be run and to bypass the ready state would make process management impossible.
To further understand the process let us assign job (a) to be processed.
First job (a) will go to the hold state then it will proceed to ready state. If the job will fail because of some device failure it will go back to the hold state, if not, it will proceed to ready state which is controlled by the job scheduler. From the ready state, job (a) will go on to the running state. If there are no interrupts and there are no input/output request faults it will automatically proceed to the finished state. But, if it will encounter interrupts it will go back to the ready state and if it fails to have the input/output request it will proceed to the waiting state. Resources:
http://iamleianjui.blogspot.com/2011/02/case-study-6-using-process-state.html



