Practice mode Operating Systems

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

Explanation

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.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.