Exam 21: Standard Template Library

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

____ returns the maximum number of elements that can be inserted into the vector container vecCont without reallocation.

(Multiple Choice)
4.9/5
(39)

____________________ predicates check a specific property for a single argument.

(Short Answer)
4.9/5
(36)

Every object in a(n) ____ container has a specific position.

(Multiple Choice)
4.8/5
(25)

____ is a modifying algorithm.

(Multiple Choice)
4.8/5
(32)

____ containers allow elements to be inserted at both ends.

(Multiple Choice)
4.9/5
(41)

Functions begin and end do not take any parameters.

(True/False)
4.8/5
(36)

List containers are implemented as doubly ____________________.

(Short Answer)
4.9/5
(37)

The STL has three main components: ____.

(Multiple Choice)
4.8/5
(40)

The ____________________ iterators are used to output data from a program into an output stream.

(Short Answer)
4.8/5
(34)

The ____ operation on a vector container deletes the last element.

(Multiple Choice)
4.9/5
(43)

A function object contains a function that can be treated as a function using the ____ operator.

(Multiple Choice)
4.8/5
(38)

____________________ iterators are forward iterators that can also iterate backward over the elements.

(Short Answer)
4.9/5
(29)

If the data needs to be processed in a(n) ____ manner, use a queue.

(Multiple Choice)
4.8/5
(37)

The ____ operation removes the first element from the deque object deq.

(Multiple Choice)
4.9/5
(37)

If consecutive elements in listCont have the same value, the ____ operation removes the duplicates.

(Multiple Choice)
4.9/5
(42)

Elements in a(n) ____ container are automatically sorted according to some ordering criteria.

(Multiple Choice)
4.9/5
(31)

The only difference between the containers set and multiset is that the container multiset allows ____________________.

(Short Answer)
4.9/5
(40)

An iterator to a vector container is declared using the ____ iterator.

(Multiple Choice)
4.7/5
(33)

The associated header file of the sequence container multimap is ____________________.

(Short Answer)
4.9/5
(36)

Predicates are special types of function objects that return ____ values.

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

Filters

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