Exam 18: Class String and String Stream Processing
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 would not return string::npos when used on the string s which contains "rack":
Free
(Multiple Choice)
4.9/5
(29)
Correct Answer:
D
Which of the following is not an argument of the assign member function?
Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
C
Which of the following does not apply to an istringstream object?
Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
C
The total number of elements that can be stored in a string without increasing its current amount of allocated memory is called its:
(Multiple Choice)
4.8/5
(34)
Class string has member function __________ to interchange the data stored in two string objects
(Multiple Choice)
4.8/5
(34)
Which function changes the actual string stored in the string object i.e., is not a const member function)?
(Multiple Choice)
4.8/5
(34)
What type of value is returned by the overloaded equality and relational operators for strings?
(Multiple Choice)
4.9/5
(37)
All of the following are true of an ostringstream object except that:
(Multiple Choice)
4.9/5
(36)
What is the code for a loop that iterates from the end of a string toward the beginning?
(Multiple Choice)
4.8/5
(37)
The capabilities of inputting and outputting strings in memory are known as:
(Multiple Choice)
4.8/5
(36)
Which of the following cannot be used to concatenate strings?
(Multiple Choice)
4.9/5
(38)
Given the strings defined below, which statement will not return 0?
String s1 = "Mighty Mouse";
String s2 = "Mickey Mouse";
(Multiple Choice)
4.7/5
(29)
Showing 1 - 20 of 26
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)