Any information that can be moved, processed, or stored by a computer
What is data?
The ending punctuation for a statement
What is a semicolon?
This specifies the kind and size of information that a variable can store
What is a Data Type?
This programming construct is used to make decisions in code based on a specified condition.
What is an if statement?
This programming construct allows a block of code to be executed repeatedly as long as a specified condition remains true
What is a while loop?
A base-2 number system
What is binary?
+ , - , * , / , and %
What are the arithmetic operators?
This acts as a container for data
What is a variable?
An expression that evaluates to a boolean value
What is a condition?
This operator is used to compare two values and evaluates to true if the values are not equal.
What is != ?
The smallest unit of data in computer memory
What is a bit?
This describes code that is abstracted from gritty details and reads almost like natural language?
What is a high-level language?
int myInt;
What is a basic integer variable declaration?
&&
What is the logical AND operator?
Unlike the "while loop," this type of loop guarantees that the code block is executed at least once, even if the condition is initially false
What is a "do while" loop?
The only language a computer can process directly
What is machine code?
=
What is the assignment operator?
bool lightIsOn = true;
What is a boolean declaration and assignment/initialization?
(4 + 7 > 6 + 5 ||
10 * 10 * 10 == 25 + 25 * 2 + 900)
evaluates to this boolean value
What is false?
The resultant situation from a "while loop" whose condition never becomes false.
What is an infinite loop?
A cycle that CPUs use to process instructions
What is the fetch-decode-execute cycle
int main() {
}
What is the main function?
This data type would be useful in holding ratios
What is a float?
( (4 + 7) > (6 + 5) &&
10 * 10 * 10 == (25 + 25) * 2 + 900)
evaluates to this boolean value
What is false?
A "for loop" uses this to serve as an index and provides a useful feature for arrays of data
What is a loop control variable or iterator?