These are what programmers call errors in their code.
What are bugs?
Program element that comprises two parts - a name and a stored value.
What is a variable?
This is the correct way to write this buggy code:
food = bananas
What is food = "bananas"
This is the end of the battery electrons flow towards.
What is the positive end of the battery?
Extra features that are not necessary for the program to perform its required functions.
What are bells and whistles?
Buttons and sensors are examples of this computer science principle.
What are inputs.
Program element that repeats a task until told to stop.
What is a loop?
This is the correct way to write this buggy code:
Print f(“Breakfast rocks, especially {food}.”)
What is
print (f“Breakfast rocks, especially {food}.”)
This device is used to stop/start the flow of electrons in a circuit.
What is a switch?
90-degrees is this direction on a compass.
What is east?
Sound and LED lights are examples of this computer science principle.
What are outputs.
Program element that comprises three parts - name, inputs, and directions to create an output.
What is a function?
This is the correct way to write this buggy code:
print (“I love eggs.”) (“I also love ham.”)
What is:
print (“I love eggs. I also love ham.")
What is an accelerometer?
This is the answer to 3**2 in python.
What is 9?
These are three examples of programming languages.
What are Python, MakeCode, and Scratch?
A programming object that has its own instructions, separate from the main code (hint: from Scratch)
What is a sprite?
This is the correct way to write this buggy code:
if age < 12
print ("You are too old.")
else
print ("Okay, you are old enough.")
What is:
if age < 12:
print ("You are too old.")
else:
print ("Okay, you are old enough.")
Micro:bit sensor that detects magnetism, including the earth's magnetic force.
What is a magnetometer?
The method used in telecommunication to encode text characters as sequences of two different signal durations, called dots and dashes.
What is Morse Code?
This takes information from inputs like buttons, and makes something happen on outputs, like playing a song through a speaker.
What is a processor?
What is pseudocode?
This is the correct way to write this buggy code:
age = input("How old are you?")
print (f"One year from now, you will be {age+1}.")
What is:
age = int(input("How old are you?"))
print (f"One year from now, you will be {age+1}.")
This can be used to complete a circuit, even if you do not have any additional materials.
What is a person.
This is a way to send electromagnetic signals over a long distance, to deliver information from one place to another.
What is radio?