Filters
Question type

Study Flashcards

The type of object or variable that a function returns to the function that calls it is the function's ____________________.

Correct Answer

verifed

verified

return typ...

View Answer

Maintenance programming involves making modifications and improvements to existing systems.

A) True
B) False

Correct Answer

verifed

verified

A(n) ____ is an alternative name.


A) alias
B) prototype
C) call
D) parameter

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

Statements that can never execute are called dead code.

A) True
B) False

Correct Answer

verifed

verified

Match each term with the correct statement below.

Premises
process of extracting the relevant attributes of a process or object
Responses
black box
inline function
ambiguity
abstraction
function prototype
overhead
subfunction
function
encapsulation

Correct Answer

black box
inline function
ambiguity
abstraction
function prototype
overhead
subfunction
function
encapsulation

____ variables are known only in a limited scope.


A) Global
B) Local
C) Limited
D) Modular

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Most compilers will issue an error message if a function receives a variable as a constant but then passes the variable to another function that does not receive the variable as a constant.

A) True
B) False

Correct Answer

verifed

verified

An array name is a constant pointer, meaning you cannot alter its contents.

A) True
B) False

Correct Answer

verifed

verified

Match each term with the correct statement below.

Premises
small function with no overhead because program control never transfers to the function
Responses
subfunction
function prototype
ambiguity
function
encapsulation
abstraction
overhead
black box
inline function

Correct Answer

subfunction
function prototype
ambiguity
function
encapsulation
abstraction
overhead
black box
inline function

When is a variable in scope or out of scope?

Correct Answer

verifed

verified

A variable is in scope, or accessible, b...

View Answer

A(n) ____________________ copy of an object is one in which the value of each field or member of the object is copied to its counterpart in another object.

Correct Answer

verifed

verified

Showing 41 - 51 of 51

Related Exams

Show Answer