Exam 3: Function Basics
Exam 1: C++ Basics37 Questions
Exam 2: Flow of Control33 Questions
Exam 3: Function Basics30 Questions
Exam 4: Parameters and Overloading31 Questions
Exam 5: Arrays32 Questions
Exam 6: Structures and Classes37 Questions
Exam 7: Constructors and Other Tools32 Questions
Exam 8: Operator Overloading,friends,and References31 Questions
Exam 9: Strings37 Questions
Exam 10: Pointers and Dynamic Arrays29 Questions
Exam 11: Separate Compilation and Namespaces35 Questions
Exam 12: Streams and File IO43 Questions
Exam 13: Recursion40 Questions
Exam 14: Inheritance30 Questions
Exam 15: Polymorphism and Virtual Functions34 Questions
Exam 16: Templates27 Questions
Exam 17: Linked Data Structures30 Questions
Exam 18: Exception Handling29 Questions
Exam 19: Standard Template Library46 Questions
Exam 20: Patterns and Uml22 Questions
Select questions type
Write a prototype and prototype comments for the sqrt library function.
(Essay)
4.8/5
(47)
Consider two blocks,one within another.If an identifier is declared as a variable in the inmost of these two blocks,one can access this variable from the outer block.
(True/False)
4.9/5
(42)
It is legal to replace the prototype
double totalCost(int numberParam,double priceParam);
with the more terse,alternate form
double totalCost(int,double);
(True/False)
4.8/5
(41)
Calling something a black box is a figure of speech that conveys the idea that you cannot see inside.You know its behavior and interface but not its implementation.
(True/False)
4.7/5
(36)
In your own words discuss similarities and differences between a function and a small program.
(Essay)
5.0/5
(35)
What do the calls to exit(…)do? When exit(0)and exit(1)are called,what receives these arguments and what is done with them?
(Multiple Choice)
4.7/5
(36)
A variable declared outside any function is said to be a local variable.
(True/False)
4.9/5
(35)
Showing 21 - 30 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)