Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
10 Cards in this Set
- Front
- Back
This is a collection of statements that performs a specific task. A) Infinite Loop B) Variable C) Constant D) Function E) None of these |
D) Function |
|
A function _____ contains the statements that make up the function. A) Definition B) Prototype C) Call D) Expression E) Parameter List |
A) Definition
|
|
A function can have zero to many parameters, and it can return this many values. A) zero to many B) no C) only one D) a maximum of ten E) none of these
|
C) only one |
|
A function is executed when it is: A) defined B) prototyped C) declared D) called E) none of these |
D) called |
|
In a function header, you must furnish: A) data types of the parameters B) data type of the return value C) names of parameter variables D) the name of function E) all of these |
E) all of these
|
|
Functions are ideal for the use in menu driven programs. When a user selects a menu item, the program can ___ the appropriate function. A) call B) prototype C) define D) declare E) none of these |
A) call
|
|
This type of variable is defined inside a function and is not accessible outside the function. A) global B) reference C) local D) counter E) none of these |
C) local |
|
The value in this type of local variable persists between function calls. A) global B) internal C) static D) dynamic E) none of these |
C) static |
|
These types of arguments are passed to parameters automatically if no argument is provided in the function call. A) local B) default C) global D) relational E) none of these |
B) default
|
|
When used in parameters, these types of variables allow a function to access the parameters original argument. A) reference B) floating point C) counter D) undeclared E) none of these |
A) reference |