If Statements
Basic Math
Coding History
Code Segments
Variables/Keywords
100

What is the output of the following code?

if(10>1) 

cout << "correct";

What is "correct"?

100

This operation is denoted by the '%' symbol.

What is remainder division? (What is modulus? accepted)

100

C++ originated from this language.

What is C?

100

'cout <<' performs this function

What is console output?

100

Nonalphabetic characters that a variable name can start with.

What is an underscore?

200

In order for an if statement to execute, the condition must have this value.

What is "true"?

200
The value of 13-9%5*2/4

What is 9?

200
C++ inherits most of this languages syntax.

What is C?

200

Block coding for if statements executes all statements if the condition is true between these characters.

What are brackets?

200

Variable names cannot be named as the same as these in C++.

What are identifiers/key words?

300

What is the output of the following code?

if (5>2*3) cout << "Tar Heels"; 

if (6> 2*2) cout << "This is true";

What is "This is true";

300

++x will increment before or after x is used?

What is before?

300

C++ is named for this operator.

What is ++?

300

The end of a statement is marked by this.

What is a semi-colon?

300

Legal or illegal variable name?

double

What is illegal?

400

The mean of this symbol !=

What is "not equal to"?

400

The preprocessor directive required to use the pow() and sin() functions.

What is #include <cmath>

400

The developed of C++ is from this country.

What is Denmark?

400

After starting with a brace in coding, it is proper to do this until finishing the bracket.

What is indent?

400

Legal or illegal variable name?

nameSpace

What is Legal?

500

int x = 11; 

if(x>=11){ cout << "Hello "; 

cout << "World"; 

cout << "\n"; }

if(x<=11) cout << "500";

What is "Hello World 

500"?

500

This operator has the highest order of precedence.

What is/are ()?

500

Computer language that was the first widely used language.

What is FORTRAN?

500

Find the error. cin << length;

What is cin >>?

500

The term used to describe how variable names are typically written.

What is camelCase?

M
e
n
u