Exam 14: Introduction to Collections

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

The replacement operation combines removal and insertion into a single operation. ____________________

(True/False)
4.8/5
(28)

Strings and arrays are examples of collections.

(True/False)
4.8/5
(34)

The index-based operations on linked lists run in ____ time.

(Multiple Choice)
5.0/5
(38)

The most prevalent application of queues is in database management.

(True/False)
4.8/5
(31)

The index positions available for access in a list range from 0 to its physical size minus 1. ____________________

(True/False)
4.9/5
(26)

A ____ adheres to a Last In First Out protocol.

(Multiple Choice)
4.9/5
(40)

A(n) ____________________ is an object that allows the programmer to visit all of the elements in a collection.

(Short Answer)
4.9/5
(31)

When a name such as String takes the place of the type variable during instantiation, it is called a type ____.

(Multiple Choice)
4.9/5
(40)

A list can contain values such as int and double.

(True/False)
4.9/5
(43)

Each type of collection supports some form of all of the following EXCEPT ____.

(Multiple Choice)
5.0/5
(33)

The traversal operation visits each item in a collection in order to access or modify it. ____________________

(True/False)
4.9/5
(40)

Identify the letter of the choice that best matches the phrase or definition. a.Queue b.Set c.Map d.Tree e.Graph -A hierarchical collection of elements.

(Essay)
4.7/5
(36)

A feature called ____________________ classes allows storage of primitive data types in lists.

(Short Answer)
4.7/5
(38)

Like an array, a(n) ____ is a sequence of elements that are ordered by an integer index position.

(Multiple Choice)
4.8/5
(35)

A list tracks its own logical size and grows or shrinks automatically as needed.

(True/False)
4.9/5
(42)

An association list is another word for a(n) ____.

(Multiple Choice)
4.9/5
(37)

A(n) ____________________ contains a group of items that are treated as a conceptual unit.

(Short Answer)
4.8/5
(39)

A ____ adheres to a First In First Out protocol.

(Multiple Choice)
4.9/5
(27)

FIGURE 14-1 FIGURE 14-1   -Which of the following is NOT true about how Chase will organize his data? -Which of the following is NOT true about how Chase will organize his data?

(Multiple Choice)
4.8/5
(43)

A(n) ____ is a linear sequence of characters accessed by numeric index position.

(Multiple Choice)
4.7/5
(40)
Showing 21 - 40 of 43
close modal

Filters

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