Exam 6: Modularity Using Functions

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

In addition to the space dimension represented by scope, variables have a(n) ____________________ dimension.

(Short Answer)
4.9/5
(44)

____ are any set of conditions a function requires to be true if it s to operate correctly.

(Multiple Choice)
4.7/5
(34)

Declaration statements containing the word extern create new storage areas.

(True/False)
4.8/5
(27)

In C++, nesting of functions is never permitted.

(True/False)
4.9/5
(32)

In C++, a function is allowed to change the contents of variables declared in other functions.

(True/False)
4.9/5
(42)

Most computers have a few high-speed storage areas called ____.

(Multiple Choice)
4.7/5
(28)

Calling a function places a certain amount of overhead on a computer.

(True/False)
4.8/5
(30)

Every C++ function consists of two parts, a function header and a function ____.

(Multiple Choice)
4.8/5
(45)

Function call overhead is justified because it can reduce a program s ____________________ substantially.

(Short Answer)
4.9/5
(27)

C++ functions are constructed to be independent modules.

(True/False)
4.8/5
(32)

A function ____ is a single, complete function that serves as a model for a family of functions.

(Multiple Choice)
4.8/5
(37)

Calling a function and passing arguments by value is a distinct advantage of C++.

(True/False)
4.7/5
(30)

The advantage of using an inline ____________________ is an increase in execution speed.

(Short Answer)
4.9/5
(32)

After a function returns a value, program control reverts to the ____________________ function.

(Short Answer)
4.9/5
(40)

The function that does the calling is referred to as the ____ function.

(Multiple Choice)
4.8/5
(39)

A(n) ____________________ function is summoned into action by the calling function.

(Short Answer)
4.9/5
(33)

You should make all your variables global if possible.

(True/False)
4.9/5
(39)

The use of function ____________________ permits the compiler to error-check data types.

(Short Answer)
4.9/5
(37)

When a value is passed to a called function with only copies of the values contained in the arguments at the time of the call, the passed argument is referred to as a ____.

(Multiple Choice)
4.7/5
(32)

C++ provides the capability of using the same function name for more than one function, referred to as function ____.

(Multiple Choice)
4.9/5
(35)
Showing 21 - 40 of 50
close modal

Filters

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