DSA Factory
Free What the OS does lessonsWhat the OS does · Stage 1 · Programs and processes · Step 1

Programs and processes

Tell a program (a file) from a process (a running instance), and see what the OS keeps for each process. About 11 minutes.

Quick check

You start the same text editor program twice. What do you have?

  1. AOne program and two processes, each with its own memory and state
  2. BOne process with two windows
  3. CTwo programs on disk
Show the answer

One program and two processes, each with its own memory and state. The program is the file; each run is a separate process.

Lock it in

4 questions on this idea

Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.

Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve