CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
9
You visited us 9 times! Enjoying our articles? Unlock Full Access!
Question

PID of the kernel process is

A
undefined
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
0
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 0

PID of the kernel process is 0.

There are two tasks with especially distinguished process IDs: swapper or sched has process ID 0 and is responsible for paging, and is actually part of the kernel rather than a normal user-mode process. Process ID 1 is usually the init process primarily responsible for starting and shutting down the system.

The process identifier (PID) is a number used by most operating system kernels such as those of UNIX, mac OS and Microsoft windows to uniquely identify an active process.

Process 0is a special process that is created when the system boots; after forking a child process (process 1), process 0 becomes the swapper process.



flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Integrated Rate Equations
CHEMISTRY
Watch in App
Join BYJU'S Learning Program
CrossIcon