Answer the following statements true (T) or false (F)

1. The expression array.GetUpperBound(1) can be used to determine the upper bound of a one-dimensional array.
2. Often, the elements of an array represent a series of related values that are used in a calculation.
3. Values in an array can be totaled by using the ArrayTotal method.
4. Arrays can be used as sets of counters.
5. When an expression contains nested parentheses, its evaluation begins with the value in the outermost set of parentheses.


1. False: The expression array.GetUpperBound(0) can be used to determine the upper bound of a one-dimensional array.
2. True.
3. False. If the values of an array need to be totaled, a repetition structure may be used to traverse the array and add up each element.
4. True.
5. When an expression contains nested parentheses, its evaluation begins with the value in the innermost set of parentheses.

Computer Science & Information Technology

You might also like to view...

Analysis of the EBK standards produced ____ critical work functions.

A. 14 B. 35 C. 41 D. 53

Computer Science & Information Technology

The JColorChooser dialog allows colors to be chosen by all but which of the following?

a. Swatches. b. Hue, saturation, brightness. c. Gradient, cycle, brightness. d. Red, Green, Blue.

Computer Science & Information Technology

David wants to display a few photos from his mobile phone onto a small, rectangular piece of wood that is located at 5 feet away from the mobile phone. David should use a _____ to display the photos.

A. ?DVD drive B. ?pico projector C. ?drum scanner D. ?dot matrix printer

Computer Science & Information Technology

Which of the following is the current Linux file system used to hold the operating system?

a. NTFS b. APFS c. ext3 d. ext4

Computer Science & Information Technology