Exam 4: Standard Template Library (STL) I
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 ____ provides class templates to process lists (contiguous or linked), stacks, and queues.
(Multiple Choice)
4.8/5
(39)
Assuming deq is a deque object. the expression deq.back() returns the position of the last element of deq.
(True/False)
5.0/5
(35)
If the data needs to be processed in a Last In First Out (LIFO) manner, we typically use a(n) ____.
(Multiple Choice)
4.8/5
(29)
To use a deque container in a program, the program must include the statement ____.
(Multiple Choice)
4.9/5
(34)
The statement vecList.pop_back() puts the last deleted element back on the vector.
(True/False)
4.8/5
(31)
The effect of the expression rAccessIterator - n is that it ____.
(Multiple Choice)
4.9/5
(38)
Forward iterators combine all of the functionality of input iterators and almost all the functionality of output iterators.
(True/False)
4.9/5
(34)
A ____ encapsulates data, and operations on that data, into a single unit.
(Multiple Choice)
4.9/5
(35)
The function ____ returns a pointer to the last element into a container.
(Multiple Choice)
4.8/5
(31)
____ iterators, with read access, step forward element-by-element and so return the values element-by-element.
(Multiple Choice)
4.7/5
(41)
To use the template function copy, the program must include the statement ____.
(Multiple Choice)
4.8/5
(38)
The expression vecList.front() moves an element to the front of the vector.
(True/False)
4.9/5
(37)
Showing 21 - 40 of 47
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)