Exam 16: Exceptions, Templates, and the Standard Template Library STL
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C++40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions37 Questions
Exam 5: Looping38 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays37 Questions
Exam 9: Searching, Sorting, and Algorithm Analysis36 Questions
Exam 10: Pointers50 Questions
Exam 11: More About Classes and Object-Oriented Programming64 Questions
Exam 12: More on C-Strings and the String Class38 Questions
Exam 13: Advanced File and Io Operations38 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions20 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library STL40 Questions
Exam 17: Linked Lists38 Questions
Exam 18: Stacks and Queues36 Questions
Exam 19: Binary Trees37 Questions
Select questions type
A sequential container organizes data in a sequential fashion, similar to an array or linked list.
(True/False)
4.8/5
(33)
The algorithms provided by the STL are implemented as , and perform various operations on elements of containers.
(Multiple Choice)
4.7/5
(36)
A _ is a "generic" function that can work with different data types.
(Multiple Choice)
4.9/5
(31)
The Standard Template Library (STL)contains templates for useful algorithms and data structures.
(True/False)
4.7/5
(38)
There is no difference between defining an object of an ordinary class and an object of a template class.
(True/False)
4.9/5
(40)
A program may not contain a "regular" version of a function and a template version of the function at the same time.
(True/False)
4.9/5
(46)
The three sequential container objects currently provided by the STL are
(Multiple Choice)
4.8/5
(35)
Class templates allow you to create one general version of a class without having to
(Multiple Choice)
4.7/5
(49)
are used to signal errors or unexpected events that occur while a program is running.
(Multiple Choice)
4.8/5
(39)
Using a function template often requires writing less code than overloading a function.
(True/False)
4.9/5
(36)
Non- template functions have a slight advantage in speed over template functions.
(True/False)
4.8/5
(37)
An actual instance of a template function is created in memory when the compiler encounters
(Multiple Choice)
4.7/5
(45)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)