✕ Close
← Practice: tidy and find

Level 1 · Lesson 7: Level 1 test: Find the Cat

Where am I? (pwd) →
LEVEL 1 TEST
Find the Cat
Everything from Level 1.
No hints this time. Take your time and read carefully.
press Enter ↵
C:\Users\you\Documents

Lesson 7: Level 1 test: Find the Cat

Level 1, Meet Your Computer. Use everything from Level 1 to find the cat. It follows lesson 6, Practice: tidy and find. Next comes lesson 8, Where am I? (pwd).

What the lesson explains

Find the Cat. Everything from Level 1. No hints this time. Take your time and read carefully.

What you do first

Show what you know. Put the robot's 4 steps to "make a cheese sandwich" in order and press Run: 1. Get two slices of bread; 2. Spread the butter; 3. Add the cheese; 4. Put the slices together.

Put a step too early and the robot still does it. The robot buttered… the table. No bread yet! That is how a computer works: it follows the steps it is given, in the order it is given them.

The jobs in this lesson

Make a cheese sandwich: get two slices of bread, then spread the butter, then add the cheese, then put the slices together. When every step is in place: "A perfect cheese sandwich!"

The files on the practice computer

This lesson works in 5 folders. At the start, your home folder, C:\Users\you holds Desktop\, Documents\, Downloads\, Pictures\; Pictures holds beach.jpg; Desktop holds todo.txt; Documents\my-project holds images\, hello.py, notes.txt; Documents\my-project\images holds cat.png.

You change nothing here, so lesson 8 finds the same files.

What you practise

Test, "Show what you know": Put the robot's 4 steps to "make a cheese sandwich" in order and press Run: 1. Get two slices of bread; 2. Spread the butter; 3. Add the cheese; 4. Put the slices together. Then: What is beach.jpg? The answer: "A picture". Then: Open todo.txt (plain text) at C:\Users\you\Desktop\todo.txt. Inside: "1. Learn about files 2. Tidy my folders". Then: Build the path of beach.jpg from tiles, part by part: C:\Users\you\Pictures\beach.jpg. Then: Type the full path of notes.txt: C:\Users\you\Documents\my-project\notes.txt. Capitals and the slash direction do not matter; every letter does.

Challenge, "Find the Cat!": Starting at C:\Users\you, use dir and cd to reach C:\Users\you\Documents\my-project\images, then type dir there (par: 4 commands).

Help in every lesson

Everything happens on a pretend computer in your browser, so nothing touches your real files. PlayBuddy and PlayType stand beside the board, cheer you on and say when it is your turn.

This is a test, so the green ring stays away: you show what you know on your own.

Stars

The lesson has 6 things to do. Up to one slip in ten gives three stars, up to one in four gives two, and finishing always gives at least one. Stars and progress are saved in this browser only; there is no account.

About DayOneCode

DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.