Exam 4: Procedural Abstraction and Functions That Return a Value

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The functions pow), sqrt), and fabs) are found in which include file?

(Multiple Choice)
4.8/5
(37)

Information Hiding is analogous to using

(Multiple Choice)
4.8/5
(30)

variables that are declared outside of any function body or parameter list are considered global.

(True/False)
4.9/5
(43)

What is the value of x after the following code fragment executes? Float x = 36.0; X = sqrtx);

(Multiple Choice)
4.7/5
(37)

What is the value returned by the following function? Int function) { Int value = 35; Return value + 5; Value += 10; }

(Multiple Choice)
4.9/5
(41)

the parameter names are mandatory in the function header

(True/False)
4.8/5
(35)

function naming rules follow variable naming rules

(True/False)
4.9/5
(40)

The absolute value function abs is located in the _________ library.

(Short Answer)
5.0/5
(51)

#include <cmath> is known as an ___________________.

(Short Answer)
4.9/5
(35)

Which of the following functions is a properly overloaded function of the following? Int doSomethingint first, float second);

(Multiple Choice)
4.7/5
(40)

In the following function declaration, the variable size is known as a _________________. int myFunction int size);

(Short Answer)
4.9/5
(30)

The _________ of a variable is where that variable can be used.

(Short Answer)
5.0/5
(37)

A problem-solving approach that starts with the big problem and breaks it down into smaller pieces is called _________________.

(Short Answer)
4.9/5
(42)

What is the value of pow2,sqrt9.0)+ceil0.99)))? ______________

(Short Answer)
4.9/5
(36)

When overloading a function, what must be true?

(Multiple Choice)
4.8/5
(38)

What is the value of i after the following function call? //function definition Int doSomethingint value) { Value = 35; Return value; Value = 13 } //fragment of main program Int i=0; Cout << doSomethingi);

(Multiple Choice)
4.8/5
(37)

it is possible to have a function that has no parameters

(True/False)
4.8/5
(32)

Functions may have multiple return statements.

(True/False)
4.8/5
(32)

Using functions in a program is known as

(Multiple Choice)
4.8/5
(35)

When the function below is called, the _____ of the actual parameters is passed to the function definition. Double sqrtdouble value);

(Multiple Choice)
4.8/5
(37)
Showing 21 - 40 of 53
close modal

Filters

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