Commands
For Loops/While loops
Conditional/logical operators
Functions
Glossary
100

Name one of the 2 commands you learn in the first exercise in commands.

moveForward()

Or 

collectGem()

100

What is the structure of a for loop?

for i in 1 ... [number] {

    [code]

}


100

What symbol is AND, NOT, and OR?

&&, !, ||

100

Using ______ in, learn to code, defines the function.

func

100

This is an error in code that prevents an application from running as expected.

A Bug

200

Which command originally was not introduced in commands? 

turnRight()

200

A for loop is used to repeat a ______ of commands.

Sequence

200

Which operator would never run the code in the next statement?

If (isBlocked __ !isBlocked) {

Say hello

}

&&

200

According to functions how do you run a function.

hint: instruct a function to run

Call

200

The process of combining small parts of an application to solve a larger problem.

Composition

300

According to the commands chapter ______ is a good idea when you change your code to make sure you have located and fixed each bug.

Run your code/Running your code.

300

For a while loop the block of code runs if the condition is true but does what when it is false?

Breaks out or ends.

300

Why is:

While (true){

moveForward()

}

A problem?

Infinite loop.

300

Can you put a function inside a function?(2 different functions)

Yes or No.

Yes

300

An outline of an item, such as a gem, switch, or block, in the puzzle world. It is used to indicate the possibility that the item could randomly appear each time the puzzle is run.

Wireframe

400

According to learn to code 1, even if you don’t get it right, “This is your chance to ________!”

Experiment

400

This means to place one repeating block of code, such as a loop, inside another.

To nest or nesting loops.

400

What is the difference between conditional code and logical operators?

Conditional code runs based on a true or false value, and logical operators are AND NOT OR.

400

“Choose a path that repeats a _______ use that _______ in your function.”

Pattern

400

A type that has a value of either true or false. For example, 9 < 7 returns false because 9>7.

Boolean

500

Making _______ is one of the best ways to learn.

Mistakes

500

What variable type does a for loop use compared to while loop?

For loop uses Int and while loop uses Boolean.

500

What is the outcome of 

(!(true && false) || !(true || false)) && true ?

true

500

The process of breaking a large problem into smaller and more manageable pieces.

Decomposition

500

An easy-to-read description of an algorithm, usually written using a mix of everyday language and code.

Psuedocode

M
e
n
u