Question: Operating System Question! 1. (10 points) Let's assume we have a system with a single CPU. There are three processes (P1, P2, and P3) running

Operating System Question!

Operating System Question! 1. (10 points) Let's assume we have a system

1. (10 points) Let's assume we have a system with a single CPU. There are three processes (P1, P2, and P3) running the following logic. Process state can be one of the three states: READY, RUNNING, and WAITING, which behave in the way as discussed in class. Fill in the blanks with the states of each process below. If the process does not exist yet, put a X in the blank. Process state P2 P1 P3 P1 is loaded into memory and starts executing in main(). 2 P1 calls fork () and creates P2, but P1, the parent, keeps running. 3 P1 issues an I/O request; P2 starts executing at the return from fork(). P2 calls fork () to create P3; P2 keeps running. 6 P2's time slice expires; P3 starts running. 6 Pl's I/O completes (but there is no other changes) P3 waits for user input. P1 runs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!