Introduction to Programming

Quiz 4: Variables - The Multitaskers

Lesson 4: Variables

Quiz 4: Variables - The Multitaskers

Time limit: 10 minutes

1. A variable in PictoBlox can only store numbers, not text.

1 pt
  • True
  • False

2. Which block is used to increase a variable's value by a specific amount?

1 pt
  • Set (variable) to ()
  • Change (variable) by ()
  • Show variable (variable)
  • Reset (variable)

3. Where is the 'Ask () and wait' block found in PictoBlox?

1 pt
  • Variables
  • Operators
  • Sensing
  • Control

4. The 'answer' block stores all previous answers typed by the user throughout the program.

1 pt
  • True
  • False

5. When creating a variable in PictoBlox, which scope should you choose if multiple sprites need to share the same value?

1 pt
  • This sprite only
  • For all sprites
  • Global scope
  • Local scope

6. What is the coordinate of the center of the Stage in PictoBlox?

1 pt
  • x: 100, y: 100
  • x: 0, y: 100
  • x: 0, y: 0
  • x: 100, y: 0

7. Match each variable block with its correct description.

2 pts

Drag each block name to its matching description.

Set (variable) to ()Change (variable) by ()Show variable (variable)Hide variable (variable)
  • Assigns a specific value to the variable
  • Adds or subtracts a value from the variable
  • Makes the variable visible on the Stage
  • Removes the variable display from the Stage

Subscribe to our newsletter.

Get updates to news and events.