16 Mark Questions OOAD
16 Mark Questions OOAD
16 Mark Questions OOAD
11. Demonstrate the guidelines for finding use cases and developing effective
documentation?
• Guidelines for use cases.
For each user, find the tasks and functions.
Name the use cases.
Describe the use cases briefly.
Isolate users from actors.
Isolate actors from other actors.
Isolate use cases.
• Guidelines for effective documentation.
Common cover.
80 – 20 rule.
Familiar vocabulary.
Make the document as short as possible.
Organize the document.
15. Give a detailed note on Super-sub class relationship and a-part-of relationship?
• Super Sub class relationship.
Also known as generalization hierarchy.
Allows objects to be built from other objects.
• Guidelines for identifying Super-sub relationship.
Top – down.
Bottom – up.
Reusability.
Multiple inheritances.
• A-part of relationship.
Also known as aggregation.
Represents a situation where a class contains several component classes.
• Properties.
Transitivity: A->B, B->C => A->C.
Antisymmetry: A is a part of B, and then B is not a Part of A.
• Patterns.
Assembly.
Container.
Collection-member.
17. State the differences between OODBMS and traditional database. Describe object –
relational systems?
• OODBMS
Active objects.
Explicit relationships.
Has object identity and is persistent.
• Traditional database.
Passive records.
Implicit representations.
Does not have object identity and is not persistent.
• Object – relational systems
Reverse engineering.
Forward engineering.
Object relation mapping.
Table class mapping.
Table multiple class mapping.
Table inherited classes mapping.
Tables inherited classes mapping.
Keys for instance navigation.
18. Explain the steps involved in designing the access layer classes?
• Main idea – create a set of classes that know how to communicate with the places
where data reside.
• Provides a link between the business or view objects and the data storage.
• Access layer performs two tasks.
Translate the request
Translate the results.
• Benefits.
Provides easy migration of developing technologies.
Able to address the modest needs of the two tier architecture.
• The process.
Access class – interacts with a non-human actor.
The steps involved are:
° Mirror the business class package.
° Define relationships.
° Simplify classes and relationships.
° Iterate and refine.
The steps involved in designing with persistent attributes are:
° Determine if the class has persistent data.
° Mirror the business class package.
° Define relationships.
° Simplify classes and relationships.
° Iterate and refine.
19. Explain the steps involved in designing the view layer classes?
• Responsible for two major aspects – i/p, o/p.
• Four major activities.
Macro level UI design process.
Micro level design process.
Testing usability and user satisfaction.
Refine and iterate.
20. Describe the purpose of view layer interface?
• Forms and data entry windows
Guidelines.
• Dialog boxes
Guidelines.
• Application or main windows
Guidelines.
22. Describe test cases and the impacts of object orientation on testing?
• Construct some test i/p cases and mention the expected output.
• Compare the output with the expected outcome
• Objectives
Testing
Good test case
Successful test case.
• Guidelines
• Impact of object orientation
Impact of inheritance on testing
Reusability of tests.