Loops
Coding Vocabulary
Code interpretation
Sphero
Coding Trivia
100

Loop definition

A repeated action

100

Variable

A number container

100

move(3)

Moved 3 steps


(The question after this one is worth double)

100

The spinning sensor

Yaw

100

The language computers use

Binary

200

Until Loop

A loop that repeats until something is true.
200

Conditionals

An if statement

200

x = 3

move(3 + x)

moved 6 steps

200

luminosity

the light sensor


(The question after this one is worth double)

200

What is Python named after?

Monty Python's flying circus.

300

Nested Loop

A loop in a loop.

300

Comment

A way to leave notes in the code


(The question after this one is worth double)

300

X = 3

if X == 3:

    print('bonk')

else:

    print('crazy')

bonk

300

Accelerometer

The sensor that tells how fast its going

300

LED stands for?

Light Emitting Diode

400

Repeat Defintion

Do it again

400

Function

An action that can be called back at any time.

400

>>> Var = 3

>>> var = var * 3

>>> print(Var)

>>> 3

400

A chunk of code that you can call over and over again

A function

400

What was the first computer bug?

A real moth


(The question after this one is worth double)

500

For loop

A loop that repeats a variable amount of times


(The question after this one is worth double)

500

Elif

An else if statement.

500

X = 3

 Y = X * X - 3

print('Y')

Y

500

Variables are containers for anything with a _____

Label

500

The first name for the Java language

Oak

M
e
n
u