Question: TRUE/FALSE (a)The sentinel value is always the first value added to a sum being accumulated in a sentinel-controlled loop. Select one: True False (b) A

TRUE/FALSE

(a)The sentinel value is always the first value added to a sum being accumulated in a sentinel-controlled loop.

Select one:

True

False

(b) A function's input arguments are call-by-reference.

Select one:

True

False

(c) Although 10-dimensional arrays are a novel idea, there is no known way to pass one to a function.

Select one:

True

False

(d) The type of actual arguments does not need to correspond with the type of formal arguments.

Select one:

True

False

(e) Consider the following function prototype:

void compute_ave (float, int, float&);

The function call compute_ave (12.0, 5, 22.0);

is valid.

Select one:

True

False

(f) Given the declaration:

int list[10];

the following code writes out the entire list in reverse order

for (int i = 10; i > 0; i--) cout << list[i];

Select one:

True

False

(g) Nonprintable characters may be written to or read from a stream using the extraction operator >>.

Select one:

True

False

(h) Assuming ch is declared as a char variable, cin.get(ch) skips any leading white space when reading into ch.

Select one:

True

False

(i) Once a field width has been set using the setw manipulator or the width function, it remains in effect for the remainder of the program.

Select one:

True

False

(j) If A is an array of integer elements, then the statement A = A + 1; adds 1 to each element of array A.

Select one:

True

False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!