Compose a to illustrate the concept of different process states (new, running, waiting, ready, and terminated). Considering the diagram of process state in Figure 3.2 of the textbook, describe what happens in your scenario at each of the five oval nodes as well as the six arrows between the nodes.
An example is provided below.
Scenario: Hospital
⦁ New: The process is being created. (New patient enters hospital)
⦁ Running: Instructions are being executed. (Tests are being conducted for the patient)
⦁ Waiting: The process is waiting
⦁ Ready: The process is waiting to be assigned to a processor. The patient should be assigned to a particular specialist depending on the test result)
⦁ Terminated: The process has finished execution.
⦁ Ready → Running: The patient is sent for tests or for surgery
⦁ Running → Terminate: Operation/treatment completed
⦁ Running → Ready: Second opinion from senior specialist
⦁ Running → Waiting: Waiting for the test reports
⦁ Waiting → Ready: Reports given to the specialist
Silberschatz, A., Galvin, P. B., & Gagne, G. (2014). Operating system concepts essentials (2nd ed.). Retrieved from https://redshelf.com/
Last Completed Projects
topic title | academic level | Writer | delivered |
---|