Lesson 3 of 4 · 6 minutes
Memory: where a computer keeps things
While a program runs, the computer needs somewhere to keep things. That place is called memory.
Picture a shelf of labelled boxes. Each box has a name. Inside is a value: a piece of information such as a number or text. You can write a value into a box and read it later.
Memory is temporary. When the program stops, the boxes empty. This is why an app must save important work somewhere more permanent.
Memory holds values in named places while a program runs.
Quick check
You now know where a computer keeps things while it works — and why it forgets them when it stops.