CS FundamentalsEasyWipro · Cognizant pattern
A child process has terminated, but its parent has not yet called wait() to read its exit status. The child is now a:
- A. Daemon process
- B. Suspended process
- C. Zombie process
- D. Orphan process
Correct answer: C. Zombie process
A zombie keeps its PID and an entry in the process table until the parent reaps it with wait(). An orphan is the opposite case: the parent died first and init/systemd adopts the child.
More Operating Systems questions
- In a many-to-one thread model (many user-level threads mapped to one kernel thread), what happens when one thread makes a blocking system…
- Which disadvantage applies to linked file allocation but NOT to indexed allocation?
- A disk has cylinders 0–199 and the head is at cylinder 72. The request queue, in arrival order, is 110, 25, 160, 47, 130, 8, 95, 185. What…
- A disk spins at 7,200 RPM. What is its average rotational latency?
- Which statement about a page fault is correct?
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (ms). Using preemptive SJF…