Search Header Logo

Unit 2 Micro:bit Test Review

Authored by Morgan Fingerson

Computers

8th Grade

Used 4+ times

Unit 2 Micro:bit Test Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

The buttons and sensors on the Micro:bit are examples of...

Output devices

Input devices

Memory

Processors

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

What does this program do?

Scrolls “hey!” on the screen forever.

Scrolls “hey!” on the screen once when we press the A button.

Scrolls “hey!” on the screen every time we press the B button.

Scrolls “B” on the screen over and over.

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

What will we see on the Micro:bit display when the following code is run?

A heart flashes 4 times, then a smiley face flashes once.

A heart flashes then a smiley face flashes 4 times in total.

A heart flashes 4 times, then a smiley face flashes 4 times.

A heart flashes once then a smiley face flashes once.

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What can we do with an if statement in Python?

Make code run only when a condition is true

Make code repeat a fixed number of times

Make code repeat infinitely

Show images on the display

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which line of code will show a random number between 0 and 3 (including both these numbers) on the Micro:bit display?

display.show(3)

display.show(random.randint(3))

display.show(random.randint(1,3))

display.show(random.randint(0,3))

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

What does this code do?

Scrolls “OK” across the display if the light level measured by the Micro:bit is more than 150.

Scrolls “OK” across the display if the light level measured by the Micro:bit is less than 150.

Scrolls “OK” across the display if the light level measured by the Micro:bit is exactly 150.

Scrolls “OK” across the display whatever the light level measured by the Micro:bit is.

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Media Image

What does this program do?

Shows a checkmark (YES) when the A button is being pressed and nothing when it is not.

Shows a checkmark (YES) when the A button is being pressed and an X (NO) when it is not.

Shows a checkmark (YES) when the A button is being pressed and an X (NO) when the B button is being pressed.

Shows a checkmark (YES) when the A button is first pressed and keeps it there forever.

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?