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
A variable that can have values only in the range 0 to 65535 is a:
(Multiple Choice)
4.7/5
(31)
[C++11] Which of the following statements about scoped enumerations is false?
(Multiple Choice)
4.9/5
(34)
Which of the following C++ Standard Library headers does not contain a C++ Standard Library container class?
(Multiple Choice)
4.8/5
(34)
Call-by-reference can achieve the security of call-by-value when:
(Multiple Choice)
4.8/5
(28)
Assuming the following pseudocode for the Fibonacci series, what is the value of the 5th Fibonacci number (fibonacci (5))? fibonacci(0) = 0
Fibonacci(1) = 1
Fibonacci(n) = fibonacci(n - 1) + fibonacci(n - 2)
(Multiple Choice)
4.8/5
(40)
To make numeric literals more readable, C++14 allows you to insert between groups of digits in numeric literals the digit separator ' (a single-quote character).
(Multiple Choice)
4.7/5
(38)
Given the following function template template <typename T>
T maximum(T value1, T value2)
{
If (value1 > value2) {
Return value1;
}
Else {
Return value2;
}
}
What would be returned by the following two function calls?
Maximum(2, 5);
Maximum(2.3, 5.2);
(Multiple Choice)
4.8/5
(33)
If a set of functions have the same program logic and operations and differ only in the data type(s) each receives as argument(s) then a(n) __________ should be used.
(Multiple Choice)
4.9/5
(38)
Using the following function definition, the parameter list is represented by: A B (C)
{
D
}
(Multiple Choice)
4.9/5
(35)
An activation record will be popped off the function call stack whenever:
(Multiple Choice)
4.8/5
(39)
Showing 21 - 40 of 48
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)