Complete the code to identify the main purpose of a Process Control Block (PCB).
The Process Control Block (PCB) is used to [1] information about a process in an operating system.
The PCB stores all the important information about a process, such as its state and resources.
Complete the code to specify which of these is NOT typically stored in a PCB.
A PCB usually contains process state, program counter, CPU registers, and [1].
User passwords are not stored in the PCB; it holds technical process details like state and resources.
Fix the error in the statement about PCB content.
The PCB contains the process state, program counter, CPU registers, and [1] which is incorrect.
User interface settings are not part of the PCB; it contains technical data for process control.
Fill both blanks to complete the description of PCB components.
The PCB includes [1] to track the process execution point and [2] to manage resource allocation.
The program counter tracks where the process is in execution, and memory management info helps allocate resources.
Fill all three blanks to complete the dictionary comprehension representing PCB fields.
pcb = { [1]: [2] for [3] in process_fields if [2] != None }This comprehension creates a dictionary pcb with keys as field names and values from process_fields, skipping None values.