1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
-
Upload
annabelle-tyler -
Category
Documents
-
view
221 -
download
1
Transcript of 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
![Page 1: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/1.jpg)
1
System Analysis and Design Using UML
INSTRUCTOR:Jesmin Akhter
Lecturer, IIT, JU
![Page 2: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/2.jpg)
2
What is UML?
It is a Unified Modeling Language, which is mainly a collection of graphical notation that methods use to express the designs.
The UML is language for visualizing, specifying, constructing and documenting the artifacts of software system.
UML is visual modeling language for modeling systems.
![Page 3: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/3.jpg)
3
UML refers to:
UML things:
Class, component, node, relationship, package etc..
UML diagrams:
Use case diagram, interaction diagram, class diagram, State diagram, deployment diagram
![Page 4: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/4.jpg)
4
UML diagrams:
1. Use case diagram2. Class Diagram3. Behavioral diagrams
- State chart diagrams- Object diagram
- Activity diagrams- Interaction diagrams
- Sequence diagrams- Collaboration diagrams
4. Implementation diagrams- Component diagram- Deployment diagram
![Page 5: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/5.jpg)
5
Semantics of Diagrams:
Use case diagrams represent the functions of a system from the user’s point of view.
Sequence diagrams are a temporal representation of objects and their interactions.
Collaboration diagrams are a spatial representation of objects, links, and interactions.
Object diagrams represent objects and their relationships, and correspond to simplified collaboration diagrams that do not represent message broadcasts.
Class diagrams represent the static structure in terms of classes and relationships.
![Page 6: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/6.jpg)
6
Semantics of Diagrams:
Contd... State chart diagrams represent the behavior of a class in terms of states
Activity diagrams are to represent the parallel behavior of an operation as a set of actions.
Component diagrams represent the logical components of an application.
Deployment diagrams represent the deployment of components on particular pieces of hardware.
![Page 7: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/7.jpg)
7
What is USE CASE diagram?
A use case diagram establish the capability of the system as a whole.
Components of use case diagram:
Actor
Use case
System boundary
Relationship
Actor relationship
Semantic of the components is followed.
![Page 8: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/8.jpg)
8
ACTOR:
What is an actor?
An actor is some one or something that must interact with the system under development
UML notation for actor is stickman, shown below.
Customer Manager Cashier
![Page 9: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/9.jpg)
9
ACTOR:
More about an actor:
It is role a user plays with respect to system. Actors are not part of the system they represent anyone or
anything that must interact with the system. Actors carry out use cases and a single actor may perform more
than one use cases. Actors are determined by observing the direct uses of the
system,
![Page 10: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/10.jpg)
10
ACTOR:
Contd…
Those are responsible for its use and maintain as well as other systems that interact with the developed system.
An actor may
- input information to the system.
- receive information from the system.
- input to and out from the system.
![Page 11: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/11.jpg)
11
ACTOR:
How do we find the actor?
Ask following questions to find the actors:– Who uses the system?
– Who installs the system?
– Who Starts up the system?
– What other systems use this system?
– Who gets the information from the system?
– Who provides information to the system?
Actor is always external to the system. They are never part of the
system to be developed.
![Page 12: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/12.jpg)
12
ACTOR:
4-Categories of an actor:
Principle : Who uses the main system functions. Secondary : Who takes care of administration & maintenance. External h/w : The h/w devices which are part of application
domain and must be used. Other system: The other system with which the system must
interact.
![Page 13: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/13.jpg)
13
USE CASE:
What is USE case? A use case is a pattern of behavior, the system exhibits Each use case is a sequence of related transactions performed by an
actor and the system in dialogue. USE CASE is dialogue between an actor and the system. Examples:
Open new account Withdrawal of cash from ATM
![Page 14: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/14.jpg)
14
USE CASE:
Contd…
A use case must deliver something of value to an actor. The use cases may be decomposed into other use cases. Use cases also present a good vehicle for project planning.
![Page 15: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/15.jpg)
15
USE CASE:
USE CASE documentation example: The following use case describes the process of opening a new
account in the bank.
Use case :Open new account
Actors :Customer, Cashier, Manager
Purpose :Like to have new saving account.
Description :A customer arrives in the bank to open the new
account. Customer requests for the new account
form, fill the same and submits, along with the
minimal deposit. At the end of complete successful
process customer receives the passbook.
Type :Primary use case.
![Page 16: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/16.jpg)
16
SYSTEM BOUNDARY:
What is System Boundary?
It is shown as a rectangle.
It helps to identify what is external verses internal, and what the
responsibilities of the system are.
The external environment is represented only by actors.
![Page 17: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/17.jpg)
17
RELATIONSHIP
What is Relationship?
Relationship between use case and actor.
Communicates Relationship between two use cases
Extends
Uses Notation used to show the relationships:
<< >>
![Page 18: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/18.jpg)
18
RELATIONSHIP:
Relationship between use case and actor is often referred as “communicates” .
Relationship between two use cases is refereed as either uses or extends.
USES: - Multiple use cases share a piece of same functionality. - This functionality is placed in a separate use case rather than
documenting in every use case that needs it.
![Page 19: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/19.jpg)
19
RELATIONSHIP:
Contd... A uses relationship shows behavior that is common to one or
more use cases.
EXTENDS: It is used to show optional behavior, which is required only
under certain condition.
![Page 20: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/20.jpg)
20
USE CASE diagram:
Use case diagram for the shown functionality.
Balance status report
Withdraw cash
Validation
uses
CustomerClerk
Manager
extends
ATM
![Page 21: 1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.](https://reader035.fdocuments.us/reader035/viewer/2022062721/56649f1d5503460f94c3377c/html5/thumbnails/21.jpg)
Use case diagram for ATM
21
Transfer fund
View balance
Transfer funds
Deposit fundsCustomer
Withdraw money
Bank officer
Change pin
Make payment Client