Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Conditions

Total questions: 23

Worksheet time: 12mins

Name
Class
Date
1.

Look at the light-switch diagram showing “If the room is dark” leading to actions. What is the correct action when the condition is true?

a)

Turn off all devices

b)

Open the window curtains

c)

Switch on the light

d)

Leave the light switched off

2.

In a Scratch game screen with a cat and a bat, which statement best describes an if-else condition the game could use?

a)

If cat moves left, play music; else, pause video

b)

If cat touches bat, lose a life; else, keep playing

c)

If cat touches bat, increase score; else, do nothing

d)

If cat jumps, change background; else, close program

3.

What does an if-then block do in a Scratch program?

a)

Changes the sprite’s costume every second

b)

Runs actions when a condition is true

c)

Repeats actions forever without stopping

d)

Starts the program when the green flag clicks

4.

Which Scratch category contains blocks like touching mouse-pointer and touching color?

a)

Operators category

b)

Looks category

c)

Motion category

d)

Sensing category

5.

You want your sprite to say "Goal!" only when the ball touches the basket hoop. Which block should be checked inside an if-then block?

a)

Switch costume to next block

b)

Touching color block

c)

Touching mouse-pointer block

d)

Change x by 10 block

6.

A sprite should turn around unless it is touching the edge. Which plan best uses if-then?

a)

If timer greater than ten then bounce back

b)

If key space pressed then bounce back

c)

If touching edge then bounce back

d)

If costume number equals two then bounce back

7.

Which block should start the script so it runs when the green flag is clicked?

a)

Change color looks block

b)

Forever loop begin block

c)

If then control block starter

d)

When green flag clicked event block

8.

What sensing condition goes inside the if block to detect the mouse touching the sprite?

a)

Touch sensor active state

b)

Pointer over sprite check

c)

Mouse clicked detector

d)

Touching mouse-pointer condition

9.

Why add a forever loop around the if block in this script?

a)

To slow down the sprite’s movement

b)

To start the program only once

c)

To keep checking the condition repeatedly

d)

To reset the project automatically

10.

Which Looks block changes the sprite’s color when the condition is true?

a)

Set size to percentage

b)

Switch costume to next style

c)

Change color effect by value

d)

Show sprite on stage

11.

What does an if-then-else block do when the condition is false?

a)

Repeats the if part forever

b)

Stops the entire program immediately

c)

Clears all looks and sound effects

d)

Runs the blocks inside the else part

12.

In the Scratch script shown, what happens when the sprite is touching the mouse-pointer?

a)

Forever loop stops after one cycle

b)

Green flag turns red automatically

c)

Sprite hides and shows repeatedly

d)

Color effect increases by a set amount

13.

You want the bat to flap wings if the condition is true and glide if it is false. Which block should you use?

a)

Use the change size by block

b)

Use a simple repeat ten block

c)

Use the when space key pressed event

d)

Use the if-then-else control block

14.

Look at the code: When green flag clicked, if touching mouse pointer then change color effect by 25, else say "Mouse not touching" for 2 seconds. What happens when the sprite is NOT touching the mouse pointer?

a)

It changes color effect by 25

b)

It says "Mouse not touching" for 2 seconds

c)

It stops and does nothing

d)

It moves to the mouse pointer position

15.

Which block should be placed inside the else section to make the sprite speak when the mouse is away?

a)

Change color effect by 25 block

b)

Forever loop control block

c)

When green flag clicked event block

d)

Say for seconds looks block

16.

Why add a forever loop around the if-then-else structure in this script?

a)

To speed up color changes immediately

b)

To keep checking and updating behavior continuously

c)

To run the script only once

d)

To make the sprite start when clicked

17.

Look at the sprites. Which block best checks if the mouse-pointer is touching a sprite to show a speech bubble?

a)

if then else control block

b)

repeat until movement block

c)

set rotation style block

d)

wait three seconds block

18.

In the bird-and-egg game, the bird should hide for 3 seconds when it spots the egg. Which sequence will work best?

a)

if touching egg then hide, wait 3 seconds, show

b)

wait 3 seconds, hide, if touching egg then show

c)

show, wait 3 seconds, hide when touching egg

d)

hide, set rotation style, wait 3 seconds then show

19.

Look at the hen and egg project. Which block checks if the hen is touching the egg so it can hide and then show later?

a)

wait 3 seconds control block

b)

touching Egg? sensing block

c)

change y by 10 motion block

d)

when up arrow key pressed event block

20.

In this project, the hen moves with arrow keys. If you wanted the hen to bounce off the screen edges instead of disappearing when touching the egg, which change best fits the goal?

a)

Replace wait 3 seconds with wait 1 second

b)

Delete the touching Egg? condition entirely

c)

Add if on edge, bounce motion

d)

Change change x by 10 to change x by -10

21.

In a Scratch project, how can you make a sprite move continuously in a specific direction until it touches another sprite?

a)

Use a forever loop with change x by block

b)

Use an if-then block to stop movement

c)

Use a wait block to pause movement

d)

Use a repeat until block with change y by block

22.

Which Scratch block would you use to check if a sprite is touching the edge of the stage?

a)

Change x by block

b)

Set rotation style block

c)

Touching edge? sensing block

d)

When green flag clicked event block

23.

What happens when you place a wait block inside a forever loop in Scratch?

a)

The sprite will stop moving completely

b)

The program will crash due to infinite waiting

c)

The loop will run continuously without delay

d)

The loop will pause for the specified time before continuing