Shared Flashcard Set

Details

CSE 1341 Test 1
Test 1
15
Computer Science
Undergraduate 1
02/18/2007

Additional Computer Science Flashcards

 


 

Cards

Term
When a return statement executes in a function, the remaining statements in that function are executed after the return statement has completed execution
Definition
false
Term
function definitions must be in the same order as their function prototypes
Definition
false
Term
either a function prototype or function definition must precede and call to a function
Definition
true
Term
only the main function can call programmer defined functions
Definition
false
Term
a value returning function can only return one value with a return statement
Definition
true
Term
a function may contain more than one return statement
Definition
true (if/else statements)
Term
a literal value may be passed to a reference parameter in a function call
Definition
false
Term
if a function has multiple parameters with default arguments and if a value with a default argument is not specified, then all arguments to its right must be omitted also.
Definition
true
Term
two functions with the same name and the same number of parameters, but a different data type for atleast one of the parameters are considered to be overloaded.
Definition
true
Term
a static variable that is declared inside a function will retain its value between different calls to that function
Definition
true
Term
one array can hold multiple data types
Definition
false
Term
in c++, array indices start with 0.
Definition
true
Term
arrays can be passed by value or reference to a function
Definition
true
Term
in c++, c-strings are null terminated
Definition
true
Term
to declare parallel arrays in c++, you include the keyword parallel before the data type in the array definition
Definition
false
Supporting users have an ad free experience!