Problem Solving / IOSP
Events / Coordinates
Variables
Conditional Statements
Python
100

What are the remaning parts of the problem solving process?

1. Define

2. ?

3. Try

4. ?

1. Define

2. Prepare

3. Try

4. Reflect

100

How many event handlers are in the code?

(slide 3)

Five
100

What analogy did Mr. Friederich often use in class to describe how a variable works in programming?

A locker.
100

How do we write an 'else if' statement in Python?

elif

100

What type of coding language is Python?

Text-based

200

What does IOSP stand for?

Input, output, storage, processing

200

(0,0,0) in Minecraft is called the world's __________.

Origin

200

What symbol assigns a value to a variable?

equals sign (=)

200

What will the output be?

Friederich = 35

Crail = 35

print(Friederich == Crail)

True

200

What do we call errors in code?

Bugs

300

Name 3 examples of a computer's input

mouse, keyboard, webcam, trackpad, mic... etc

300

What is the Y coordinate?

(slide 4)

98

300

freds_variable = '125'

What is the data type in freds_variable?

string

300

What is the output of the code?

(slide #1)

'Wear shorts'

300

What do we call the 'rules' that say how a Python program will be written/looks.

syntax

400

The 25 LEDs on the micro:bit are what part of the IOSP model?

Output

400

Tell me if each of the following directions are positive or negative:

1. North

2. West

3. Up

1. Negative

2. Negative

3. Positive

400

How many variables are in the following code?

(slide #2)

Two

(report & fall)

400

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

400

What keyword do we use to get an output in Python?

Print

500

The micro:bit's CPU is what part of the IOSP model?

Processing

500

What are the two types of positions used in our Minecraft code?

absolute & relative

500
Tell me what is wrong with each of the following variables:


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!

500

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

500

What is used to make a comment in Python?

Hashtag/Pound symbol (#)