Search Header Logo

Micro:bit Functions Quiz

Authored by Fadi Fadi

Information Technology (IT)

9th - 12th Grade

Used 8+ times

Micro:bit Functions Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module must be imported to use Micro:bit functions in Python?

microbit

random

time

math

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? from microbit import * display.show(Image.HEART)

Shows a heart image on the Micro:bit display

Shows text "HEART" on the display

Blinks a heart on the display

Displays nothing

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you make the Micro:bit wait for 2 seconds?

sleep(2000)

wait(2)

pause(2)

delay(2000)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code do? from microbit import * display.scroll("Hello")

Print "Hello" in the Python console

Scroll "Hello" across the Micro:bit display

Flash "Hello" once on the screen

Show an error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to check if button A is pressed?

button_a.pressed()

button_a.is_pressed()

button_a.check()

button_a.click()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code do? from microbit import * display.clear()

Turn off the Micro:bit

Clear the LED display

Reset the Micro:bit

Show an error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to display text on the Micro:bit?

display.write()

print()

display.scroll()

text.show()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?