Week 3 - Chapter 6 4) Contrast the following sets of terms:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 6 4) Contrast the following sets of terms: Object; class; instance Property; method; attribute Superclass; subclass Concrete class; abstract class A Class is general template they we use to create specific instances, or objects in the problem domain. There are two different general kinds of classes of interest during the analysis phase: concrete and abstract. An attribute of an analysis class represents a piece of information that is relevant to the description of the class within the application domain. Methods are converted from operations which are a behavior of an analysis class. The super class will contain the attributes and operations shared by a number of subclasses. The subclasses inherit the characteristics of the super class and may contain further attributes and operations that belong to each of themselves alone. Concrete classes are used to create objects, Abstract classes do not actually exist in the real world, and they are simply useful abstractions. Abstract class may be a generalization of multiple concrete classes that is useful for indicating common features/attributes/methods. 7) Draw relationships that described by the following business rules. Include the multiplicities for each relationship. A patient must be assigned to only one doctor and a doctor can have one or more patients. An employee has one phone extension, and a unique phone extension is assigned to an employee. A movie theater shows at least one movie, and a movie can be shown at up to four other movie theaters around town. A movie either has one star, two costars, or more than ten people starring together. A star must be in at least one movie. 9) For what is an association class used in a class diagram? Give an example of an association class that may be found in a class diagram that captures students and the courses that they have taken. A class diagram is a static model that shows the classes and the relationships among classes that remain constant in the system over time. The class diagram depicts classes, which include both
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
behaviors and states with the relationships between the classes. Users purchase something online. There is information about the order itself – when it occurs and the tracking number is received, for example that would be of interest to keep track of. 10) Give two examples of aggregation, generalization and association relationships. How is each type of association depicted on a class diagram? Aggregation represents a logical a-part-of relationship between multiple classes or a class and
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/26/2011 for the course IT 315 taught by Professor Terri during the Spring '11 term at College of Southern Nevada.

Page1 / 5

Week 3 - Chapter 6 4) Contrast the following sets of terms:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online