1/25
Looks like no tags are added yet.
Iteration Counter
A variable that is incremented with each iteration of a loop.
Event Counter
A variable that is incremented each time a particular event occurs.
Relational Expression
An expression involving two expressions and a relational operator, such as x > 5.
Switch Expression
The expression whose value determines which switch label is selected.
Function Prototype
A function declaration without the body of the function.
Reference Parameter
A parameter that provides access to the original argument, allowing the function to modify it.
Value Parameter
A parameter that receives a copy of the value of the corresponding argument.
Function Call
A statement or expression that transfers control to a function.
Logical Expression
An expression made up of logical values and operations that evaluates to true or false.
Event-Controlled Loop
A loop that terminates when something happens inside the loop body to signal that it should exit.
Count-Controlled Loop
A loop that executes a specified number of times.
Static Variable
A variable that retains its value between function calls and exists for the entire program execution.
Local Variable
A variable declared within a block and not accessible outside that block.
Lifetime
The period of time during program execution when an identifier has memory allocated to it.
Scope
The region of program code where it is legal to reference or use an identifier.
Local Identifier Precedence
The rule that a local identifier takes precedence over a global identifier with the same name within its scope.
Loop
A control structure that causes a statement or block to be executed repeatedly.
Function Definition
A function declaration that includes the body of the function.
Control Flow
The order in which the computer executes statements in a program.
Control Statement
A statement used to alter the normally sequential flow of control.
How do you do pass-by-value for an integer for variable x?
int x
How do you do pass-by-reference for an integer for variable x?
int& x
A switch expression can be which of the following?
Boolean, char, and integer
A function that returns a function value is known as what kind of function?
Value returning function
Reference parameters are used if a parameter’s data flow is:
Two-way, into and out of the function
Value parameters are used if a parameter’s data flow is:
One-way, into the function