Loops
Variables
Conditionals
Functions
100

A repeat loop is also called a _ _ _ loop

for

100

If we are talking about the weight of an elephant, what type should the variable be?

integer

100

Conditionals are also called _ _ statements

if

100

What is an argument/parameter in a function?

extra details that you can provide a function to change the way it behaves

200

An infinite loop is also called a _ _ _ _ _ _ _ loop

forever
200

What makes a variable name good?

Descriptive names!

200

Name a type of conditional statement

if 

if/else 

else/if 

200

If I asked you all, “did you draw an equilateral triangle?”. Your answer would be the _ _ _ _ of the function.

output/return value

300

A while loop runs when something is (true or false)

true

300

Name a variable type (i.e what can a variable be)

integer, string, bool

300

what prints out? 

int HeightInInches= 48; 

if (HeightInInches > = 50) 

     printf("You can ride the roller coaster"); 

else  

      printf("You need to grow a little more before you can ride");

You need to grow a little more before you can ride

300

You give a function an _ _ _ _ _, it processes that information and gives an _ _ _ _ _ _

input; output

400

When does a forever loop end?

When a program is shut down or the program ends

400

True or false: you can change the value of a variable?  

Ex: int myAge= 20; 

      int myAge= 21; 

true


400

In an else-if statement command #3 is done when if the first condition is not met. 

(For example,

if (i'm cold - condition #1)

  put on a sweater (command #1)

else if (i'm warm - condition #2)

  put on shorts (command #2)

else

  wear a shirt and pants (command #3)

)

(true or false)

false; if the first condition is not met move to the second condition.

400

Why are using functions a good thing to use?

They shorten your code & make it easier to read/understand

500

Give an example of a while loop 



Answers may vary.

500

What are the three qualities to a variable?
(int myAge= 20)

type, name, and value

500

Give an example of a real-life else-if statement.

Answers may vary.

500

What are the four qualities of a function?

define, call, parameter, and return value