Exam 21: Standard Template Library (STL)

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

Input iterators,with read access,step forward element by element.

Free
(True/False)
4.7/5
(44)
Correct Answer:
Verified

True

Random access iterators are ____ iterators that can randomly process the elements of a container.

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

A

The name of the class that implements the vector container is container.

Free
(True/False)
4.8/5
(40)
Correct Answer:
Verified

False

All containers use the same names for the common operations.

(True/False)
4.7/5
(31)

The operator ____________________,supported by the stack container class,inserts a copy of item onto the stack.

(Short Answer)
4.7/5
(41)

____ is a modifying algorithm.

(Multiple Choice)
5.0/5
(41)

The container member function ____ returns the position of one past the last element in the container.

(Multiple Choice)
4.8/5
(32)

Some containers do not contain the member function end.

(True/False)
4.9/5
(32)

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

(Multiple Choice)
4.9/5
(36)

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

(Short Answer)
4.8/5
(50)

____ is a nonmodifying algorithm.

(Multiple Choice)
4.9/5
(41)

____________________ predicates check a specific property for a pair-that is,two arguments.

(Short Answer)
4.8/5
(39)

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

(Short Answer)
4.7/5
(37)

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

(Multiple Choice)
4.9/5
(38)

A container's ____ executes when the object goes out of scope.

(Multiple Choice)
4.9/5
(38)

The operator ____________________,supported by the queue container class,returns the next (i.e.,first)element in the queue,but does not remove the element from the queue.

(Short Answer)
4.9/5
(34)

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

(Multiple Choice)
4.8/5
(40)

The first element in a vector container is at location 1.

(True/False)
4.9/5
(37)

List containers are implemented as doubly ____________________.

(Short Answer)
4.9/5
(38)

If data needs to be processed in a LIFO manner,use a ____.

(Multiple Choice)
4.7/5
(32)
Showing 1 - 20 of 50
close modal

Filters

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