Which of the following statements are TRUE about Process Control Block (PCB) ?…
2024
Which of the following statements are TRUE about Process Control Block (PCB) ?
(A) The PCB contains information about the process state, such as whether it is running, waiting or terminated
(B) The PCB includes the program code and data segments of the process
(C) The PCB stores the process's memory management information, such as page tables and segment tables
(D) The PCB is used to track process scheduling information and CPU registers for process execution
Choose the correct answer from the options given below :
- A.
(A), (B) and (C) Only
- B.
(B), (C) and (D) Only
- C.
(A), (C) and (D) Only
- D.
(A) and (B) Only
Attempted by 498 students.
Show answer & explanation
Correct answer: C
Answer: The correct statements are the ones that say the PCB contains information about the process state, stores memory-management information (such as page tables or segment tables), and is used to track scheduling information and CPU registers for process execution. The statement that the PCB includes the program code and data segments is not correct.
Why the incorrect statement is false:
The PCB does not contain the process's actual program code or data segments; those reside in the process address space in memory or on disk. The PCB may hold pointers or references to those regions but not the code/data themselves.
Typical contents of a PCB:
Process identifier and current process state (running, waiting, ready, terminated).
CPU registers and program counter values needed to resume execution.
Scheduling information (priority, pointers in scheduler queues, accounting data).
Memory-management information (base/limit or page table/segment table pointers).
I/O status and resource allocation information.
Summary:
True statements describe process state, memory-management information, and scheduling/CPU-register tracking.
The false statement incorrectly claims the PCB stores the program code and data segments themselves.
A video solution is available for this question — log in and enroll to watch it.