Exam 7: Arrays

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

An array's size declarator must be a(n)_________ with a value greater than _________.

(Multiple Choice)
4.9/5
(89)

It is __________ to pass an argument to a function that contains an individual array element, such as numbers[3].

(Multiple Choice)
4.9/5
(69)

The ______________ is automatically appended to a character array when it is initialized with a string constant.

(Multiple Choice)
4.8/5
(83)

Assume array1 and array2 are the names of arrays. To assign the contents of array2 to array1, you would use the following statement. array1 = array2;

(True/False)
4.7/5
(80)

If an array is partially initialized, the uninitialized elements will be set to zero.

(True/False)
4.7/5
(81)

A two-dimensional array can be viewed as ___________ and _____________.

(Multiple Choice)
4.9/5
(78)

Which of the following is a valid C++ array definition?

(Multiple Choice)
4.8/5
(92)

A two-dimensional array can have elements of _________ data type(s).

(Multiple Choice)
4.9/5
(77)

Which statement correctly defines a vector object for holding integers?

(Multiple Choice)
4.8/5
(75)

By using the same ________ you can build relationships between data stored in two or more arrays.

(Multiple Choice)
4.8/5
(57)

To pass an array as an argument to a function, pass the _________ of the array.

(Multiple Choice)
4.7/5
(73)

Although two-dimensional arrays are a novel idea, there is no known way to pass one to a function.

(True/False)
4.8/5
(84)

An array with no elements is

(Multiple Choice)
4.8/5
(67)
Showing 41 - 53 of 53
close modal

Filters

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