Exam 4: Procedural Abstraction and Functions That Return a Value
Exam 1: Introduction to Computer and C Programming55 Questions
Exam 2: C++ Basics54 Questions
Exam 3: More Flow of Control44 Questions
Exam 4: Procedural Abstraction and Functions That Return a Value51 Questions
Exam 5: Functions for All Sub Tasks53 Questions
Exam 6: Io Streams As an Introduction to Objects and Classes51 Questions
Exam 7: Arrays34 Questions
Exam 8: Strings and Vectors63 Questions
Exam 9: Pointers and Dynamic Arrays40 Questions
Exam 10: Defining Classes50 Questions
Exam 11: Friends, overloaded Operators, and Arrays in Classes49 Questions
Exam 12: Separate Compilation and Namespaces38 Questions
Exam 13: Pointers and Linked Lists51 Questions
Exam 14: Recursion43 Questions
Exam 15: Inheritance53 Questions
Exam 16: Exception Handling47 Questions
Exam 17: Templates33 Questions
Exam 18: Standard Template Library57 Questions
Select questions type
What is the value of x after the following code fragment executes?
Float x = 36.0;
X = sqrtx);
(Multiple Choice)
4.9/5
(35)
If you need to write a function that will compute the cost of some candy,where each piece costs 25 cents,which would be an appropriate function declaration?
(Multiple Choice)
4.8/5
(34)
What is the output of the following program fragment?
Cout << static_cast<double>3)/4 << endl;
(Multiple Choice)
4.8/5
(29)
What is the output of the following code fragement?
Double size,volume=16.0;
Size = sqrtsqrtvolume))/ 3;
Cout.setfios::fixed)
Cout.setfios::showpoint);
Cout.precision2);
Cout << size;
(Multiple Choice)
4.8/5
(40)
the parameters listed in the function declaration are considered global variables
(True/False)
4.8/5
(33)
What is the output of the following program fragment?
Cout << static_cast<float>3/4)<< endl;
(Multiple Choice)
4.8/5
(31)
Write the code to convert the value in an integer variable named count to a double._____________________.
(Short Answer)
4.8/5
(32)
A problem-solving approach that starts with the big problem and breaks it down into smaller pieces is called _________________.
(Short Answer)
4.8/5
(43)
Showing 41 - 51 of 51
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)