What is the key difference between a program and a process?
Correct answer B. A program is passive code stored on disk, while a process is a program in execution with its own state
A program is a passive file of instructions. It becomes a process when loaded and running, with a program counter, registers, stack, heap and open resources. One program can give rise to several processes at the same time, for instance several users running the same editor, each with independent state.
Answer checked How we write and check questions
Discussion