← Back to course
2/6
Week 04 Β· Memory and storage

Tuesday

Memory up close
// The workbench and the shelf
⏱ about 15 min

Tuesday: Memory up close

Rocket carries a laptop into the bay. "The neighbor says it crawls," he says. "Every tap takes forever." The screen shows twelve open apps and twenty web pages.

Raven counts the little icons along the bottom. "What do you notice about how much is open at once?"

Nova dims her lights to think. "Would you like a hint? A workbench has only so much room. When it is full, the worker has to shuffle things around."

A workbench with limited room

Memory is fast, but it is not very big. Every open app takes a piece of it.

Every open web page takes a piece too. When memory fills up, the computer starts to shuffle.

It moves some work off the bench to make room. Then it brings that work back when you need it.

All that shuffling takes time. That is why a crowded device feels slow.

  • Memory holds the apps that are running right now.
  • It holds the page you are reading and the game you are playing.
  • Closing an app gives its piece of memory back.
  • Restarting clears the whole workbench and starts fresh.
WHY SO SLOW?
  • Read the question.
  • Tap your answer.
A laptop has twelve apps open and feels slow. What is most likely full?
Which safe fix gives memory back?
What does a restart do to memory?

Memory chips

Memory lives on small chips inside the device. The chips sit close to the processor.

Each chip holds millions of tiny switches. A switch can be on or off, just like the binary you learned.

The switches need power to stay set. Cut the power and every switch goes blank.

That is why memory is called volatile. Volatile means it does not last without power.

StatementTrue or false?
Memory is bigger than storage on most devices.?
Closing an app gives memory back.?
Memory chips need power to hold their switches.?
A restart deletes your saved files.?
WHY THIS EXERCISEMemory is small, fast and volatile. Saved files live in storage, so a restart does not touch them.
What word means memory loses everything without power?
WHY THIS EXERCISEVolatile memory is fast but forgetful. That is why saving matters so much.
Try it
Pretend your desk is memory. Pile six books on it.
Now try to write a note on the desk. Is there room?
Put four books away. Notice how much easier it is to work.
PUT THE SLOW LAPTOP FIX IN ORDER
  • ?Notice the laptop feels slow
  • ?Close the ones you are not using
  • ?Test: does it feel faster now?
  • ?Count the open apps and pages
WHY THIS EXERCISENotice, name it, test one thing. Closing apps is a fix a kid may do, with a grown-up nearby.
Every open app takes a piece of
When memory is full the computer has to
A safe fix for a crowded memory is to
Memory that forgets without power is called

Nice work! You know why a crowded device gets slow, and a safe fix for it. Tomorrow you will visit the shelf and find out how storage keeps files.

← Monday