1. What is object-oriented analysis, and what are some advantages of this method?
Object-oriented analysis is a style of analysis that is created on concepts of object, class, inheritance and methods. Some benefits can be that objects can symbolize people, things in a system more accurately and objects can be changed into reusable codes and components.
5. Define encapsulation and explain the benefits it provides.
Encapsulation means that all data and methods are self-contained within an object. Some uses are it prevents changes to an objects internal code by another object or process by limiting access to internal processes. It also allows objects to be used as a sectional component anywhere in the system because objects send and receive messages but do not change the internal processes of other objects.
6. Define polymorphism and provide three examples.
Polymorphism means one kind of object can look like another kind of object.
Some examples: The message “Eat” could have three different meanings:
Parent: Time to cook dinner
Child: Are you hungry?
Neighbor: Time to go home
9. Define a use case and a use case diagram and prepare a sample of each.
Use cases are steps in a specific business function or process in UML (Unified Modeling Language).
MOTHER-ACTOR USE CASE
10. Define the term black box and explain why it is an important concept in object-oriented analysis.
Black box theory is an example of encapsulation to show how changes can be generated inside an object without identifying how the changes must be carried out. Viewing objects as black boxes is important to object-oriented analysis because this kind of analysis does not see data and processes as separate components as structured analysis does.
SCR Associates Online Case
Session 6: Object Modeling
Tasks
1. I need to review Jesse’s e-mail message regarding object modeling and the JAD session summary. I need to identify possible use cases and actors, and create a use case diagram for the TIMS system.
Students – Actor
Instructors - Actor
Corporate Clients - Actor
Training Administrator - Actor
Course Listings
Student TIMS
Name: Add New Student
Actor: Student
Description: Describes process used to add a student to TIMS system
Successful completion: 1. Instructor checks Course
2. Instructor notifies student
3. Course is open and student pays
4. Instructor registers student
Alternative None
Precondition: Student requests course
Post-condition: Student enrolled in course and fees have been paid
Assumptions: None
Instructor TIMS
Name: Add Instructor
Actor: Instructor
Description: Describes process to add Instructor to TIMS system
Successful completion: 1. Instructor checks course listings
2. Instructor confirms courses teaching
3. Course made available on-line
4. Instructor receives enrollment information
Alternative: None
Precondition: None
Post condition:
Assumptions: Instructor is scheduled to teach course
None
She wants me to create a model of the use case that shows how students register. She also wants to see a class diagram.
Jesse asked me to create a state transition diagram that describes typical student states and how they change based on certain actions and events. She said to include a brief cover memo.