Correct option is B
Cascading termination occurs in operating systems when a parent process is terminated, and its child processes are forcibly terminated as well. This mechanism ensures that orphan processes are not left running without a parent to monitor or manage them.
Information Booster:
1.
Parent-Child Relationship: Processes in an operating system often follow a hierarchy, where the parent process controls the lifecycle of its child processes.
2.
Cascading Termination: When a parent process is terminated, the operating system terminates all its child processes to maintain stability.
3.
Use Case: Prevents resource leaks and ensures proper cleanup of resources associated with child processes.
4.
Zombie Processes: Processes that remain in the process table after termination until their parent retrieves their exit status.
5.
Process Management: Cascading termination is a safeguard to prevent dangling or orphan processes in a multitasking environment.
Additional Knowledge:
· Threading allows multiple threads to run within a single process.
· Zombie termination is not an actual term; zombies refer to terminated processes waiting for their parent.
· Process killing refers to manually stopping a process using commands like kill in Linux.