Vocabulary
Syntax
Data Types
Outputs
100

The area where you write your code.

What is the script editor?

100

The "grammar rules" that determine how Python must be written.

What is syntax?

100

49 is an example of what data type?

What is an integer?

200

The area where the program's output is displayed.

What is the console?

200

True or false:

You can slightly misspell words in Python and the computer will still understand.

False! Everything must be spelled and formatted correctly. Python is very strict!

200

3.14 is an example of what data type?

What is a float?
300

When different parts of code appear in different colors to make it easier to read.

What is syntax highlighting?

300

The symbols that go at the end of every command in Python.

Parentheses ( )

300

The data type that is inside of quotation marks.

What is a string?

300

Would the output of this algorithm be a syntax error?

1. player.move_forward()

2. # add player customization options

3. player.turn_right()

No! The interpreter would ignore the comment and the rest of the algorithm has proper syntax.

400

Lines of code starting with # that are ignored by the interpreter. Programmers use them to make notes in their code.

What are comments?

400

Find all 3 bugs/syntax errors in the algorithm:

1. player.move_forward(2)

2. player.turn_right

3. plyer_move.forward()

1. Correct syntax

2. No parentheses!

3. "plyer" and _ and . are swapped

400

yes is an example of what data type?

What is a boolean?

500

Human-readable code written by a programmer before the computer interprets it.

What is source code?

500

Is this algorithm bugged? If yes, where?


1. player.move_forward

2. player.move_forward

3. player.turn_left

4. player.move_forward

Each line of code is missing parentheses ( ) at the end.

500

"12345" is an example of what data type?

What is a string?

M
e
n
u