computer-science-object-oriented-programming-using-cpp Related Question Answers

1. To expose a data member to the program, you must declare the data member in the _____ section of the class






2. Evaluate the following expression: 3 >6&&7>4



3. Which of the following are valid characters for a numeric literal constant?






4. A function that changes the state of the cout object is called a(n) _____





5. A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?





6. When the compiler cannot differentiate between two overloaded constructors, they are called





7. Some Streams work with input, and some with output



8. If you design a class that needs special initialization tasks, you will want to design a(n) _____





9. Which type of statement does not occur in computer programs?





10. The newline character is always included between






11. To be called object-oriented, a programming language must allow





12. A function that returns no values to the program that calls it is _____





13. The keyword used to define a structure is _____





14. If container classes are carefully constructed, then these tools are available to work with structures that are not ______





15. Header files often have the file extension _____





16. The #ifndef directive tests to see whether ________





17. The generic type in a template function




18. When a child class function is called, the compiler looks first for a matching function name in the _____





19. A function that is called automatically each time an object is destroyed is a





20. If you create an instantiation of a class template with an int, and then create a second instantiation with a double, then





21. The step-by-step instructions that solve a problem are called _____





22. The type to be used in an instantiation of a class template follows ________





23. Which of the following statements allows the user to enter data at the keyboard?






24. When you pass a variable _____, C++ passes only the contents of the variable to the receiving function





25. The best form of coupling is _____





Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution