Micro:bit questions

By Interwoven Maths

Micro:bit question collection

Review Micro:bit questions for Computer Science, with correct answers shown and coverage across inputs and outputs; events and sensors; variables and logic.

Back to Micro:bit practice Back to Computer Science

Question 1

What is a Micro:bit?
  1. A programmable microcontroller board
  2. A general-purpose computer with an operating system
  3. A sensor that measures one input
  4. A battery that powers external components

Question 2

How many LEDs are on the Micro:bit display?
  1. 25
  2. 16
  3. 36
  4. 64

Question 3

Which is an input on a Micro:bit?
  1. Button A
  2. LED display
  3. Radio transmission
  4. Display icon

Question 4

Which is an output on a Micro:bit?
  1. LED display
  2. Button A
  3. Button B
  4. Accelerometer

Question 5

What does the accelerometer detect?
  1. Movement and tilt
  2. Magnetic direction
  3. Sound level
  4. Ambient temperature

Question 6

What does the Micro:bit light sensor measure?
  1. Ambient light level
  2. Magnetic direction
  3. Acceleration
  4. Radio signal group

Question 7

What is an IF statement used for?
  1. Making a decision in code
  2. Repeating code forever
  3. Storing sensor data
  4. Creating a new variable

Question 8

When does ELSE run?
  1. When the IF condition is false
  2. When the IF condition is true
  3. Before the IF condition
  4. At start-up

Question 9

What does a while loop do?
  1. Repeats while its condition is true
  2. Repeats for a fixed count
  3. Runs once when the program starts
  4. Runs after a named event

Question 10

What does a for loop do?
  1. Repeats for a fixed count
  2. Repeats while a condition is true
  3. Runs once when the program starts
  4. Runs after a tilt event

Question 11

What does a forever loop do?
  1. Repeats continuously while powered
  2. Repeats for a fixed count
  3. Repeats until a condition is true
  4. Runs after one button event

Question 12

What is a function?
  1. A reusable named section of code
  2. A value stored while code runs
  3. A condition controlling selection
  4. An event that starts a program

Question 13

When does event-driven code run?
  1. When a specific event happens
  2. When powered by USB
  3. After every loop
  4. When all variables are zero

Question 14

What is Micro:bit radio used for?
  1. Sending wireless messages between Micro:bits
  2. Transferring programs through a USB cable
  3. Sending voltage signals through pins
  4. Showing messages on the LED display

Question 15

What are Micro:bit pins used for?
  1. Connecting external inputs and outputs
  2. Grouping devices for radio messages
  3. Storing values while code runs
  4. Drawing icons on the LED display

Question 16

What is debugging?
  1. Finding and fixing program errors
  2. Translating source code for the processor
  3. Explaining code with comments
  4. Adding a new program feature

Question 17

Which are Boolean values?
  1. True and False
  2. Yes and No
  3. On and Off
  4. 1 and 2

Question 18

In IPO, what comes after input?
  1. Processing
  2. Output
  3. Testing
  4. Storage

Question 19

What does a temperature sensor provide?
  1. Input data
  2. Output data
  3. Stored data
  4. Encrypted data

Question 20

How should an algorithm be written?
  1. As clear, ordered steps
  2. As executable machine code
  3. As one step covering every action
  4. As the fastest possible implementation

Question 21

Which event can trigger Micro:bit code?
  1. Button A pressed
  2. Battery fully charged
  3. Project file saved
  4. USB cable removed

Question 22

What can testing a program reveal?
  1. Logic errors in its output
  2. The fix for every detected error
  3. New hardware features to add
  4. The user's unstated requirements

Question 23

Which Micro:bit feature detects magnetic direction?
  1. Compass
  2. Accelerometer
  3. Microphone
  4. LED display

Question 24

Which built-in component supplies sound-level input?
  1. Microphone
  2. Speaker
  3. LED display
  4. Radio antenna

Question 25

Which built-in component produces sound output?
  1. Speaker
  2. Microphone
  3. Accelerometer
  4. Compass

Question 26

Which event runs when the Micro:bit is shaken?
  1. on shake
  2. on start
  3. forever
  4. on button A pressed

Question 27

When does on start run?
  1. Once when the program begins
  2. Continuously while powered
  3. After every button press
  4. Whenever the device is shaken

Question 28

A variable is 18, then set reading to 21 runs. What is stored?
  1. 21
  2. 18
  3. 39
  4. 3

Question 29

Why set the same radio group on two Micro:bits?
  1. So they receive each other's messages
  2. So they share battery power
  3. So their displays gain more LEDs
  4. So their programs run at the same speed

Question 30

Why test a Micro:bit program on the device?
  1. Check real sensor and output behaviour
  2. Increase the processor's clock speed
  3. Prove the simulator matches every condition
  4. Translate block code into Python

About this topic

Review Micro:bit questions for Computer Science, with correct answers shown and coverage across inputs and outputs; events and sensors; variables and logic.

This topic covers

Example question types