Exam 6: Functions and an Introduction to Recursion
Exam 1: Introduction to Computers and C++32 Questions
Exam 2: Introduction to C Programming; Inputoutput and Operators22 Questions
Exam 3: Introduction to Classes, Objects and Strings33 Questions
Exam 4: Control Statements, Assignment, and Operators29 Questions
Exam 5: Control Statements, Logical Operators31 Questions
Exam 6: Functions and an Introduction to Recursion48 Questions
Exam 7: Class Templates Array and Vector; Catching Exceptions18 Questions
Exam 8: Pointers and Pointer-Based Strings32 Questions
Exam 9: Classes: a Deeper Look; Throwing Exceptions35 Questions
Exam 10: Operator Overloading; String and Array Objects34 Questions
Exam 11: Object-Oriented Programming: Inheritance17 Questions
Exam 12: Object-Oriented Programming: Polymorphism27 Questions
Exam 13: Stream Inputoutput: a Deeper Look34 Questions
Exam 14: File Processing19 Questions
Exam 15: Standard Library Containers and Iterators33 Questions
Exam 16: Standard Library Algorithms27 Questions
Exam 17: Exception Handling: a Deeper Look20 Questions
Exam 18: Introduction to Custom Templates9 Questions
Exam 19: Custom Templatized Data Structures17 Questions
Exam 20: Searching and Sorting10 Questions
Exam 21: Class String and String Stream Processing28 Questions
Exam 22: Bits, Characters, C Strings and Structs30 Questions
Exam 23: Other Topics22 Questions
Exam 24: C++11 Additional Features56 Questions
Select questions type
Which of the following expressions returns the trigonometric sine of x?
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
A
If the function int volume(int x = 1, int y = 1, int z = 1); is called by the expression volume(3), how many default arguments are used?
Free
(Multiple Choice)
4.9/5
(31)
Correct Answer:
C
The argument list of a function call must match, or be consistent with, the parameter list of the called function in all of the following details, except:
(Multiple Choice)
4.9/5
(29)
For which of the following operators does C++ not specify the order of evaluation of its operands?
(Multiple Choice)
4.8/5
(38)
Converting from type ________ to type ________ will result in the loss of data.
(Multiple Choice)
4.9/5
(35)
What value does function mystery return when called with a value of 4? int mystery (int number)
{
If (number <= 1) {
Return 1;
}
Else {
Return number * mystery(number - 1);
}
}
(Multiple Choice)
4.8/5
(37)
When an argument is passed-by-value, changes in the called function __________ affect the original variable's value; when an argument is passed call-by-reference, changes in the called function __________ affect the original variable's value.
(Multiple Choice)
4.9/5
(35)
Which of the following does the C++ compiler not examine in order to select the proper overloaded function to call?
(Multiple Choice)
4.9/5
(32)
C++11's unsigned long long int type (which can be abbreviated as unsigned long long) enables you to store values in at least ________, which can hold numbers as large as 18,446,744,073,709,551,615.
(Multiple Choice)
4.8/5
(32)
Showing 1 - 20 of 48
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)