Exam 13: Standard Template Library (STL) II
Exam 1: Software Engineering Principles and C++ Classes42 Questions
Exam 2: Object-Oriented Design OOD and C++35 Questions
Exam 3: Pointers and Array-Based Lists45 Questions
Exam 4: Standard Template Library (STL) I47 Questions
Exam 5: Linked Lists44 Questions
Exam 6: Recursion36 Questions
Exam 7: Stacks44 Questions
Exam 8: Queues48 Questions
Exam 9: Searching and Hashing Algorithms49 Questions
Exam 10: Sorting Algorithms47 Questions
Exam 11: Binary Trees and B-Trees47 Questions
Exam 12: Graphs43 Questions
Exam 13: Standard Template Library (STL) II50 Questions
Select questions type
The algorithm ____ is used to manipulate the elements of two ranges.
(Multiple Choice)
4.8/5
(32)
The algorithms accumulate, adjacent_difference, inner_product, and partial_sum are numerical functions and manipulate numeric data.
(True/False)
4.9/5
(37)
The algorithm ____ is used to randomly order the elements in a given range.
(Multiple Choice)
4.9/5
(32)
A ____ contains a function that can be treated as a function using the function call operator, ().
(Multiple Choice)
4.8/5
(37)
With the help of the ____, two values can be combined into a single unit and, therefore, can be treated as one unit.
(Multiple Choice)
4.9/5
(42)
Every object of type pair has two data members, first and second, and these two data members are private.
(True/False)
4.8/5
(32)
The algorithm ____ counts the occurrences of a given value in a given range.
(Multiple Choice)
4.9/5
(38)
The algorithm ____ is used to find the elements in one range of elements that do not appear in another range of elements.
(Multiple Choice)
4.7/5
(37)
The class pair has two constructors: the default constructor and a constructor with two parameters.
(True/False)
4.8/5
(40)
To make the generic algorithms flexible, the STL usually provides three forms of an algorithm using the mechanism of function overloading.
(True/False)
4.8/5
(37)
The algorithm find_adjacent is used to find the first occurrence of consecutive elements that meet certain criteria.
(True/False)
4.9/5
(30)
Elements in an associative container are automatically sorted according to some ordering criteria.
(True/False)
4.9/5
(42)
The algorithm count_if counts the occurrences of a given value in a given range satisfying a certain criterion.
(True/False)
4.9/5
(36)
The statement ____ assigns 50 to the data member first of x.
(Multiple Choice)
4.9/5
(37)
The algorithm min is used to determine the minimum of two values.
(True/False)
4.9/5
(38)
The algorithm ____ is used to determine the largest element in a given range.
(Multiple Choice)
4.9/5
(29)
The algorithm ____ determines whether the elements in one range appear in another range.
(Multiple Choice)
4.9/5
(45)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)