Multiple choice technology operating systems

Which one of the following PIDs is assigned to the init program?

  1. 0

  2. 1

  3. 2

  4. 100

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Unix-like operating systems, the init process is the first process started during booting and is always assigned PID 1. PID 0 is typically the scheduler or idle process, PID 2 is reserved for kthreadd, and PID 100 is just a normal user-space process ID.