wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

QUIZ IT PRIMARY-SECONDARY

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What is meant by a sequence in programming?

a)

a. Commands executed randomly

b)

b. Commands executed sequentially from top to bottom

c)

c. Commands repeated continuously

d)
  • d. Commands executed only if the condition is true

2.

Which one is the correct example of a sequence?

a)

a. Turning on the lamp → Unplugging the cable → Pressing the button

b)

b. Washing hands → Drying hands → Eating

c)

c. Jumping → Sleeping → Sitting → Standing

d)
  • d. Cooking → Buying ingredients → Serving food

3.

What is the function of if-else in programming?

a)

a. To repeat commands

b)

b. To provide choices based on conditions

c)

c. To execute all commands at once

d)
  • d. To store data

4.

An example of an if-else condition is…

a)

a. If it rains, then bring an umbrella; if not, then stay home

b)

b. If hungry, then study; if not, then sleep

c)

c. If the light goes out, then turn on the fan; if not, then open the door

d)
  • d. If sick, then play soccer; if not, then run

5.

What is meant by a loop?

a)

a. A command executed only once

b)

b. A command repeated according to a condition or a certain number of times

c)

c. A command that never stops

d)
  • d. A command executed only when the computer is off

6.

Which is an example of using a loop in daily life?

a)

a. Brushing teeth every morning and night

b)

b. Sleeping once in a lifetime

c)

c. Buying food once a month

d)
  • d. Sending a message only once

7.

What is meant by a variable in programming?

a)

a. A command for repeating

b)

b. A place to store data

c)

c. A command to create a sprite

d)
  • d. A moving image in Scratch

8.

If the variable score is 10, and then 5 is added, what is the value of the score?

a)
  • a. 5

b)
  • b. 10

c)
  • c. 15

d)
  • d. 20

9.

An algorithm is…

a)

a. A sequence of steps to solve a problem

b)

b. A computer program

c)

c. A picture in Scratch

d)
  • d. A repeated command

10.

An example of an algorithm in daily life is…

a)

a. Reading random books

b)

b. Starting a motorcycle: Insert the key → Turn the key → Press the starter

c)

c. Writing without rules

d)
  1. d. Playing soccer while sleeping

11.

What is the function of the blue blocks section in Scratch?

a)

a. Move the sprite

b)

b. Control sound

c)

c. Control appearance

d)

d. Control variables

12.

The “if then” block in Scratch is used to…

a)

a. Repeat commands

b)

b. Provide conditions

c)

c. Delete a sprite

d)

d. Change appearance

13.

What is a sprite in Scratch?

a)

a. A picture or character that can be moved

b)

b. A background

c)

c. A code block

d)

d. A sound

14.

What is the stage in Scratch?

a)

a. A picture or character that can be moved

b)

b. The screen or stage where sprites appear

c)

c. A code block

d)

d. A sound

15.

The “repeat 10” block in Scratch means…

a)

a. The command is executed once

b)

b. The command is executed forever

c)

c. The command is repeated 10 times

d)

d. The command is not executed

16.

What is the function of the “go to x:0 y:0” block?

a)

a. Delete the sprite from the screen

b)

b. Rotate the sprite 360 degrees

c)

c. Move the sprite to specific coordinates

d)

d. Change the sprite’s size

17.

If we want the sprite to bounce back when it touches the edge, which block do we use?

a)

a. if on edge, bounce

b)

b. forever

c)

c. wait 1 second

d)

d. next costume

18.

The “next costume” block is used to…

a)

a. Change the stage background

b)

b. Switch the sprite’s appearance to the next costume

c)

c. Delete a sprite

d)

d. Change the sprite’s sound

19.

If we want the sprite to make a “meow” sound, which block do we use?

a)

a. stop all sounds

b)

b. play sound Meow until done

c)

c. broadcast Meow

d)

d. change volume by 10

20.

What is the function of the “wait 1 second” block?

a)

a. Stop the program forever

b)

b. Wait 1 second before continuing to the next command

c)

c. Repeat a command once

d)

d. Make the sprite disappear for 1 second

21.

The “forever if” block is used to…

a)

a. Repeat commands forever if the condition is true

b)

b. Execute only once if the condition is true

c)

c. Stop the program if the condition is false

d)

d. Reverse the condition

22.

If we want the sprite to move using arrow keys, which block do we use?

a)

a. when key (arrow) pressed

b)

b. repeat 10

c)

c. broadcast arrow

d)

d. play sound arrow

23.

The operator block “pick random 1 to 10” is used to…

a)

a. Store numeric values in a variable

b)

b. Generate a random number between 1 and 10

c)

c. Arrange numbers from 1 to 10

d)

d. Count the number of sprites on the stage

24.

Variables in Scratch can be used to…

a)

a. Store numbers or text values

b)

b. Delete all sprites

c)

c. Make sprites transparent

d)

d. Change the stage size

25.

The “change score by 1” block is usually used in games to…

a)

a. Increase the score

b)

b. Reduce the sprite’s speed

c)

c. Change the background color

d)

d. Display a text message