What are the remaning parts of the problem solving process?
1. Define
2. ?
3. Try
4. ?
1. Define
2. Prepare
3. Try
4. Reflect
How many event handlers are in the code?
(slide 3)
What analogy did Mr. Friederich often use in class to describe how a variable works in programming?
How do we write an 'else if' statement in Python?
elif
What type of coding language is Python?
Text-based
What does IOSP stand for?
Input, output, storage, processing
(0,0,0) in Minecraft is called the world's __________.
Origin
What symbol assigns a value to a variable?
equals sign (=)
What will the output be?
Friederich = 35
Crail = 35
print(Friederich == Crail)
True
What do we call errors in code?
Bugs
Name 3 examples of a computer's input
mouse, keyboard, webcam, trackpad, mic... etc
What is the Y coordinate?
(slide 4)
98
freds_variable = '125'
What is the data type in freds_variable?
string
What is the output of the code?
(slide #1)
'Wear shorts'
What do we call the 'rules' that say how a Python program will be written/looks.
syntax
The 25 LEDs on the micro:bit are what part of the IOSP model?
Output
Tell me if each of the following directions are positive or negative:
1. North
2. West
3. Up
1. Negative
2. Negative
3. Positive
How many variables are in the following code?
(slide #2)
Two
(report & fall)
Name all the following operators correctly in order!
1. ==
2. <
3. !=
4. >
1. Equal to
2. Less than
3. Not equal to
4. Greater than
What keyword do we use to get an output in Python?
The micro:bit's CPU is what part of the IOSP model?
Processing
What are the two types of positions used in our Minecraft code?
absolute & relative
1. I love baseball = 2024
2. 20_baseball_04 = 2024
3. b@seball = 2024
1. No spaces!
2. Can't start with a number!
3. No special characters!
What is a boolean expression (true or false comparison) that helps a computer decide which route to take when it reaches a branch in the code?
Condition
What is used to make a comment in Python?
Hashtag/Pound symbol (#)