Question: i am not too sure about this question: During the context switch, all the following statements are accurate EXCEPT a. Appending the PCB of the

i am not too sure about this question:

During the context switch, all the following statements are accurate EXCEPT

a. Appending the PCB of the old process to the ready queue.

b. Asking the Kernel to load all related threads from secondary memory into the registers

c. Loading the state, registers, and program counter of the new process from its PCB

d. Saving the state, registers, and program counter of the old process to its PCB

and this one:

When a process forks a child process, then it terminates before its child, then all the following statement are correct EXCEPT

a. It gets re-assigned to the init process (PID 1) as its new parent

b. It gets cleaned up when the init process (PID 1) periodically calls wait()

c. It becomes an orphan if it is still running

d. It becomes a zombie if it is still running

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!