_________ must be called only once for each random number series
Back
declare the address variable
Front
We need to use the * symbol after the data type when we ____________________.
Back
long int
Front
4 bytes
Back
values, operations
Front
A type defines a set of ______________ and a set of ________________ that can be applied on those values.
Back
\r
Front
carriage return
Back
scanf
Front
______ requires variable addresses in the address list
Back
imaginary
Front
float imaginary, double imaginary, long double imaginary
Back
function definition
Front
The ________ ____________ contains the code for a function.
Back
long long int
Front
8 bytes
Back
downward flow, upward flow, bi-directional flow
Front
The data flow between the calling and called functions are divided into three strategies: a _________ _____, an ___________ ________, and a ________________ ___________.
Back
\f
Front
form feed
Back
variable type, variable identifier
Front
ex: char code;
The char is the ____________ and the variable name is the _____________.
Back
\'
Front
Single-quote (')
Back
Call by value
Front
Value of a parameter is passed, so changes made to parameter in function are not reflected in the calling function
Back
Function side effect
Front
An action that results in a change in the state of the program
- occur before the value is returned
Back
double quotes
Front
Use _____________ for string constants
Back
\\
Front
backslash
Back
\v
Front
vertical tab
Back
values, operations
Front
The type determines the ___________ that a variable may contain and the _____________ that may be used with its values.
Back
call by value and return
Front
The C language uses only _____________ and ___________ to achieve different types of communications between a calling and a called function.
Back
call the function
Front
We need to use the & symbol in front of the data variable when we _____________________.
Back
\0
Front
null character
Back
Scope
Front
_____ determines the region of the program in which a defined object is visible.
Back
\"
Front
Double-quote (")
Back
zero or more
Front
The purpose of a function is to receive ______________ pieces of data, operate on them, and return at most one piece of data.
Back
interger
Front
short int, int, long int, long long int
Back
initialized
Front
When a variable is defined, it is not _____________.
Back
function declaration
Front
The ______ _______________ gives the whole picture of the function that needs to be defined later.
Back
||
Front
logical or
Back
logical
Front
A piece of data is called ____________ if it conveys the idea of true or false.
Back
Formal parameters
Front
Variables that are declared in the header of the function definition
Back
Front
newline
Back
\b
Front
backspace
Back
wchar_t
Front
wide character type. Used to hold characters of character sets that require more than a byte
Back
int
Front
4 bytes
Back
\t
Front
horizontal tab
Back
short int
Front
2 bytes
Back
store data indirectly
Front
We need to use the * in front of the variable when we ______________________.
Back
real
Front
float, double, long double
Back
functions
Front
A C program is made of one or more _____________, one and only one of which must be named main
Back
complex
Front
float complex, double complex, long double complex
Back
named memory locations
Front
Variables are __________________________________ that have a type, such as integer or character, which is inherited from their type.
Back
Actual parameters
Front
The expressions in the calling statement
Back
Formal and actual
Front
These two type of parameters must match exactly in type, order, and number
Back
Constants
Front
_________ are data values that cannot be changed during the execution of a program.
ex: boolean, character, integer, real, complex, and string
Back
Section 2
(28 cards)
or
Front
For logical || (or), as long as one is true or 1, it will be true or 1 -- they both have to be false for it to be false
Back
!=
Front
complement of ==
Back
else
Front
______ is always paired with the most recent unpaired if.
Back
Expression
Front
An ___________ is a sequence of operands and operators that reduces to a single value
Back
<=
Front
complement of >
Back
a++
Front
increment operator for a=a+1;
Back
and
Front
For logical && (and), as long as one is false or 0, it will be false or 0 -- they both have to be true for it to be true
Back
x *=
Front
x = x *
Back
Operand
Front
An ___________ is an object on which an operation is performed; it receives an operator's action
Back
Precedence
Front
____________ is used to determine the order in which different operators in a complex expression are evaluated
Back
++a
Front
has the same effect as a = a+1
Back
x +=
Front
x = x +
Back
&&
Front
logical and
Back
x -=
Front
x = x -
Back
Multiway selection
Front
The switch statement and else-if construct
Back
Operator
Front
An ___________ is a syntactical token that requires an action to be taken
Back
Associativity
Front
____________ is used to determine the order in which operators with the same precedence are evaluated in a complex expression
Back
x /=
Front
x = x /
Back
after
Front
If ++ is after the operand, as in a++, the increment takes place after the expression is evaluated
Back
Two-way selection
Front
The decision is described to the the computer as a conditional statement that can be answered either true or false. If the answer is true, one or more actions statements are executed. If the answer is false, then a different action or set of actions is executed.
Back
before
Front
If the ++ is before the operand, as in ++a, the increment takes place before the expression is evaluated
Back
x %=
Front
x = x %
Back
statement
Front
A _______________ causes an action to be performed by the program. It translates directly into one or more executable computer instructions.
Back
not
Front
Except for the most simple program, one set of test data will ________ completely validate a program
Back
>=
Front
complement of <
Back
machine language
Front
The only language understood by computer hardware is ______________________.
Back
side effect
Front
A _____ ________ is an action that result from the evaluation of an expression.