Draw the state diagram of a process from its creation to termination, briefly elaborate every state and every transition

Photo by Clint Patterson on Unsplash

Draw the state diagram of a process from its creation to termination, briefly elaborate every state and every transition

Md Shamimul Arefin's photo
Md Shamimul Arefin
·Jul 17, 2022·

Subscribe to our newsletter and never miss any upcoming articles

State diagram of process from creation to termination:

new (2).png

  • new : The process is being created
  • running : Instructions are being executed
  • waiting : The process is waiting for some event to occur (e.g. I/O)
  • ready : The process is waiting to be assigned to a processor (CPU)
  • terminated : The process has finished execution
 
Share this