wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Lesson 04- Procedures

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is the purpose of message broadcasting in Scratch?

a)
  • To store data

b)

To send messages to sprites

c)

To create variables

d)

To draw shapes

2.

Which block is used to broadcast a message in Scratch?

a)

 when green flag clicked

b)

broadcast [message]

c)

if <condition>

d)

repeat [number]

3.

How can a sprite respond to a broadcast message?

a)

By using the broadcast [message] block

b)
  • By using the when I receive [message] block

c)

By using the stop all block

d)

By using the wait [seconds] block

4.

What is a procedure in Scratch?

a)

A way to create a new sprite

b)

A set of instructions that can be reused

c)

A type of variable

d)

A method to change the background

5.

Which block is used to create a new procedure?

a)

define [procedure name]

b)

when I receive [message]

c)

broadcast [message]

d)

forever

6.

What does the 'My Blocks' category in Scratch allow you to do?

a)

Create new sprites

b)

Create custom blocks for procedures

c)

Change the stage backdrop

d)

Adjust the volume of sounds

7.

What is the main benefit of creating a custom block (My Block)?

a)

It reduces the number of sprites

b)

It allows for more complex animations

c)

It simplifies and organizes code

d)

It enhances sound quality

8.

When you create a My Block, what must you provide?

a)

A sprite

b)

A name and parameters (if needed)

c)

A sound

d)

A background

9.

Which of the following is NOT a way to start a broadcast in Scratch?

a)

Clicking the green flag

b)

Using a keyboard event

c)

Using a sprite's costume change


d)

Using a timer

10.

What happens when a broadcast message is sent?

a)

All scripts stop

b)

Only one sprite responds

c)

All sprites that are listening can respond

d)

It creates a new variable

11.

What is the 'when I receive [message]' block used for?

a)

To send a message

b)

To start a new procedure

c)

To execute code in response to a broadcast

d)

To change a sprite's costume

12.

In Scratch, how can you pass information to a My Block?

a)

By using the broadcast block

b)

By using parameters

c)
  • By changing the sprite's costume

d)

By adjusting the stage backdrop

13.

Which block would you use to stop all scripts in Scratch?

a)

stop all

b)

stop this script

c)

when I receive [message]

d)

wait [seconds]

14.

What is the maximum number of parameters you can have in a My Block?

a)

 1

b)

2

c)

5

d)

Unlimited

15.

What does the wait [seconds] block do?

a)

Stops all scripts

b)

Delays the execution of the next block

c)
  • Changes the sprite's color

d)

Broadcasts a message

16.

Why might you want to use a My Block instead of repeating code?

a)

To simplify your project

b)

To increase the number of sprites

c)
  • To add more sounds

d)

To create more broadcasts

17.

What happens if a sprite receives a broadcast message it is not programmed to respond to

a)

The sprite will crash

b)

Nothing happens

c)
  • The sprite will automatically respond

d)

The sprite will change color

18.

Which of the following is an example of a built-in broadcast message in Scratch?

a)

start

b)

game over

c)

when green flag clicked

d)

reset

19.

In Scratch, what is the purpose of the define [my block] block?

a)

To create a new sprite

b)

To define the actions of a custom block

c)

To broadcast a message

d)

To change a backdrop

20.

How can you delete a My Block you no longer need?

a)

By clicking on it and pressing delete

b)

 By right-clicking and selecting delete

c)

By dragging it to the trash

d)

 All of the above