Which of the following statements are TRUE about the 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:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. (A), (C) and (D) Only
Explanation
The PCB holds the state, program counter, CPU registers, scheduling information, memory-management information (page/segment tables), accounting and I/O status. It does not contain the program's code and data themselves.More System Software and Operating System questions
- Which of the following is NOT a requirement for the Banker's algorithm to grant a resource request?
- Which data structures does the Banker's Algorithm use to maintain the state of available, maximum and allocated resources?
- What is the significance of the Banker's algorithm in terms of resource management?
- What is the primary goal of the Banker's Algorithm?
- What information is used to determine if a resource request can be granted?
- An address in main memory is called: