Exam 7: Pointers and Pointer-Based Strings
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 best describes the array name n in the declaration int n[10];?
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
C
What does the following statement declare?
Int *countPtr, count;
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
B
After the ith iteration of the selection sort:
Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
C
To follow the principle of least privilege, the selectionSort function should receive the array to be sorted as:
(Multiple Choice)
4.9/5
(40)
A function that prints a string by using pointer arithmetic such as ++ptr to output each character should have a parameter that is:
(Multiple Choice)
4.8/5
(41)
getline superstring, 30 );
Is equivalent to which of the following?
(Multiple Choice)
4.8/5
(33)
What method should be used to pass an array to a function that does not modify the array and only looks at it using array subscript notation:
(Multiple Choice)
4.8/5
(40)
A function that modifies an array by using pointer arithmetic such as ++ptr to process every value should have a parameter that is:
(Multiple Choice)
4.8/5
(44)
Assuming that t is an array and tPtr is a pointer to that array, which expression refers to the address of element 3 of the array?
(Multiple Choice)
4.8/5
(36)
Which of the following is not true of pointers to functions?
(Multiple Choice)
4.8/5
(42)
When a compiler encounters a function parameter for a single-subscripted array of the form int a[], it converts the parameter to:
(Multiple Choice)
4.9/5
(32)
Which of the following gives the number of elements in the array int r[ 10 ]?
(Multiple Choice)
4.7/5
(43)
Showing 1 - 20 of 28
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)