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
(79)

____________________ predicates check a specific property for a single argument.

(Short Answer)
4.9/5
(82)

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

(Multiple Choice)
4.8/5
(73)

____ is a modifying algorithm.

(Multiple Choice)
4.8/5
(77)

____ containers allow elements to be inserted at both ends.

(Multiple Choice)
4.9/5
(86)

Functions begin and end do not take any parameters.

(True/False)
4.9/5
(83)

List containers are implemented as doubly ____________________.

(Short Answer)
4.9/5
(70)

The STL has three main components: ____.

(Multiple Choice)
4.9/5
(83)

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

(Short Answer)
4.8/5
(77)

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

(Multiple Choice)
4.8/5
(81)

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

(Multiple Choice)
4.8/5
(77)

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

(Short Answer)
4.9/5
(72)

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

(Multiple Choice)
4.9/5
(95)

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

(Multiple Choice)
4.9/5
(79)

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

(Multiple Choice)
4.9/5
(91)

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

(Multiple Choice)
4.9/5
(70)

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

(Short Answer)
4.9/5
(83)

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

(Multiple Choice)
4.8/5
(70)

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

(Short Answer)
4.9/5
(82)

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

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

Filters

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