Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

Template classes that have already been written to perform common class tasks are called _____
A:
container classes
B:
receptacle classes
C:
repository classes
D:
alembic classes
Answer: A
No answer description is available. Let's discuss.
Inheritance occurs when a class adopts all the traits of _________
A:
an object
B:
a parent class
C:
a variable
D:
a function
Answer: B
No answer description is available. Let's discuss.
Assume that a program contains a programmer-defined void function. When C++ encounters the function's closing brace (}), C++ returns to the statement _____
A:
immediately above the statement that called the function
B:
that called the function
C:
immediately below the statement that called the function
D:
Answer: C
No answer description is available. Let's discuss.
When accessing a structure member, the identifier to the left of the dot operator is the name of
A:
a structure member
B:
a structure tag
C:
a structure variable
D:
the keyword struct
Answer: C
No answer description is available. Let's discuss.
Files whose names end in .h are called _____ files
A:
handy
B:
header
C:
helper
D:
helping
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz