← Back to course
4/6
Week 07 · Software and files

Thursday

Files, folders and saving
// The instructions that bring the parts to life
⏱ about 15 min

Thursday: Files, folders and saving

A neighbor is upset. He drew a map for an hour, and then the tablet battery ran out. When it restarted, the map was gone. "It vanished!" Rocket says.

Raven asks gently, "What do you notice about when the map disappeared? Was it ever saved?"

Nova dims her lights. "Would you like a hint? Memory forgets when the power goes. Storage remembers. Saving moves work from one to the other."

What a file is

A file is a named bundle of information saved on storage. A story, a drawing, a photo and a song are each a file.

Every file has a name. Many file names end with a short tag that shows the file type.

The tag tells the operating system which app can open the file.

File nameType tagWhat is insideOpens with
map.png.pngA pictureA drawing or photo app
story.txt.txtPlain wordsA writing app
song.mp3.mp3SoundA music player
trip.mp4.mp4VideoA video player

A folder is a named place that holds files and other folders. Folders keep files tidy.

A folder named Maps might hold map1.png and map2.png. A folder named School might hold more folders inside it.

My Stuff (folder)
↓
Maps (folder): map1.png, map2.png
↓
Stories (folder): dragon.txt, moon.txt
↓
Songs (folder): hum.mp3
FILES AND FOLDERS
  • Read the question.
  • Tap your answer.
Which one is a file that holds a picture?
What does a folder do?
Which app would open hum.mp3?

Saving: from the bench to the shelf

While you work, your drawing lives in memory. Memory is fast, but it forgets when the power goes.

Saving copies your work from memory to storage as a file. Storage remembers with no power.

The neighbor never saved his map. When the battery ran out, memory forgot, and the map was lost.

Many apps save on their own every few seconds. Some do not. Look for a save choice, and use it often.

  1. Pick a clear name, like station_map.
  2. Choose the folder where it belongs.
  3. Use the save choice in the app.
  4. Check the folder to see the new file.
Saving copies work from memory to what?
What kind of file is bay.png?
A named place that holds files is called a what?
PUT THE SAVING STEPS IN ORDER.
  • ?Pick a clear file name
  • ?Use the save choice
  • ?Draw the map in the drawing app
  • ?Check the folder for the new file
  • ?Choose the folder
WHY THIS EXERCISESaving is a habit with steps. Doing them in order means nothing gets lost.
StatementTrue or false?
Work in memory is lost when the power goes off.?
A file on storage is lost when the power goes off.?
A folder can hold other folders.?
The type tag tells which app can open a file.?
WHY THIS EXERCISEThese facts explain why saving matters and how the device knows what a file is.
BENCH OR SHELF?
  • Read the question.
  • Tap your answer.
You are drawing right now. Where does the unsaved drawing live?
You tap save. Where does the file go?
For a grown-up
Show your child where saved files go on one device.
Point out the type tag at the end of a file name, if shown.
A child never deletes a file they did not make. Talk about why.

You know where your work really lives now. Tomorrow you will follow one drawing through hardware, software and storage.

← Wednesday