
sensors flowhcart g6

Quiz
•
Computers
•
6th - 10th Grade
•
Medium
Fadi Fadi
Used 3+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code do when Button A is pressed? python Copy code from microbit import * while True: if button_a.is_pressed(): display.show(Image.HEART)
Show a heart image on the screen until Button B is pressed.
Show a heart image while Button A is pressed.
Show a heart image for 2 seconds, then turn off.
Nothing, the code is missing something.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do? python Copy code from microbit import * import music music.play(music.DADADADUM)
Plays a melody called "DADADADUM."
Displays the string "DADADADUM" on the screen.
Plays no sound because there's no loop.
Plays a random sound.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function clears the display after showing an image?
display.clear()
display.reset()
display.stop()
display.hide()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if both Button A and B are pressed simultaneously in the code below? python Copy code from microbit import * while True: if button_a.is_pressed() and button_b.is_pressed(): display.show(Image.HAPPY)
The Micro will display a sad face.
The Micro will display a happy face.
The Micro will show nothing.
The Micro will restart.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code do when Button B is pressed? python Copy code from microbit import * while True: if button_b.is_pressed(): display.show(Image.SAD) sleep(3000) display.clear()
Show a sad face for 1 second.
Show a sad face for 3 seconds, then clear the screen.
Continuously show a sad face.
Show a sad face for 3 seconds, then display a smile.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of accelerometer.was_gesture("shake")?
To detect if the Micro was tilted.
To detect if the Micro was turned upside down.
To detect if the Micro was shaken.
To detect if the Micro was rotated.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code do? python Copy code from microbit import * display.scroll("Hello!")
Show "Hello!" on the screen one letter at a time.
Show "Hello!" in a single flash on the screen.
Continuously flash "Hello!" on the screen.
Display "Hello!" for 3 seconds, then clear.
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Get Fit Pre-Test

Quiz
•
6th - 8th Grade
14 questions
Raspberry Pi Quiz

Quiz
•
9th Grade
16 questions
8.4 Micro Python Recap

Quiz
•
7th - 8th Grade
20 questions
microbit

Quiz
•
6th Grade
20 questions
Grade 7 Final Exam (10 points)

Quiz
•
7th Grade
20 questions
ไมโครบิท Robot test2

Quiz
•
10th Grade
18 questions
App Lab - One

Quiz
•
5th - 8th Grade
20 questions
App Lab

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade