Exam 21: Standard Template Library Stl

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

The erase member function of class vector cannot:

(Multiple Choice)
4.9/5
(35)

The multiset associative container does not:

(Multiple Choice)
4.7/5
(34)

Functions lower_bound, upper_bound and equal_range are different in their:

(Multiple Choice)
4.8/5
(42)

The order of the arguments passed to function replace_copy_if must be:

(Multiple Choice)
4.8/5
(35)

The list sequence container does not:

(Multiple Choice)
4.8/5
(41)

Which of the following is not an STL container type?

(Multiple Choice)
4.8/5
(36)

If pairs is a map containing int keys and double associated values, the expression pairs[ 5 ] = 10:

(Multiple Choice)
4.9/5
(37)

Which of the following is not a member function of all sequence containers?

(Multiple Choice)
4.9/5
(41)

Given that v1 and v2 are vectors, the function call std::equal v1.begin), v1.end), v2.begin) ) returns:

(Multiple Choice)
4.7/5
(36)

The __________ function would produce a sequence containing 3 elements when passed the sequences 1, 2 and 1, 2, 3, 4, 5 as first/second and third/fourth arguments, respectively.

(Multiple Choice)
4.8/5
(35)

Which of the following statements produces the same results as the statement: Std::copy v1.begin), v1.end), v2.begin) ); If v1 and v2 are both 10-element vectors?

(Multiple Choice)
4.8/5
(36)

Sorting a preexisting sequence of n elements can be accomplished with the heapsort algorithm by:

(Multiple Choice)
4.9/5
(31)

Functions partial_sum and partial_sort are similar in that:

(Multiple Choice)
4.7/5
(37)

Which category of iterators combines the capabilities of input and output iterators into one iterator?

(Multiple Choice)
4.9/5
(43)

Which of the following is not a key component of the STL?

(Multiple Choice)
4.9/5
(33)

Part of the functionality of member function _________ can be performed by member function lower_bound.

(Multiple Choice)
4.9/5
(30)
Showing 41 - 56 of 56
close modal

Filters

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