Font size
WorksheetsICT Revision G/6
Total questions: 20
Worksheet time: 11mins
What is the purpose of the first loop in the script?
To turn on all the LEDs at once.
To turn off all the LEDs at once.
To turn on the LEDs in the first column.
To turn off the LEDs in the first column.
What is the purpose of the second loop in the script?
To turn on all the LEDs at once.
To turn off all the LEDs at once.
To turn off the LEDs in the same order they were turned on.
To turn on the LEDs in a different order than they were turned off.
What is the purpose of the variables "ledx" and "ledy"?
To store the current row and column of the LED being illuminated.
To store the total number of rows and columns on the Micro:bit screen.
To store the brightness level of the LEDs.
To store the time delay between each LED being illuminated.
What is the purpose of the "pause" block in the script?
To stop the program execution.
To create a delay between each LED being illuminated.
To reset the variables "ledx" and "ledy".
To turn off all the LEDs.
Which of the following is NOT a correct way to turn on an LED at a specific location on the Micro:bit screen?
plot(x, y)
set led(x, y)
light(x, y)
turn on led(x, y)
What is the maximum number of LEDs that can be illuminated on the Micro:bit screen at the same time?
5
10
25
50
What is the purpose of the "forever" loop in the script?
To repeat the LED illumination process continuously.
To limit the number of times the LEDs are illuminated.
To create a random pattern of LED illumination.
To turn off all the LEDs after a certain amount of time.
How can you modify the script to change the speed at which the LEDs are illuminated?
By changing the values of the variables "ledx" and "ledy".
By changing the number of times the loops are repeated.
By changing the time delay in the "pause" block.
By changing the order in which the LEDs are illuminated.
What is the purpose of the "for" loop in the script?
To repeat a block of code a specific number of times.
To create a random pattern of LED illumination.
To turn off all the LEDs after a certain amount of time.
To create a delay between each LED being illuminated.
What is the name of the programming language used to program the Micro:bit?
Python
C++
javaScript
MakeCode
Each LED on the Micro:bit screen has a unique address represented by coordinates (x,y).
T
F
A variable can be used to control the address of the LED being illuminated in a loop.
T
F
The "for" loop in the script repeats a block of code a specific number of times.
T
F
The "pause" block is used to create a delay between each LED being illuminated.
T
F
The "plot(x, y)" block is used to turn on an LED at a specific location on the screen.
T
F
The "ledx" and "ledy" variables are used to store the current row and column of the LED being illuminated.
T
F
The maximum number of LEDs that can be illuminated on the Micro:bit screen at the same time is 10.
T
F
The "forever" loop repeats the LED illumination process continuously until the program is stopped.
T
F
The Micro:bit can only be programmed using the MakeCode platform.
T
F
The "set led(x, y)" block is used to turn off an LED at a specific location on the screen.
T
F
