5 questions to test your understanding
Two users on the same Linux system both launch the same Python interpreter. User A's program sets a global variable `counter = 100`. Will User B's Python process see `counter = 100`?
During a context switch from Process A to Process B, what must the operating system do?
Two instances of the same program running simultaneously share the same address space, allowing each to access the other's variables.
The Process Control Block (PCB) contains all the information the OS needs to pause and correctly resume a process.
Explain the difference between a program and a process, and why two processes running the same program cannot interfere with each other's data.