Exam 22: Bits, Characters, C Strings and Structs
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
Memcmp would return ___________ for the call memcmp"Hi, how are you?", "Hi, how are things?", 6).
Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
C
Which function would be the most useful for determining if a certain word is contained in a string representing a sentence?
Free
(Multiple Choice)
5.0/5
(34)
Correct Answer:
C
The ___________ function allows characters of one part of a string to be copied into another, overlapping part of the same string.
(Multiple Choice)
4.8/5
(43)
Which is the proper way to create an array of structure variables of type Data?
(Multiple Choice)
4.9/5
(35)
To change the string "ABCDEFGHI" to "aaaaaFGHI" you would use the _________ function.
(Multiple Choice)
4.7/5
(41)
Let x be an unsigned int on a machine with 4-byte unsigned ints. What effect does
X>>=1;
X<<=1;
Have?
(Multiple Choice)
4.7/5
(37)
Let Bit1 = Bit2 = 1. Which of the following does not have the same result as the others?
(Multiple Choice)
4.8/5
(33)
What is the output of the following statement?
Cout << strspn"Cows like to moo.", "Ceik losw");
(Multiple Choice)
4.9/5
(41)
The functions of the character-handling library typically manipulate characters as:
(Multiple Choice)
4.7/5
(43)
Structure variable declarations can be incorporated into a structure definition by placing a comma-separated list of variable names:
(Multiple Choice)
4.9/5
(43)
Showing 1 - 20 of 26
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)