The Process Control Block (PCB) stores
Aruntime state: PID, registers, memory map, files
Bonly the program's compiled bytecode
Cthe OS kernel itself
Duser passwords and authentication tokens
Answer & Solution
Correct answer: A. runtime state: PID, registers, memory map, files
The PCB is the OS's per-process bookkeeping record.
It holds everything needed to suspend and resume the process: PID, register values, program counter, memory layout, open file descriptors, scheduling priority, signals pending.
Bytecode lives in memory pages, not the PCB
the kernel itself is unrelated
passwords belong to user/session management.
Keep practising Operating Systems
Browse all Operating Systems questions for GATE CSE, or explore more Computer Science topics.
Related questions
On a MULTI-CORE system, a SPIN LOCK is generallyA LIVELOCK differs from a DEADLOCK in thatSuppose thread A acquires lock L1, then thread B acquires lock L2. Now A tries to acquire A CRITICAL SECTION isA LOCK is considered FAIR ifA LOCK (mutex) is used by concurrent threads toWhich of the following is NOT typically minimised by a CPU scheduler?The PRIMARY DISADVANTAGE of FIFO scheduling is