Getting Loopy
IO-IO
It’s Conditional
in-variable-y
Symbol-ic
100

This type of loop will repeat as long as a condition is true

What is a while loop?

100

It’s used to print something to the console

What is cout  ?

100

if (________)

It”s what goes in the blank

What is a boolean expression?

100

You must do this before you can use a variable

What is declare it?

100

This symbol must be used at the end of a statement

What is   ; ?

200

while (________)

Its what goes in the blank

What is a Boolean expression?

200

You can use this to get a value that a user types in

What is cin?

200

Use this keyword to indicate what to do when the “if” condition is not met

What is else ?

200

You would use this  keyword to indicate an integer

What is int?

200

This  means NOT

What is !    ?

300

Though not often used, this type of loop always executes once

What is a do-while loop?

300

You need to include this to read and write to the console.

what is <iostream>  ?

300

This type of conditional statement is useful when you want to test for a value rather than just true or false

What is a switch ?

300

These two data types have decimal points

What are float and double?

300

This is used when comparing two values to see if they are equivalent

What is  ==   ?

400

while (true){

cout << "Hello World"; }

will give this result

What is an infinite loop ?

400

You should use this function when you want to get a multi-word response that the user inputs

What is getline() ?

400

if (true) {cout<< ”false”;}

will cause this to happen

What is false will be printed to the console ?

400

__ myVar  = ‘a’; 

It goes in the blank.

What is char ?

400

&&  represents this

What is logical AND ?

500

For (int  i = 1; i < 3; i++) {
 cout << ”hello”;  }

Will print hello this many times

What is 2 ?

500

When mixing cin and getline() you might need to do this.

What is clear the input buffer ?

( use cin.ignore()  )

500

After your last case in a switch, you should put one of these, in case there is no matching value

What is a default ?

500

___ myVar = ”b”;

It goes in the blank

What is string?

500

Blocks of code are encased in these

What are {}  ?