The visual programming editor: stage, sprites and scripts

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

The visual programming editor: stage, sprites and scripts

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Where does a visual programming editor show your program running?
A On the stage
B In the block palette
2. Which part of the editor holds the characters or objects that act in your program?
A The script area
B Sprites
3. Where do you find the blocks you can choose from?
A The block palette
B The stage
4. Where do you snap blocks together to build a script?
A On the stage
B In the script area
5. Which sentence is true?
A A sprite follows the scripts that you build for it
B A sprite is the place where all the blocks are stored

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1Stage Awhen green flag clicked -> move 10 steps
2Block palette BThe menu of coloured blocks you drag from to build your program
3A sprite is a character or object on the stage that follows the blocks you give it CSprite: Cat
4Blocks are dragged into the script area and snapped together to make a script DBlocks must be snapped together in the script area. The stage only shows the result of the program.
5Dragging a block onto the stage and expecting it to run EThe area where the program shows what happens, with a backdrop and sprites on it
6Looking in the script area for a new block to use FNew blocks come from the block palette. The script area is where you snap the blocks together.

Definitions

visual programming editor

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
The _____ is where the program shows.
2.
A ______ is a character that acts.
3.
Blocks are stored in the _____________.
4.
Snap blocks together in the ___________.
5.
The _________________________ uses blocks.

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A Sprite: Cat
B when green flag clicked
C move 10 steps
D say Hello! for 2 steps
Question 2
A Sprite: Dog
B when green flag clicked
C move 10 seconds
D turn 15 degrees
Question 3
A Open the Motion palette
B Drag move 10 steps
C Drop it in the block palette
D Click the block to run it
Question 4
A Choose the Cat sprite
B Open its script area
C Add when green flag clicked
D Snap move 10 steps above it
Question 5
A Stage: where blocks snap
B Sprite: character that acts
C Palette: blocks to choose from
D Script area: snap blocks here

Answer Key

The visual programming editor: stage, sprites and scripts
Section A: Quick Questions
Q1
A — On the stage
Q2
B — Sprites
Q3
A — The block palette
Q4
B — In the script area
Q5
A — A sprite follows the scripts that you build for it
Section B: Match the Pairs
Q1
Stage → The area where the program shows what happens, with a backdrop and sprites on it
Q2
Block palette → The menu of coloured blocks you drag from to build your program
Q3
A sprite is a character or object on the stage that follows the blocks you give it → Sprite: Cat
Q4
Blocks are dragged into the script area and snapped together to make a script → when green flag clicked -> move 10 steps
Q5
Dragging a block onto the stage and expecting it to run → Blocks must be snapped together in the script area. The stage only shows the result of the program.
Q6
Looking in the script area for a new block to use → New blocks come from the block palette. The script area is where you snap the blocks together.
Section C: Definitions
Q1
visual programming editor — A screen where you build programs by snapping blocks together. It has a stage that shows the program, sprites that act, a block palette and a script area.
Section D: Fill in the Blanks
Q1
The stage is where the program shows.
Q2
A sprite is a character that acts.
Q3
Blocks are stored in the block palette.
Q4
Snap blocks together in the script area.
Q5
The visual programming editor uses blocks.
Section E: Spot the Error
Q1
D — The say block shows a speech bubble for a number of seconds, not steps. It should be 'say Hello! for 2 seconds'.
Q2
C — The move block uses steps to move a sprite across the stage, not seconds. It should be 'move 10 steps'.
Q3
C — The block palette is where you choose blocks from. You drop them in the script area to build a program. It should be 'Drop it in the script area'.
Q4
D — The event block goes at the top of a script and the other blocks snap on below it. It should be 'Snap move 10 steps below it'.
Q5
A — The stage is where the program shows and runs. Blocks snap together in the script area. It should be 'Stage: shows the program'.