Questions
Questions
Single choice

Question at position 26 In a Unix/ Linux operating system a child process whose parent exits is called an orphan process and will be immediately adopted by the init system process. This means that the kernel sets the parent of the orphaned process to init. This operation is called re-parenting and occurs automatically. However, this re-parenting case does not apply to any orphaned thread, i.e. if the main thread in a process exits, all related threads will terminate. TrueFalse

Options
A.True
B.False
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
The question centers on what happens if a parent process terminates and how orphan processes are handled, and then contrasts that with threads within a process. Option 1: True. The first part is accurate: in Unix-like systems, when a process’s parent dies, the kernel adopts the orphaned child process to the init process (pid 1). This automatic re-parenting is a standard behavior to ensure proper parentage and signal han......Login to view full explanation

Log in for full answers

We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

Similar Questions

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!