What is a "comment" in Python
A line to explain the code that does not affect the running of the code
How long does a code run for in a while True loop?
Forever
Who owns the company Microbits
BBC
Name one way to power a Microbit
Battery pack or USB cable connected to laptop
What does the term "AI" stand for in the context of technology?
Artificial Intelligence
What is the difference between = and == in Python?
= assigns a value
== checks for the equivalent
What does it mean to 'indent'?
The use of space/ tab to organise code
How many buttons are there on the front face of the Microbit?
Two - buttons A and B
What should the first line of code be when coding Microbits?
from microbit import *
What does the term "debugging" mean in programming?
Identifying and fixing a problem in the code
What type of error occurs when a required colon is missing at the end of an if statement?
Syntax
What are the three conditionals?
if, elif, else
Name one thing that the LED matrix can do on a Microbit
Show text, scroll text, show images
What is the purpose of sleep(1000) in a Microbit program?
Pauses the code for 1 second
What does "WWW" stand for in relation to the internet?
World Wide Web
What keyword is used to define a function in Python?
def
What should be at the end of each if statement?
A colon :
What batteries do the Microbits use
Triple A (AAA)
What is the difference between display.show and display.scroll?
display.show is a static showing of something. display.scroll scrolls the image or text from right to left
What does Ctrl + A do on your keyboard
Selects all
What are variables?
A storage location that a computer uses to store values
CODE: How do you show the words 'Hello world' on your screen
print("Hello world")
What feature allows the Microbit to sense tilt?
Accelerometer
Correct this code:
display.show(Image.duck)
display.show(Image.DUCK)
Which company is known for its gaming console called PlayStation?
Sony