Exam 16: Exceptions, Templates, and the Standard Template Library Stl
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C Plus Plus40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions40 Questions
Exam 5: Looping40 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays40 Questions
Exam 9: Searching, Sorting, Algorithm Analysis40 Questions
Exam 10: Pointers62 Questions
Exam 11: More About Classes and Object-Oriented Programming70 Questions
Exam 12: More on C-Strings and the String Class40 Questions
Exam 13: Advanced File and Io Operations40 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions22 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 Trees38 Questions
Select questions type
The most important data structures in the STL are ________ and ________.
(Multiple Choice)
4.9/5
(28)
The three sequential container objects currently provided by the STL are
(Multiple Choice)
4.8/5
(29)
The STL vector and list classes are examples of sequential containers.
(True/False)
4.8/5
(34)
A ________ is a "generic" function that can work with different data types.
(Multiple Choice)
4.7/5
(37)
________ are used to signal errors or unexpected events that occur while a program is running.
(Multiple Choice)
4.9/5
(27)
A(n)________ is a class that stores data and organizes it in some fashion.
(Multiple Choice)
4.9/5
(22)
All type parameters defined in a function template must appear at least once in the
(Multiple Choice)
4.9/5
(26)
The line containing a throw statement is known as the throw point.
(True/False)
4.9/5
(37)
Class templates allow you to create one general version of a class without having to
(Multiple Choice)
4.8/5
(33)
There is no difference between defining an object of an ordinary class and an object of a template class.
(True/False)
4.9/5
(33)
In the statement template <class T>, what does T represent?
(Multiple Choice)
4.9/5
(40)
An associative container uses ________ to access values stored in it.
(Multiple Choice)
5.0/5
(41)
An actual instance of a template function is created in memory when the compiler encounters
(Multiple Choice)
4.8/5
(32)
A thrown exception for which there is no matching catch block will cause the execution of the program to abort.
(True/False)
4.9/5
(41)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)