← Quiz: OS Interview Questions: all 10 questions
Quiz: OS Interview Questions · Question 9 of 10
What is the best two-line answer to "program vs process"?
What is the best two-line answer to "program vs process"?
- A.They are the same thing
- B.A program is a passive file on disk; a process is that program in execution, with its own memory and state
- C.A process is a file; a program is running code
- D.A program always has many processes
Answer & explanation
Correct answer: A program is a passive file on disk; a process is that program in execution, with its own memory and state
Opening the same program twice creates two processes.
Can you get the rest right without peeking?
Take the timed Quiz: OS Interview Questions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →