Soal 1-4

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

1.

Describe to a businessperson the multiplicity of a relationship between two classes

When a relationship exists between classes, the multiplicity documents how many objects may or
must be associated between these classes in the form of minimum and maximum numbers. In
general, multiplicity reflects business rules regarding the nature of these relationships among classes

2. Why are assumptions important to a structural model?

The process of developing a structural model involves much learning about the increasing levels of
details about a new system. In many cases, the analyst must continue to progress in developing the
model, even without knowing all of the business rules. Sometimes the firm may not have
encountered situations that cannot be handled informally. Assumptions are important for continuing
to work when face with uncertainly. However, developer risks hhaving to do a great deal of rework if
the assumptions prove wrong. Therefore, the developer should check these assumptions at the
earliest possible occasion with users and/or sponsors of the project.

3. What is an association class?

These are classes formed when a relationship itself has associated properties, especially when its
classes share a many-to-may relationship. In these cases, a class is formed, called an association class
that has its own attributes and operations.

4. Contrast the following sets of terms: object, class, method, attribute, superclass, subclass,
concrete class, abstract class.

1. Object; class; instance


2. Property; method; attribute
3. Super class; subclass
4. Concrete class; abstract class

A class ia general template that we use to create specific instances, or objects, in the application
domain. There are two different general kinds of classess of interest during the analysis phases:
concrete and abstract.

An attribute represents a piece of information relevant to the instance/class in the domain of the
particular application. Method is generally used as another name for operation. Therefore, a method
is something that the object can do, a task that can be performed. The term property is not
presented as far as I can tell in this chapter, but should be something of a synonym for attribute.
The super class will contain the attributes and operations shared by a number of subclasses. The
subclasses inherit the characteristic of the super class and may contain further attributes and
operations that belong to each of themselves alone.

A concrete class is a template actually used to create objects. An abstract class may be a
generalizations of multiple concrete classes that is useful for indicating common
features/attributes/methods for the individual concrete classes, but is not used to generate objects
itself

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy