Exam 17: The Standard Template Library
Exam 1: Introduction to Computers and Programming47 Questions
Exam 2: Introduction to C62 Questions
Exam 3: Expressions and Interactivity45 Questions
Exam 4: Making Decisions51 Questions
Exam 5: Loops and Files60 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays and Vectors56 Questions
Exam 8: Searching and Sorting Arrays30 Questions
Exam 9: Pointers47 Questions
Exam 10: Characters, C-Strings, and More About the String Class47 Questions
Exam 11: Structured Data46 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes54 Questions
Exam 14: More About Classes46 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions43 Questions
Exam 16: Exceptions and Templates36 Questions
Exam 17: The Standard Template Library38 Questions
Exam 18: Linked Lists41 Questions
Exam 19: Stacks and Queues47 Questions
Exam 20: Recursion27 Questions
Exam 21: Binary Trees39 Questions
Select questions type
The difference between the unordered_multimap class and the multimap class is that
(Multiple Choice)
4.7/5
(30)
A function object is an object that acts like a function and is also known as a functor.
(True/False)
4.7/5
(31)
The algorithms provided by the STL are implemented as __________ and perform various operations on elements of containers.
(Multiple Choice)
4.8/5
(38)
You can use the name of a function to get that function's address in memory and, therefore, get a function pointer to point to the function's executable code.
(True/False)
4.8/5
(37)
The most important data structures in the STL are __________
(Multiple Choice)
4.8/5
(32)
When you declare an iterator to work with a container, the compiler automatically chooses the right type.
(True/False)
4.9/5
(41)
The STL provides many algorithms which are implemented as function templates and are included in the <algorithm> header file.
(True/False)
4.8/5
(26)
Select all that apply. Which of the following are member functions of the vector class that use emplacement?
(Multiple Choice)
4.9/5
(38)
In a mapping, each element must have one of the following two parts:
either a key or a value.
(True/False)
4.9/5
(35)
A(n) __________ is a class that stores data and organizes it in some fashion.
(Multiple Choice)
4.7/5
(30)
Because a vector container uses a dynamically allocated array to hold its elements, it is common for the vector class to allocate
(Multiple Choice)
4.9/5
(33)
An iterator of the iterator type that gives you read/write access to the element to which the iterator points is known as a(n)
(Multiple Choice)
4.9/5
(43)
An associative container uses __________ to access elements rapidly.
(Multiple Choice)
4.9/5
(32)
A set is an associative container containing elements that must all be unique.
(True/False)
4.7/5
(44)
The vector class has a ________ member function which can be used to request an increase in the vector's capacity and a __________ member function to decrease a vector's capacity.
(Multiple Choice)
4.9/5
(35)
Select all that apply. Which of the following statement(s) is(are) true about the set container?
(Multiple Choice)
4.8/5
(30)
An iterator is a function that is used to access items in an array.
(True/False)
4.8/5
(42)
Showing 21 - 38 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)