Exam 21: Standard Template Library Stl
Exam 1: Introduction to Computers, the Internet and the World Wide Web27 Questions
Exam 2: Introduction to C Programming21 Questions
Exam 3: Control Statements, Part 127 Questions
Exam 4: Control Statements, Part 228 Questions
Exam 5: Functions and an Introduction to Recursion47 Questions
Exam 6: Arrays and Vectors19 Questions
Exam 7: Pointers and Pointer-Based Strings28 Questions
Exam 8: Sequential-Access Files12 Questions
Exam 9: Classes35 Questions
Exam 10: Classes: a Deeper Look, Part 215 Questions
Exam 11: Operator Overloading; String and Array Objects32 Questions
Exam 12: Object-Oriented Programming: Inheritance19 Questions
Exam 13: Object-Oriented Programming: Polymorphism23 Questions
Exam 14: Templates13 Questions
Exam 15: Stream Inputoutput33 Questions
Exam 16: Exception Handling24 Questions
Exam 17: File Processing11 Questions
Exam 18: Class String and String Stream Processing26 Questions
Exam 19: Searching and Sorting10 Questions
Exam 20: Data Structures19 Questions
Exam 21: Standard Template Library Stl56 Questions
Exam 22: Bits, Characters, C Strings and Structs26 Questions
Exam 23: Boost Libraries, Technical Report 1 and C0x21 Questions
Exam 24: Other Topics19 Questions
Exam 25: ATM Case Study, Part 1: Object-Oriented Design With the Uml15 Questions
Exam 26: ATM Case Study, Part 2: Implementing an Object-Oriented Design3 Questions
Exam 27: Game Programming With Ogre23 Questions
Select questions type
Which of the following function calls is a valid way to place elements into vector< char > chars?
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
A
Which of the following is not true of a class that will be used to instantiate function objects?
Free
(Multiple Choice)
5.0/5
(41)
Correct Answer:
D
The main difference between set and multiset is:
Free
(Multiple Choice)
4.7/5
(33)
Correct Answer:
D
Functions iter_swap and swap_ranges are similar in that both:
(Multiple Choice)
4.9/5
(31)
Which of the following is not a mathematical algorithm included in the STL?
(Multiple Choice)
4.7/5
(27)
Which of the following function calls would not return the value that is its first argument?
(Multiple Choice)
4.8/5
(44)
Which algorithm cannot take a predicate function as an argument?
(Multiple Choice)
4.9/5
(33)
Which of the following is not a member function of all sequence containers?
(Multiple Choice)
4.9/5
(30)
If a program attempts to insert a duplicate key into a set:
(Multiple Choice)
4.9/5
(34)
Which of the following are mutating-sequence algorithms defined in the STL?
(Multiple Choice)
5.0/5
(45)
Which of the following applications would a deque not be well suited for?
(Multiple Choice)
4.8/5
(32)
Assuming that bitset b1 contains the bits [0 1 1 0] and bitset b2 contains the bits [1 1 1 1], which of the following expressions returns true?
(Multiple Choice)
4.9/5
(26)
Which of the following is a valid generator function prototype for use with generate or generate_n on a vector< char >?
(Multiple Choice)
4.9/5
(37)
Suppose you have a shopping list stored in a vector. What function would you use to remove all items in that vector that are under 10 dollars and place them in another container?
(Multiple Choice)
4.8/5
(36)
Which of the following statements is true of a priority_queue?
(Multiple Choice)
4.8/5
(34)
Which of the following is a not a member function of queue?
(Multiple Choice)
4.7/5
(42)
Showing 1 - 20 of 56
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)