General Computing
Coding Principles
Syntax
Circuits and Sensors
Grab Bag
100

These are what programmers call errors in their code.

What are bugs?

100

Program element that comprises two parts - a name and a stored value. 

What is a variable?

100

This is the correct way to write this buggy code:

food = bananas

What is food = "bananas"

100

This is the end of the battery electrons flow towards.

What is the positive end of the battery?

100

Extra features that are not necessary for the program to perform its required functions.

What are bells and whistles?

200

Buttons and sensors are examples of this computer science principle. 

What are inputs. 

200

Program element that repeats a task until told to stop. 

What is a loop?

200

This is the correct way to write this buggy code:

Print f(“Breakfast rocks, especially {food}.”)

What is

print (f“Breakfast rocks, especially {food}.”)

200

This device is used to stop/start the flow of electrons in a circuit.

What is a switch?

200

90-degrees is this direction on a compass.

What is east?

300

Sound and LED lights are examples of this computer science principle.

What are outputs.

300

Program element that comprises three parts - name, inputs, and directions to create an output.

What is a function?

300

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.")

300
Micro:bit sensor that detects force or movement. 

What is an accelerometer?

300

This is the answer to 3**2 in python.

What is 9?

400

These are three examples of programming languages.

What are Python, MakeCode, and Scratch?

400

A programming object that has its own instructions, separate from the main code (hint: from Scratch)

What is a sprite?

400

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.")

400

Micro:bit sensor that detects magnetism, including the earth's magnetic force. 

What is a magnetometer?

400

The method used in telecommunication to encode text characters as sequences of two different signal durations, called dots and dashes.

What is Morse Code?

500

This takes information from inputs like buttons, and makes something happen on outputs, like playing a song through a speaker. 

What is a processor?

500
Used by programmers to plan out their code, before they start coding. 

What is pseudocode?

500

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}.")

500

This can be used to complete a circuit, even if you do not have any additional materials.

What is a person. 

500

This is a way to send electromagnetic signals over a long distance, to deliver information from one place to another. 

What is radio?