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 small programmable microcontroller board
  2. A spreadsheet program
  3. A web browser
  4. A database server

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. Light colour
  3. Battery level
  4. Storage space

Question 6

What is a variable used for?
  1. Storing data
  2. Creating pins
  3. Deleting blocks
  4. Powering sensors

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. Only at start-up

Question 9

What does a WHILE loop do?
  1. Repeats while a condition is true
  2. Repeats a set number of times
  3. Runs only once
  4. Runs after power off

Question 10

What does a FOR loop do?
  1. Repeats a set number of times
  2. Repeats while a condition is true
  3. Runs only once
  4. Runs only on tilt

Question 11

What does a FOREVER loop do?
  1. Repeats continuously
  2. Repeats exactly ten times
  3. Runs once then stops
  4. Runs only when button A is pressed

Question 12

What is a function?
  1. A reusable section of code
  2. A built-in sensor
  3. A hardware pin
  4. A screen icon

Question 13

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

Question 14

What is Micro:bit radio used for?
  1. Sending messages between Micro:bits
  2. Increasing processor speed
  3. Saving programs permanently
  4. Charging the battery

Question 15

What are pins used for?
  1. Connecting external components
  2. Sorting variables
  3. Renaming functions
  4. Opening project files

Question 16

What is debugging?
  1. Finding and fixing program errors
  2. Deleting old code
  3. Adding random delays
  4. Renaming variables only

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 instructions
  2. As random, unordered commands
  3. As the longest code possible
  4. As one unbroken line

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 does testing a program help you find?
  1. Logic errors
  2. New hardware pins
  3. Extra battery life
  4. Faster internet

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