3140 EXAM Flashcards
In OOP, what is a proper noun?
An Object
In OOP, what are common nouns?
Classes
What can make a common noun represent an object?
Determiner (MY laptop)
In OOP, what is an adjective?
Attribute value (implying type)
In OOP, what does a plural noun suggest?
A collection of objects
In OOP, what three things could represent a collection of objects?
- A Container class
- A Table in a database
- Multiplicity relationship
In OOP, what are verbs?
Operations
In OOP, what is signified by “is a”
Inheritance
In OOP, what is signified by “Has a…Shares a”
Aggregation
As you move down a class hierarchy, the objects become _____ specialized?
More
How does a class specify which classes it inherits from?
base specification list
If the base class access specifier is omitted, what is the default?
Private
How many base classes can a derived class specifically initialize?
Only it’s direct base class
What 2 keywords can be used with virtual functions in a derived class?
- virtual
- override
What is a vtable?
Virtual Function Table