Computer Science - Object Oriented Programming Using C++

16.
The C++ operator used to allocate memory is _________
mem
allocate
new
create
Answer: Option
Explanation:
No answer description is available. Let's discuss.

17.
Assume that your version of C++ can recognize only the first 8 characters of an identifier name, through identifier names may be arbitrarily long. Which of the following identifier names is not distinct:
list, list2
address, Address
identifier_l, identifier_2
answer, ANSWER
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

18.
Object is to class as _____
library is to book
mother is to daughter
Plato is to philosopher
president is to Lincoln
Answer: Option
Explanation:
No answer description is available. Let's discuss.

19.
A derived class may also be called a
subclass
super class
parent class
base class
Answer: Option
Explanation:
No answer description is available. Let's discuss.

20.
The C++ keyword for declaring a variable that contains a decimal point is _____
dec
decimal
float
floater
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.