Exam 4: Procedural Abstraction and Functions That Return a Value
Exam 1: Introduction to Computer and C++ Programming56 Questions
Exam 2: C++ Basics57 Questions
Exam 3: More Flow of Control45 Questions
Exam 4: Procedural Abstraction and Functions That Return a Value53 Questions
Exam 5: Functions for All Sub Tasks54 Questions
Exam 6: Io Streams As an Introduction to Objects and Classes52 Questions
Exam 7: Arrays48 Questions
Exam 8: Strings and Vectors69 Questions
Exam 9: Pointers and Dynamic Arrays39 Questions
Exam 10: Defining Classes61 Questions
Exam 11: Friends, Overloaded Operators, and Arrays in Classes56 Questions
Exam 12: Separate Compilation and Namespaces41 Questions
Exam 13: Pointers and Linked Lists64 Questions
Exam 14: Recursion48 Questions
Exam 15: Inheritance53 Questions
Exam 16: Exception Handling47 Questions
Exam 17: Templates35 Questions
Exam 18: Standard Template Library59 Questions
Select questions type
The functions pow), sqrt), and fabs) are found in which include file?
(Multiple Choice)
4.8/5
(37)
variables that are declared outside of any function body or parameter list are considered global.
(True/False)
4.9/5
(43)
What is the value of x after the following code fragment executes?
Float x = 36.0;
X = sqrtx);
(Multiple Choice)
4.7/5
(37)
What is the value returned by the following function?
Int function)
{
Int value = 35;
Return value + 5;
Value += 10;
}
(Multiple Choice)
4.9/5
(41)
The absolute value function abs is located in the _________ library.
(Short Answer)
5.0/5
(51)
Which of the following functions is a properly overloaded function of the following?
Int doSomethingint first, float second);
(Multiple Choice)
4.7/5
(40)
In the following function declaration, the variable size is known as a _________________.
int myFunction int size);
(Short Answer)
4.9/5
(30)
The _________ of a variable is where that variable can be used.
(Short Answer)
5.0/5
(37)
A problem-solving approach that starts with the big problem and breaks it down into smaller pieces is called _________________.
(Short Answer)
4.9/5
(42)
What is the value of pow2,sqrt9.0)+ceil0.99)))? ______________
(Short Answer)
4.9/5
(36)
What is the value of i after the following function call?
//function definition
Int doSomethingint value)
{
Value = 35;
Return value;
Value = 13
}
//fragment of main program
Int i=0;
Cout << doSomethingi);
(Multiple Choice)
4.8/5
(37)
When the function below is called, the _____ of the actual parameters is passed to the function definition.
Double sqrtdouble value);
(Multiple Choice)
4.8/5
(37)
Showing 21 - 40 of 53
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)