CPlusOOP
SiteMap
OO Analysis
Problem Analysis
OO Programming
«Prev
Next»
OO-Design
Detailed Design
OO Programming
Procedural Programming
Object Oriented Approach
Design Process
Eliminate Classes Problem Domain
OO Design Conclusion
Object Oriented Concepts
Responsibilities Collaborators
Video Store Example
OOA Benefits Encapsulation
Structured Programming
Benefits OOA
OO Conclusion
Object Oriented Approach
OOA Simpler Analysis
OOA Enables Reuse
Simplifies Team Work
OOP Conclusion
User Defined Data Types
Classes Objects
Class Data Type
Choosing Class Attributes
Object Instance
Class Object Difference
Class Composition
When to use Composition
Build Complex Objects
Drawing Class Diagram
Class Construction Conclusion
Choosing Classes when using OOD - Quiz
Each question is worth one point. Select the best answer for each question.
1.
In object-oriented program design, what are the highest-level elements?
Please select the best answer.
A.
Procedures
B.
Methods
C.
Classes
D.
Global variables
2.
Why might
CustomerArray
be a poor choice for a class name?
Please select the best answer.
A.
The name does not contain a verb.
B.
The name describes a computer concept.
C.
The name contains a second uppercase letter in the middle.
D.
The name is two words put together instead of a single word.
3.
What is one defining characteristic of procedural, or structured, programming?
Please select the best answer.
A.
Top-down design
B.
Defining classes
C.
Identifying the problem domain
D.
Determining interaction of elements in the system
4.
What is one reason to eliminate a class from the problem domain?
Please select the best answer.
A.
The class pulls together a number of related pieces of information.
B.
The class is identical to another class.
C.
The class cannot be expressed with a short one-word name.
D.
The class represents an entity that is just a small part of the problem domain.
Correct answers:
Your Score: 0
Submit
Quiz Explanation