Data Types
Variables
Mathematic Operations
Loops
Misc.
100

The data type that should be used to store values for money.

Floating point (float)

100

The term used when a variable name and data type are specified.

Declaration

100

True or False
The mathematic order of operations in C++ flows left-to-right unless encased in parentheses.

False.
C++ follows standard order of operations (PEMDAS).

100

The type of loop that is used to iterate a program a set amount of times.

for-loop

100

The symbol used to create comments in C++.

Two forward slashes (//)

200

The smallest data type that stores 1 bit.

Boolean (bool)

200

The type of variable that is declared in the main function of a program.

Global variable

200

True or False
Attempting to perform an integer operation on an initialized character value results in an error.

False.
Incremented character variables print the next character or corresponding value according to the ASCII chart.

200

The term used to define a loop within another loop.

Nested loop

200

A statement that is executed based on whether a condition is true.

If-statement

300

The largest built-in C++ data type.

Double floating point (double) or Long (long)

300

The type of variable that is declared within a function.

Local variable

300

The operator used to add a value into a variable.

Addition assignment operator (+=)

300

The statement used to terminate a loop or switch statement.

Break statement (break)

300

The character encoding standard for electronic communication to represent text in computers.

American Standard Code for Information Interchange (ASCII)

400

The data type that has no values and no operations.

Valueless (void)

400

Use the prefix increment operator and postfix decrement operator on an integer variable called count.

int count;

++count;

count--;

400

The mathematic operator used to find the remainder of divided numbers.

Modulus (%)

400

The type of loop that performs a body of code before checking for a condition.

do-while loop

400

The type of statement typically used in a menu-driven program.

Switch-statement

500

There is a C++ data type that is actually an array of a different data type. Name both data types.

string, character (char)

500

Create an integer array called numArray that is 10 values large, each initialized to 0.

int numArray[10]={}; 

int numArray[]={0,0,0,0,0,0,0,0,0,0};

500

The library that must be included to use the power function pow(x,y).

cmath (#include <cmath>)

500

Create a loop that iterates until an integer variable is equal to 14.

int num;

while(num!=14){...}

500

The statement that gives a function a value when executed.

Return-statement

M
e
n
u