Functions
Variables
Loops
Conditionals
Extra
100

A block of code that performs a task.

What is a function?

100

Stores values that can change while executing our code.

What is a variable?

100

a way to repeat the same set of actions a certain number of times or until a specific condition is true.

What is a loop?

100

 a conditional statement that runs a different set of statements depending on whether an expression is true or false (a condition is met)

What is an if-else statement?

100

The name of the app we use to code

What is DroneBlocks?

200

 A naming convention, especially for functions, in which the first letter of a word in a compound word is capitalized and the other words after are lower-cased.

What is camelCase?

200

A variable that stores a value that DOES NOT change.

What is a constant variable?

200

- They helps us to avoid writing the same blocks of code.

- We can easily extend them for larger number of iterations or repetitions

Why do we use loops?

200

 Something a program checks to see whether it is true before deciding to take an action

What is a condition?

200

The name of the environment that helps us test code and visualize what the drone is supposed to do.

What is the simulator?

300

A function that does not return a value.

What is a void function?

300

The way we add 1 to a variable's existing value.


EX: distance = distance + 1

What is incrementing?

300

- They help us add logic to our code

Why do we use if-else statements?

300

New York University

What school does Isaiah go to?

400

- They are reusable in code.

- They help to make the code more readable.

- They help us debug our code in a easier way and maintain our code.

Why do we use functions?

400

The way we subtract 1 from a variable's existing value.


EX: distance = distance - 1

What is decrementing?

400

A block of code that performs a task.

What is a function?

500

Defines a function with a proper name, specified parameters and executable code inside of it.

What is a function declaration?

500

- They helps us store values that can be used all throughout our code

- They can be used as inputs for functions.

- We can perform mathematical operations with them.


EX: sum = number_1 + number_2

Why do we use variables?

500

A function that does not return a value.

What is a void function?

M
e
n
u