Exam 6: Using C++ Functions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Maintenance programming involves making modifications and improvements to existing systems.

(True/False)
4.9/5
(26)

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

(True/False)
4.7/5
(45)

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.

(True/False)
4.9/5
(43)

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

(Essay)
4.9/5
(41)
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
Correct Answer:
Verified
Premises:
Responses:
small function with no overhead because program control never transfers to the function
subfunction
(Matching)
4.8/5
(32)
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
Correct Answer:
Verified
Premises:
Responses:
process of extracting the relevant attributes of a process or object
black box
(Matching)
4.8/5
(39)

A(n) ____ is an alternative name.

(Multiple Choice)
4.9/5
(37)

When is a variable in scope or out of scope?

(Essay)
4.8/5
(41)

Statements that can never execute are called dead code.

(True/False)
4.9/5
(39)

____ variables are known only in a limited scope.

(Multiple Choice)
4.9/5
(37)

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.

(Short Answer)
4.7/5
(32)
Showing 41 - 51 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)