Search Header Logo

Micro:bit Programming Quiz

Authored by Fadi Fadi

Information Technology (IT)

9th - 12th Grade

Used 1+ times

Micro:bit Programming 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

What happens when Button A is pressed?

The numbers 1 to 5 appear instantly

The numbers 5 to 1 appear one by one with a delay

The numbers 5 to 1 appear at random

The Micro:bit displays "Ready?" and "Go!"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function introduces a delay between displaying numbers?

wait(500)

pause(500)

sleep(500)

delay(500)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be displayed when Button B is pressed?

The numbers 5, 4, 3, 2, 1

"Ready?", then "Go!" after 1 second

A smiley face for 2 seconds

The screen flashes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we pause for 1 second in Python?

sleep(1000)

wait(1)

delay(1000)

pause(1)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function should be used to display a smiley face in the else condition?

display.show(Image.HAPPY)

display.text("Smiley")

display.scroll(":)")

display.draw("Smile!")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we make the Micro:bit flash the screen instead of showing a smiley face?

Repeatedly clearing and showing an image with sleep(2000)

Using display.scroll("Flash")

Turning the Micro:bit off and on

Using button_a.was_pressed()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What modification makes each number blink before switching to the next?

Show the number, then clear the display briefly before showing the next number

Scroll the number instead of showing it

Add an extra sleep(2000) between numbers

Use display.show("BLINK") before each number

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?