WorksheetsLesson 1
Total questions: 17
Worksheet time: 13mins
What is the main purpose of the Microsoft MakeCode Editor?
To design graphics
To program the micro:bit
To create music
To play games
Which programming method is mentioned for use in the MakeCode Editor?
Handwriting
Voice commands
Drag-and-drop
Typing code
Which category must be selected to access the [show string] block?
Control
Input
Math
Basic
What is the purpose of the [show string] block in this programming project?
To create a random number.
To wait for user input.
To execute the program continuously.
To display a text message on the micro:bit.
What happens to the orange LED on the back of the micro:bit during the code transfer?
It turns off.
It changes color.
It remains steady.
It flashes.
What does the [on start] block of code accomplish?
It shows the string 'Hello!' repeatedly.
It runs once when the program starts.
It stops the program from running.
It shows the heart icons continuously.
Why does the string 'Hello!' only display once while the heart icons loop continuously?
The [on start] block executes only a single time.
There is an error in the code preventing repetition.
The icons have a loop condition preventing the string from repeating.
The string is part of the [forever] loop.
Which part of the code would cause the heart icons to be displayed repeatedly?
show icon (Small Heart)
on start
forever
show string 'Hello!'
What kind of programming structure is used in the provided code?
Procedural Programming
Functional Programming
Graphical Programming Language
Linear Programming
Which block would you use to display a number from 0 to 9?
[show leds]
[show number]
[pause]
[start]
If you want to display a number and pause for 2 seconds before displaying another number,which sequence of blocks would you use?
[show number] -> [pause (ms) 2000] -> [show number]
[pause (ms) 2000] -> [show number] -> [show number]
[show number] -> [show number] -> [pause (ms) 2000]
[pause (ms) 1000] -> [show number] -> [pause (ms) 1000]
What is the purpose of adding a pause block in a program?
To make the program run faster
To allow time for the user to see the output
To stop the program completely
To change the program's language
If you want to create a program that blinks an LED icon every second, which blocks would you use?
[show number] -> [pause (ms) 1000] -> [show number]
[show leds] -> [pause (ms) 1000] -> [show leds]
[show leds] -> [pause (ms) 500] -> [show leds]
[pause (ms) 1000] -> [show leds] -> [pause (ms) 1000]
How long will the program pause if you set a [pause] block to 500 ms?
0.5 seconds
1 second
1.5 seconds
2 seconds
How many milliseconds are in one second?
500 ms
1000 ms
1500 ms
2000 ms
What is the primary function of the [show leds] block?
To display numbers
To pause the program
To display icons
To display sound
What is the primary purpose of a "Hello, World!" program?
What is the primary purpose of a "Hello, World!" program?
To output "Hello, World!"
To output "Hello, World!"
To store data
