Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

A derived class may also be called a
A:
subclass
B:
super class
C:
parent class
D:
base class
Answer: A
No answer description is available. Let's discuss.
Object is to class as _____
A:
library is to book
B:
mother is to daughter
C:
Plato is to philosopher
D:
president is to Lincoln
Answer: C
No answer description is available. Let's discuss.
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:
A:
list, list2
B:
address, Address
C:
identifier_l, identifier_2
D:
answer, ANSWER
Answer: C
No answer description is available. Let's discuss.
The C++ operator used to allocate memory is _________
A:
mem
B:
allocate
C:
new
D:
create
Answer: C
No answer description is available. Let's discuss.
The most efficient data type for a variable that stores the letter C is the _____ data type
A:
Character
B:
Double
C:
Float
D:
Long Integer
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz