Exam 7: Arrays

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

What does the following statement do? What does the following statement do?

(Multiple Choice)
4.9/5
(76)

What will the following code display? What will the following code display?

(Multiple Choice)
4.9/5
(72)

When you pass an array as an argument to a function, the function can modify the contents of the array.

(True/False)
4.8/5
(84)

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

(Multiple Choice)
5.0/5
(76)

What is the last legal subscript that can be used with the following array? What is the last legal subscript that can be used with the following array?

(Multiple Choice)
4.7/5
(78)

Each individual element of an array can be accessed by the array name and an element number, called a subscript.

(True/False)
4.8/5
(84)

This vector function returns true if the vector has no elements.

(Multiple Choice)
4.8/5
(82)

The range-based for loop, in C++ 11, is designed to work with a built-in variable known as the ________.

(Multiple Choice)
4.9/5
(80)

Given the following declaration, where is the value 77 stored in the scores array? Given the following declaration, where is the value 77 stored in the scores array?

(Multiple Choice)
5.0/5
(79)

What will the following code do? What will the following code do?

(Multiple Choice)
4.8/5
(73)

The statement: double money[25.00]; is a valid C++ array definition.

(True/False)
4.9/5
(86)

What does the following statement do? What does the following statement do?

(Multiple Choice)
4.8/5
(77)

Arrays may be ________ at the time they are ________.

(Multiple Choice)
4.8/5
(79)

An array's size declarator must be a ________ with a value greater than ________.

(Multiple Choice)
4.9/5
(76)

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

(True/False)
4.8/5
(68)

This vector function is used to insert an item into a vector.

(Multiple Choice)
4.9/5
(79)

The individual values contained in array are known as ________.

(Multiple Choice)
4.9/5
(78)

If you leave out the size declarator in an array definition:

(Multiple Choice)
4.9/5
(88)

If you attempt to store data past an array's boundaries, it is guaranteed that the compiler will issue an error.

(True/False)
4.8/5
(84)

Subscript numbering in C++________.

(Multiple Choice)
4.9/5
(73)
Showing 21 - 40 of 58
close modal

Filters

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