Question 18
Consider the following processes in an xv6-like operating system:
- Process Q1 has been created but has not yet been scheduled to run.
- Process Q2 is currently executing instructions on the CPU.
- Process Q3 is waiting for a child process to finish execution.
- Process Q4 has terminated, but its parent process has already collected its exit status.
Select all the correct statements about the states of the processes.
Process Q1 is in the RUNNABLE state.
Process Q2 is in the RUNNING state.
Process Q3 is in the RUNNABLE state.
Process Q3 is in the SLEEPING state.
Process Q4 is in the ZOMBIE state.
Process Q4 is in the SLEEPING state.