wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Grade 5 Micro:Bit Programming Quiz

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

What programming platform did students learn to use last year for Micro:Bit?

a)

Scratch

b)

MakeCode

c)

Python

2.

Which website can you use to access the online version of MakeCode?

a)

www.python.org

b)

https://makecode.microbit.org/

c)

www.code.org

3.

What is the function of the "show number 0" block on Micro:Bit?

a)

Display number 0 on the screen

b)

Turn off the screen

c)

Play a melody

4.

What does the "clear screen" block do?

a)

Display a heart icon

b)

Delete all messages on the screen

c)

Pause the program

5.

What happens when you press button A in the example script?

a)

The Micro:Bit plays a tone

b)

The Heart icon is displayed

c)

The screen clears

6.

What sensor can measure the temperature with Micro:Bit?

a)

Accelerometer

b)

Temperature sensor

c)

Compass sensor

7.

Which of these is NOT a sensor connected to the Micro:Bit?

a)

Light sensor

b)

Microphone sensor

c)

Compass sensor

8.

What is a sensor?

a)

A device that controls motors

b)

A device that reads specific information like temperature or light

c)

A device that stores data

9.

How many sensors does a human being have?

a)

5

b)

10

c)

37

10.

Which of the following is an example of a micro-controller?

a)

Micro:Bit

b)

Television

c)

Speaker

11.

Why do electronic machines like fridges need micro-controllers?

a)

To keep the door locked

b)

To monitor temperature and check if the door is open

c)

To make noise

12.

What happens when the button B is pressed in one of the scripts?

a)

The word "Hello" is displayed

b)

The Heart icon is displayed

c)

The Micro:Bit restarts

13.

Which block would you use to make the Micro:Bit pause for 100 milliseconds?

a)

Show number

b)

Pause (ms) 100

c)

Clear screen

14.

What does the "show arrow North" block do?

a)

Displays an arrow pointing north on the screen

b)

Plays a melody

c)

Clears the screen

15.

What is the purpose of the "if" block in programming Micro:Bit?

a)

To repeat actions forever

b)

To make decisions based on conditions

c)

To pause the program

16.

What happens in the script when variable 'a' is greater than variable 'b'?

a)

A Heart icon is displayed

b)

The program ends

c)

The screen clears

17.

What type of devices are push buttons on Micro:Bit?

a)

Output devices

b)

Input devices

c)

Sensors

18.

What does the accelerometer sensor detect?

a)

Temperature changes

b)

Movement and orientation

c)

Light intensity

19.

How many sensors can a robot like Micro:Bit have?

a)

Between 5 and 37

b)

Exactly 5

c)

Over 100

20.

Which of these machines uses micro-controllers?

a)

Washing machine

b)

Bicycle

c)

Soccer ball

21.

What does the "set a to 0" block do inside an "if" condition?

a)

Increases variable a by 1

b)

Resets variable a to zero

c)

Displays variable a on screen

22.

When do you use the comparison block in programming?

a)

To compare two values

b)

To display text

c)

To pause the program

23.

What is the main role of the micro-controller in a robot?

a)

To act as the brain controlling the robot

b)

To power the robot's motors

c)

To charge the robot's battery

24.

What happens if variable 'a' reaches 10 in the script?

a)

It keeps increasing

b)

It resets back to 0

c)

The program stops

25.

Which sensor is used to detect the direction on Micro:Bit?

a)

Compass sensor

b)

Light sensor

c)

Temperature sensor

26.

Why are micro-controllers important in cars?

a)

They make the car look nice

b)

They detect obstacles and warn of engine problems

c)

They clean the car automatically

27.

What block is used to display text like "Hello" on Micro:Bit?

a)

Show string

b)

Show number

c)

Show icon

28.

What does the "pause (ms) 100" block do?

a)

Pauses the program for 100 seconds

b)

Pauses the program for 100 milliseconds

c)

Pauses the program for 1 second

29.

Which brand is NOT mentioned as an educational micro-controller?

a)

Arduino

b)

Raspberry Pi

c)

Intel

30.

What is the "brain" of a robot usually called?

a)

Motor

b)

Sensor

c)

Micro-controller

31.

What action is performed when the button A is pressed in the practice script?

a)

Displays a Heart icon

b)

Plays a melody

c)

Displays the number 0

32.

What kind of device is the LED screen on Micro:Bit?

a)

Sensor

b)

Input device

c)

Output device

33.

What does the "show icon" block do?

a)

Displays a picture or symbol on the screen

b)

Clears the screen

c)

Plays a melody

34.

Which of these is an input device on Micro:Bit?

a)

LED screen

b)

Push button

c)

Speaker

35.

What is the use of the light sensor in Micro:Bit?

a)

To measure temperature

b)

To detect light intensity

c)

To detect sound

36.

What is the website to download the offline version of MakeCode?

a)

https://www.microsoft.com/en-us/makecode

b)

https://makecode.microbit.org/

c)

www.google.com

37.

Which block would you use to make Micro:Bit display an arrow?

a)

Show number

b)

Show arrow

c)

Show string

38.

What is the main reason for using variables in programming Micro:Bit?

a)

To store and change values during the program

b)

To display images

c)

To pause the program

39.

What is the correct sign to use in the "if" block to check if a variable is greater than 10?

a)
b)

C) =

c)
40.

What happens when the "clear screen" block is run?

a)

The screen shows a heart

b)

The screen is emptied of all images and text

c)

The program pauses