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.
Related questions
On a MULTI-CORE system, a SPIN LOCK is generallyDisabling INTERRUPTS as a way to implement mutual exclusion on a single-CPU system isA LIVELOCK differs from a DEADLOCK in thatSuppose thread A acquires lock L1, then thread B acquires lock L2. Now A tries to acquire Without atomic hardware support, building a correct mutual-exclusion lock for $N \geq 2$ tA CRITICAL SECTION isLinux's `pthread_mutex_lock()` is typically implemented as a HYBRID:What is the PRIMARY problem with using a SPIN LOCK on a SINGLE-CPU uniprocessor system (wi