Computer Science
Grade 1
20 min
Creating Simple Stories
Creating Simple Stories
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Select a character (Sprite) for their story.
Choose a background for their story.
Make a character say something using a code block.
Start their story by clicking the Green Flag.
Put two or three code blocks in the correct order (sequence).
Make a character move a short distance.
Do you want to make a dinosaur ๐ฆ talk to a unicorn ๐ฆ? Let's learn how!
We will use special puzzle pieces called code blocks. We will snap them together to tell a fun story. It's like building with digital LEGOs!
Real-World Applications
Making your favorite cartoon shows ๐บ
Creating fun video games ๐ฎ
Building interactive storybooks on a tablet ๐
Making a character dance to music ๐บ
2
Key Concepts & Vocabulary
TermDefinitionExample
SpriteA Sprite is a character or object in your story. ๐งธA friendly cat, a bouncy ball, or a flying rocket ship.
BlockA Block is one instruction for your Sprite. It's like one puzzle piece. ๐งฉA 'say Hello!' block, or a 'move 10 steps' block.
ScriptA Script is a stack of blocks snapped together. It tells your Sprite what to do. ๐A 'start' block connected to a 'move' block, then a 'say' block.
SequenceSequence is the order of your blocks. The computer reads them from top to bottom. โฌ๏ธFirst, you walk to the door. Second, you open the door. The order is important!
BackgroundA Background is the picture behind your Sprites. It is the setting of your story. ๐๏ธA sunny beach, a spooky castle, or outer space.
Green FlagTh...
3
Core Syntax & Patterns
The Green Flag Rule
Every story needs a 'when green flag clicked' block at the very top.
This block tells the computer when to start reading your code. It's the 'Ready, Set, Go!' of your story.
The Snap Together Rule
Blocks must snap together perfectly to work. No floating blocks!
If a block is not connected, the computer will ignore it. Make sure you hear the 'click' sound.
The Top-to-Bottom Rule
The computer reads your blocks from the top of the stack to the bottom.
The order you put your blocks in is the order your story will happen. First things must be on top.
4 more steps in this tutorial
Sign up free to access the complete tutorial with worked examples and practice.
Sign Up Free to ContinueSample Practice Questions
Challenging
A rocket ๐ must fly to the moon ๐, get smaller as it gets closer, and then disappear. What is the correct order of blocks?
A.[Disappear] -> [Move] -> [Shrink]
B.[Move] -> [Shrink] -> [Disappear]
C.[Shrink] -> [Disappear] -> [Move]
D.[Move] -> [Disappear] -> [Shrink]
Challenging
In a race story, a turtle ๐ข moves slowly and a rabbit ๐ moves quickly. If their 'move' blocks have a number for steps, the rabbit's number should be...
A.Bigger than the turtle's
B.Smaller than the turtle's
C.The same as the turtle's
D.Zero
Challenging
To tell a knock-knock joke, Character A says 'Knock, knock.' Then Character B must wait to hear that before saying 'Who's there?'. What does Character A's code need to do to tell Character B when to talk?
A.Move to the right
B.Get bigger
C.Send a message
D.Change color
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free