Question: one question multiple parts Q4.1 Process states 6 Points A process can be in any of the five states shown below (marked as A, B,

one question multiple parts  one question multiple parts Q4.1 Process states 6 Points A process
can be in any of the five states shown below (marked as

Q4.1 Process states 6 Points A process can be in any of the five states shown below (marked as A, B, ... and E). admitted A exit E B I/O or event completion scheduler dispatch 1/0 or event wait D Name these states. Enter your answer here What makes a process in state C to move to state B? Enter your answer here Q4.2 fork() call 4 Points What is the problem (if any) in the following code snippet? int pid = fork(); if (pid 0) { printf("I am the parent process "); ) else if (pid == 0) { printf("I am the child process "); exit(0); ]

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!