Computer Science - Object Oriented Programming Using C++

1.
If no constructors can specified for a derived class, objects of the derived class will use the constructors in the base class
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.

2.
The get() function returns _____
a character
void
a reference to the object that invoked it
a copy of the object that invoked it
Answer: Option
Explanation:
No answer description is available. Let's discuss.

3.
The most efficient data type for a variable that the number 20000 is the _____ data type
Character
Double
Float
Long Integer
Short Integer
Answer: Option
Explanation:
No answer description is available. Let's discuss.

4.
The number 5.5e3 is a _____ constant
character literal
named literal
numeric literal
string literal
Answer: Option
Explanation:
No answer description is available. Let's discuss.

5.
The compiler determines the type used in a template function via ___________
the name of the function
the first variable declared within the function
the type of the argument passed to the function
the type of the value returned from the function
Answer: Option
Explanation:
No answer description is available. Let's discuss.