The Fundamentals
Math & Variables
Selection && Logical Operators
Loops && Files
Miscellaneous
100
From the Latin, this term refers to numbers written in Base 2.
What is binary?
100
These are whole numbers, without fractional parts, which can be stored by short, long, and a variable type with a more obvious name.
What are integers?
100
This statement, used to properly end a switch statement's cases, causes program execution to leave a particular block of code
What is break?
100
This unary operator adds 1 to a variable and is commonly used in for loops
What is ++?
100
This is the practice of writing a name without spaces, and with internal divisions denoted by capital letters, despite a leading lowercase, as in "variableNameGoesHere"
What is camelCase?
200
This symbol terminates most lines of C++, indicating the end of a statement
What is a semicolon?
200
Represented by % this returns the remainder of a division operation
What is modulus?
200
Where switch statements have default as a catch-all condition, if statements have this.
What is else?
200
This terms refers to a loop which never ceases repeating, repeating, repeating
What is an infinite loop?
200
These notations, used for internal documentation, can start with either // or /*
What are comments?
300
This is number of bytes in a kilobyte.
What is 1024?
300
This mathematical operation is of equal precedence to addition in C++
What is subtraction?
300
Used to hold decimal values, this variable type is a little too imprecise for use with switch statements
What is a double?
300
This kind of loop always executes its body once before checking the loop condition
What is a do-while loop?
300
These indicate a block of code, which in proper style is indented
What are {}?
400
A command executed before other steps of compilation, an example of which would be #include
What is a preprocessor directive?
400
While declaration creates a variable, this refers to assigning the variable a starting value.
What is initialization?
400
These state that NOT applies to other logical operators, not just boolean values, as in "!(X && Y) == (!X || !Y)"
What are DeMorgan's Laws?
400
This kind of input stream can be used to extract data from files
What is an ifstream?
400
This is used initially to ensure that the sequence of pseudorandom numbers is never exactly the same twice.
What is srand?
500
First stated in 1965, this states that "the number of transistors on integrated circuits doubles approximately every two years."
What is Moore's Law?
500
This term refers to the process of converting from one variable type to another, such as in "(double) 2".
What is casting?
500
This oft ignored logical operator returns true if and only if its arguments are different, as in "true ^ false"
What is XOR?
500
Before you close a file, you must always do this.
What is open a file?
500
This programming language, still commonly used for many applications, including the basis of most operating systems, was the direct predecessor to C++
What is C?
M
e
n
u