Exam 6: User-Defined Functions

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

What does these terms refer to: - \gg Reference parameter:

Free
(Short Answer)
4.9/5
(32)
Correct Answer:
Verified

a formal parameter that receives the location (memory address) of the corresponding actual parameter

The code required to accomplish a function's task is called the ____________________ of the function.

Free
(Short Answer)
4.8/5
(31)
Correct Answer:
Verified

body

What does these terms refer to: - \gg Different formal parameter lists:

Free
(Short Answer)
4.9/5
(33)
Correct Answer:
Verified

when two or more functions with the same name have a different number of formal parameters, or if they have the same number of parameters, the data type of the parameters differs in at least one position

What does these terms refer to: - \gg Driver:

(Short Answer)
4.8/5
(39)

What does these terms refer to: - \gg Parameter:

(Short Answer)
4.8/5
(39)

The C++ function sqrt is of type ____________________.

(Short Answer)
4.8/5
(43)

What does these terms refer to: - \gg Local identifier:

(Short Answer)
4.8/5
(33)

What does these terms refer to: - \gg Signature (of a function):

(Short Answer)
4.7/5
(33)

A value-returning function is used (called) in a(n) ____________________.

(Short Answer)
5.0/5
(32)

An actual parameter is a variable declared in the function heading.

(True/False)
4.8/5
(40)

A return statement must be the last statement in a function.

(True/False)
4.9/5
(29)

What is the syntax of a void function call?

(Short Answer)
4.8/5
(43)

What does these terms refer to: - \gg Actual parameter:

(Short Answer)
4.9/5
(33)

What does these terms refer to: - \gg Formal parameter:

(Short Answer)
4.8/5
(36)

What does these terms refer to: - \gg Body (of a function):

(Short Answer)
4.9/5
(39)

A(n) ____________________ is a function heading without the body of the function.

(Short Answer)
4.9/5
(33)

To use predefined functions in a program, you must include the ____________________ that includes the function specification.

(Short Answer)
4.8/5
(37)

What does these terms refer to: - \gg Function header (heading):

(Short Answer)
4.9/5
(42)

No information can be passed in and out of void functions without parameters.

(True/False)
4.8/5
(36)

What does these terms refer to: - \gg Global identifier:

(Short Answer)
4.8/5
(28)
Showing 1 - 20 of 47
close modal

Filters

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