Shared Flashcard Set

Details

Computer Science 1 Final
Fill-in-the-blank's
18
Computer Science
Undergraduate 1
05/07/2013

Additional Computer Science Flashcards

 


 

Cards

Term
VOID
Definition
If a function doesn’t return a value, the word __________ will appear as its return type.
Term
PROTOTYPE and DEFINITION
Definition
Either a function’s __________ or its ______ must precede all calls to the function.
Term
VALUE
Definition
When only a copy of an argument is passed to a function it is said to be passed by _____.
Term
FUNCTION DECLARATION
Definition
A(n) _______ eliminates the need to place a function definition before all calls to the function.
Term
LOCAL
Definition
A(n) ____ variable is defined inside a function and is not accessible outside the function.
Term
GLOBAL
Definition
___ variables are defined outside all functions and are accessible to any function within their scope.
Term
EXTERNAL
Definition
____ variables provide an easy way to share large amounts of data among all the functions in a program.
Term
STATIC
Definition
____ local variables retain their value between function calls.
Term
RETURN
Definition
The _________ statement causes a function to end immediately.
Term
REFERENCE
Definition
When used as parameters, _______ variables allow a function to access the parameter’s original arguments.
Term
EXIT
Definition
The _____ function causes a program to terminate.
Term
ARGUMENTS
Definition
Two or more functions may have the same name, as long as their _______ are different.
Term
SUBSCRIPT
Definition
Each element of an array is accessed and indexed by a number known as a(n) _____.
Term
BOUNDS
Definition
C++ has no array ______ checking, which means you can inadvertently store data past the end of an array.
Term
INITIALIZATION LIST
Definition
15. If the size declarator of an array definition is omitted, C++ counts the number of items in the ____ to determine how large the array should be.
Term
Definition
When a character array is initialized with a string literal, the __________ is automatically included at the end.
Term
ROWS and COLUMNS
Definition
It’s best to think of a two-dimensional array as having ____ and ______.
Term
INDEX
Definition
When a two-dimensional array is passed to a function the __________ size must be specified.
Supporting users have an ad free experience!