Exam 6: Functions

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

If a function is called more than once in a program, the values stored in the function's local variables do not ________ between function calls.

(Multiple Choice)
4.7/5
(91)

What is the output of the following program? What is the output of the following program?

(Multiple Choice)
4.7/5
(75)

Which line in the following program contains the header for the showDub function? Which line in the following program contains the header for the showDub function?

(Multiple Choice)
5.0/5
(76)

A function's return data type must be the same as the function's parameter(s).

(True/False)
4.8/5
(81)

A ________ argument is passed to a parameter when the actual argument is left out of the function call.

(Multiple Choice)
4.8/5
(70)

It is possible for a function to have some parameters with default arguments and some without.

(True/False)
4.9/5
(86)

A(n)________ is information that is passed to a function, and a(n)________ is information that is received by a function.

(Multiple Choice)
4.8/5
(80)

This is a statement that causes a function to execute.

(Multiple Choice)
4.9/5
(77)

When a function is called, flow of control moves to the function's prototype.

(True/False)
4.9/5
(76)
Showing 41 - 49 of 49
close modal

Filters

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