Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 1

Total questions: 17

Worksheet time: 13mins

Name
Class
Date
1.

What is the main purpose of the Microsoft MakeCode Editor?

a)

To design graphics

b)

To program the micro:bit

c)

To create music

d)

To play games

2.

Which programming method is mentioned for use in the MakeCode Editor?

a)

Handwriting

b)

Voice commands

c)

Drag-and-drop

d)

Typing code

3.

Which category must be selected to access the [show string] block?

a)

Control

b)

Input

c)

Math

d)

Basic

4.

What is the purpose of the [show string] block in this programming project?

a)

To create a random number.

b)

To wait for user input.

c)

To execute the program continuously.

d)

To display a text message on the micro:bit.

5.

What happens to the orange LED on the back of the micro:bit during the code transfer?

a)

It turns off.

b)

It changes color.

c)

It remains steady.

d)

It flashes.

6.

What does the [on start] block of code accomplish?

a)

It shows the string 'Hello!' repeatedly.

b)

It runs once when the program starts.

c)

It stops the program from running.

d)

It shows the heart icons continuously.

7.

Why does the string 'Hello!' only display once while the heart icons loop continuously?

a)

The [on start] block executes only a single time.

b)

There is an error in the code preventing repetition.

c)

The icons have a loop condition preventing the string from repeating.

d)

The string is part of the [forever] loop.

8.

Which part of the code would cause the heart icons to be displayed repeatedly?

a)

show icon (Small Heart)

b)

on start

c)

forever

d)

show string 'Hello!'

9.

What kind of programming structure is used in the provided code?

a)

Procedural Programming

b)

Functional Programming

c)

Graphical Programming Language

d)

Linear Programming

10.

Which block would you use to display a number from 0 to 9?

a)

[show leds]

b)

[show number]

c)

[pause]

d)

[start]

11.

If you want to display a number and pause for 2 seconds before displaying another number,which sequence of blocks would you use?

a)

[show number] -> [pause (ms) 2000] -> [show number]

b)

[pause (ms) 2000] -> [show number] -> [show number]

c)

[show number] -> [show number] -> [pause (ms) 2000]

d)

[pause (ms) 1000] -> [show number] -> [pause (ms) 1000]

12.

What is the purpose of adding a pause block in a program?

a)

To make the program run faster

b)

To allow time for the user to see the output

c)

To stop the program completely

d)

To change the program's language

13.

If you want to create a program that blinks an LED icon every second, which blocks would you use?

a)

[show number] -> [pause (ms) 1000] -> [show number]

b)

[show leds] -> [pause (ms) 1000] -> [show leds]

c)

[show leds] -> [pause (ms) 500] -> [show leds]

d)

[pause (ms) 1000] -> [show leds] -> [pause (ms) 1000]

14.

How long will the program pause if you set a [pause] block to 500 ms?

a)

0.5 seconds

b)

1 second

c)

1.5 seconds

d)

2 seconds

15.

How many milliseconds are in one second?

a)

500 ms

b)

1000 ms

c)

1500 ms

d)

2000 ms

16.

What is the primary function of the [show leds] block?

a)

To display numbers

b)

To pause the program

c)

To display icons

d)

To display sound

17.

What is the primary purpose of a "Hello, World!" program?

a)

What is the primary purpose of a "Hello, World!" program?

b)

To output "Hello, World!"

c)

To output "Hello, World!"

d)

To store data