Shared Flashcard Set

Details

exam 2
defintion of exam 2
47
Computer Science
Undergraduate 2
06/13/2014

Additional Computer Science Flashcards

 


 

Cards

Term
reference parameter
Definition
is a formal parameter that is an alias for the actual parameter.
Term
reference type modifier
Definition
is that ampersand (&)
void readXY(int &x, int& y);
Term
array element
Definition
each individual data items inn array in referred to as
Term
accumulator
Definition
Term
actual parameter
Definition
the data values that are actually passed to function during the call.
Term
atomic type
Definition
a built in data type provided directly by language EX double bool char int
Term
condition with respect to loops
Definition
Term
const type modifier
Definition
promise not to change the varable
Term
control structure
Definition
if else esles-if
Term
End of file controlled loop
Definition
a loop that repeats (based on a stream until the end of the file maker is read.
Term
event controlled loop
Definition
a loop that repeats until a specific event occurs 3- sub-types:sentinel flag and end of file controlled loop
Term
flag controlled loop
Definition
a loop that repeat until the truth value of a Boolean flag is flipped
Term
formal parameter
Definition
parameters the temporary place holders declared in the function header used to receive data provide by the caller
Term
function header
Definition
defines the function's interface name return type and list of parameters the first line of a function definition
Term
function prototype
Definition
a declaration statement for a unction , providing the function's interface but not a body.
Term
function stub
Definition
an empty function used for incremental development
Term
iterative loop
Definition
a loop that repeats a specfic number o times, or for a specfic range of value
Term
loop body
Definition
Term
loop control variable
Definition
a variable whose value is tested in order to determine whether the loop body should execute.
Term
overloading
Definition
two or more functions that have the same name but different parameter list
Term
pass-by-reference
Definition
no copy is made the formal parameter simply becomes and alias for the acutal parameter
Term
pass-by-value
Definition
the value of the actual parameter is copied into the formal paramter is the default method by which data is moved into the function for atomic types structured and object types
Term
post-test loop
Definition
a loop that test the loop condition at loop exit (at the end o the loop)
Term
pre-test loop
Definition
a loop that test the loop condition before loop entry (at beginning of each loop
Term
reference type
Definition
types that refer to their data by starting address not by directly labeling a unit of storage EX C++ array
Term
reference type modifier
Definition
is the ampersand (&)
Term
return
Definition
Term
return type
Definition
Term
scope
Definition
Term
local
Definition
Term
global
Definition
Term
scope of parameters
Definition
Term
scope of variable
Definition
Term
declared in "for" loop
Definition
Term
sentinel
Definition
Term
sentinel controlled loop
Definition
a loop that repeats until specified data value is encountered (this value called a sentinel
Term
static
Definition
hybrid of local and global behavior it is used to maintain state between calls
Term
string
Definition
Term
void
Definition
Term
loop condition
Definition
boolean expression whose result determines whether the loop body should excute( true cause the loop to execute )
Term
array index (subscipt)
Definition
Term
array index operator
Definition
Term
array size declarator
Definition
Term
array type modifier
Definition
Term
pointer
Definition
is a variable that stores a memory address
Term
pointer type modifier
Definition
* declare a pointer.
Term
The indirect operator (*)
Definition
allows us to follow a point to the address it is storing so we may operate on the data stored
Supporting users have an ad free experience!