SlideShare a Scribd company logo
1 of 68
UNIT I
UNIFIED PROCESS AND USE
CASE DIAGRAMS
Introduction to OOAD - UML - Unified Process Iterative and
Evolutionary Development - UP Phases - UP Disciplines - UP
Development Case - Case Study: The NextGen POS System. Inception
- Requirements - Use Case : Actors, Scenarios - Use-Case Model -
Kinds of actors - Use Case Formats - Find Use Cases - Use Case
Diagrams - Work with Use Cases in Iterative Methods - Relating Use
Cases.
1`
 Object-oriented analysis and design (OOAD) is a popular
technical approach for analyzing and designing an
application, system, or business by applying object-
oriented programming, as well as using visual modeling
throughout the development life cycles to foster better
stakeholder communication and product quality
A software development methodology is a series of
processes like
1. System Analysis
2. Modeling
3. Design
4. Implementation
5. Testing
6. Maintenance
There are two orthogonal views of software development.
1. Traditional Technique – focuses on data and functions.
2. Object Oriented methodologies – focuses on objects that
combines data and functionality.
Object oriented systems development develop software by
building objects that can be easily replaced, modified and
reused
Object Oriented systems are
•Easier to adapt to changes
•Easier to maintain
•Code reuse
•Creates modules of functionality
 Analysis is the process of investigation of the
problem and the requirements than finding its
solution.
Analysis is classified as
1.Requirement analysis
2.Object oriented analysis
Ex: Flight information system.
• Design is the process of finding a conceptual solution that
fulfills the requirements than implementing it.
• Design is classified into
1. Database design
2. Object oriented design
• EX: Attribute – Tail number
• Method – get flight history
 The key steps of analysis and design include
1. Define use case
2. Define domain model
3. Define interaction diagrams
4. Define design class diagrams
 These key ideas are expressed with “dice game”-> A
software simulates a player rolling two dice.
 If the total is “seven‟, they win; otherwise they lose.
 Requirement analysis consists of use cases scenarios of
how people use the application.
 In the dice game, the use cases include
Play a Dice game
Player rolls dice
System gives results
Player wins if dice value totals seven
Otherwise loses
Object oriented analysis describes the
problem domain by identifying
 Concept
 Attributes
 Associations
Partial Domain Model of dice game
 In Object Oriented Design, software objects are defined
with their responsibilities and collaborations.
 It is the flow of messages between software objects.
 Example: In dice game, the player rolls the dice in real
world.
Sequence Diagram for dice Game
Partial design class diagram
 Software development process is an approach to i) Build, ii)
Deploy and iii) Maintain the software
 The Unified Process (UP) is a software development process
mainly for building object oriented systems.
• iterative process
• provides an example structure for how to do Object
Oriented Analysis and Design
• flexible
• lightweight and agile approach.
There are four major phases of UP
1. Inception
2. Elaboration
3. Construction
4. Transition
Inception is a feasibility phase where enough investigation
is done to support a decision to continue or stop
• Approximate vision
• Business scope
• Vision
• Scope
• Estimates
 Architecture is iteratively implemented. High risk
issues are mitigated.
Elaboration includes
• Refined vision
• Iterative implementation of the core architecture
• Resolution of high risks
• Identification of most requirements and scope
• Estimates
 Iterative implementation of the remaining lower rise and
easier elements
 Preparation for deployment
Transition
 Test
 Deployment
• UML is expanded as “UNIFIED MODELING LANGUAGE”
• Visual language for specifying, constructing and
documenting
• UML as the defacto standard diagramming notation for
drawing or presenting pictures related to software
• i.e., Object Oriented Software
 Each diagram is just a view of part of the system
 Together, all diagrams provides a complete picture
Underlying System
Model
• UML as sketch
Informal and incomplete diagrams are created to
explore difficult parts of the problem or solutions.
• UML as blue print
A UML tool reads the source and generates UML class,
sequence and package diagrams
• UML as programming language
To generate C/Java code from UML diagrams
Executable code is automatically generated
It is still under development for usability.
• UML describes raw diagrams like
- Class diagrams
- Sequence diagrams
 In three different perspectives
- Conceptual
- Specification (software )
- Implementation (software )
• Conceptual- Diagrams interpret things in a situation
of the real world or domain of interest.
• Specification (Software)- perspective
software abstracted or components with
specification and interfaces
• Implementation perspective -The diagrams describes
software implementations in a particular technology
like Java.
 Use case is one way of representing system
functionality
• Use case refers to
• A system’s behavior (functionality)
• A set of activities that produce some output
 Use cases define the outside (actors) and inside (use
case) of the system’s behavior.
 Use case name can be placed inside the ellipse.
• The relationship shown in use case diagram
are:
1.Communication (connecting the actor symbol to
the use case symbol with a solid path )
2.Uses (generalization arrow from the use cases )
3.Extends (we have one use cases similar to
another )
1) Customer browser through catalog and selects items to
buy.
2) Customer goes to check out.
3) Customer fills in shipping information (address; next-day
or 3-day delivery)
4) System presents full pricing information including
shipping.
5) Customer fills in credit card information
6) System authorizes purchase
7) System confirms sale immediately
8) System sends confirming email to customer
 1. include
-It is a directed relationship between two use cases
- indicates a use case that is used by another use case
- X << includes >> Y indicates that the process of doing X
always involves doing Y at least once
<< include >>
X Y
2. Use case Generalization
• one use case that is similar to another use cases
but does a bit more then we use, use case
generalization
3. Extend
• extend is similar to generalization but with more
rules to it.
• Two different types of use case are there,
• System Use Cases
• Business Use Cases
The use cases also influence
1. Analysis
2. Design
3. Implementation
4. Project management
5. Test artifacts
 Actors- A person (identified by role) Computer
system or organization is called an actor
 Scenario -A scenario is a specific sequence of actions
and interactions between actors and the system.
Example :
1. Scenario of successfully purchasing items with
cash
2. Scenario of failing to purchase items because of
credit payment denial
 Use case is a collection of related success and
failure scenarios that describes an actor using a
system to support a goal
Example :
 A customer arrives at a shop to return items
 The cashier uses POS(point of sale) system and
records returned items.
 A use-case model is a model of how different
types of users interact with the system to
solve a problem
 A use-case model consists of a number of
model elements. The most important model
elements are: use cases, actors
 Use Cases are text documents and not
diagrams.
Three kinds of Actors
 Primary actor
It has user goals fulfilled by using services of
SUD(system under discussion )EX: Cashier
 Supporting actor
It provides services to SUD(system under
discussion )
EX: Automated payment authorization
 Offstage actor- It has an interest in the
behavior of use cases but not primary or
supporting EX: government tax agency.
There are different formats for use cases like
• Brief
• Casual
• Fully dressed
• One paragraph summary of main success
scenario.
• It is written during early requirements analysis
• It can be written in a few minutes.
• Ex: Process sale
• Informal paragraph format
• It involves multiple paragraphs that cover
various scenarios
Fully dressed
• Detailed steps are written.
 More detailed and structured style is given in
fully dressed format.
 During the requirement analysis, 10% of the
critical use cases are written in this format.
 Many templates are available for detailed use
cases
Use case section Comment
Use Case name Start with a verb
Scope System under design
Level “user-goal” or “subfunction”
Primary Actor Calls on the system to deliver its services
Stakeholders & interest Who cares about use case? What do they want?
Preconditions What must be true on start, and worth telling the reader?
Success Guarantee What must be true on successful completion, and worth telling
the reader.
Main Success scenario A typical, unconditional happy path scenario of success.
Extensions Alternate scenarios of success or failure
Special requirements Related non-functional requirements
Technology and data variations
list
Varying input methods and data formats
Frequency of occurrence Influences investigation, testing and timing of implementation
 Cashier: Wants accurate, fast entry, and no
payment errors, as cash drawer shortages are
deducted from his/her salary.
 Salesperson: Wants sales commissions
updated
 Customer: Wants purchase and fast service
with minimal effort. Wants easily visible
display of entered items and prices. Wants
proof of purchase to support returns
 Manager: Wants to be able to quickly perform
override operations, and easily debug Cashier
problems.
 Government Tax Agencies: Want to collect tax
from every sale. May be multiple agencies, such
as national, state, and county.
 Payment Authorization Service: Wants to receive
digital authorization requests in the correct
format and protocol. Wants to accurately
account for their payables to the store.
 Company: Wants to accurately record
transactions and satisfy customer interests.
Wants to ensure that Payment Authorization
Service payment receivables are recorded.
Wants some fault tolerance to allow sales
capture even if server components (e.g.,
remote credit validation) are unavailable.
Wants automatic and fast update of
Preconditions: Cashier is identified and
authenticated.
Success Guarantee (or Postconditions):
Sale is saved. Tax is correctly calculated.
Accounting and Inventory are updated.
Commissions recorded. Receipt is generated.
Payment authorization approvals are recorded.
1. Customer arrives at shop checkout with goods
and/or services to purchase.
2. Cashier starts a new sale.
3. Cashier enters item identifier.
4. System records sale line item and presents
item description, price, and running total. Price
calculated from a set of price rules.
Cashier repeats steps 3-4 until
indicates done.
• System presents total with taxes
calculated.
• Cashier tells Customer the total, and
asks for payment.
• Customer pays and System handles
payment.
• System logs completed sale and sends sale
and payment information to the external
Accounting system (for accounting and
commissions) and Inventory system (to
update inventory).
• System presents receipt.
• Customer leaves with receipt and goods (if
any).
• At any time, Manager requests an override operation:
-System enters manager- authorized mode
-system reverts to cashier authorized mode.
• At any time, System fails:
To support recovery and correct accounting, ensure all
transaction sensitive state and events can be recovered
from any step of the scenario.
• Sale not found
• Customer tells Cashier they have a tax-exempt status
• Invalid item ID (not found in system)
-System signals error and rejects entry.
-Cashier responds to the error
• There are multiple of same item category and tracking
unique item identity not important
- Cashier can enter item category identifier and the
quantity.
• Customer asks Cashier to remove an item from the
purchase
• Customer tells Cashier to cancel sale
• Cashier suspends the sale.
• System detects failure to communicate with external tax
calculation system service
• Customer says they are eligible for a discount
• Customer says they have credit in their account, to
apply to the sale
• Customer says they intended to pay by cash but don‟t
have enough cash
• Customer presents coupons
• There are product rebates
• Customer requests gift receipt
• Printer out of paper.
• Touch screen large flat panel monitor.
• Text must be visible from 1 meter.
• Language internationalization on the text displayed.
• Manager override entered by swiping an override card
through a card reader, or entering an authorization
code via the keyboard.
• Item identifier entered by bar code laser scanner
Frequency of Occurrence
•Could be nearly continuous
 The common relationships present are
(i) include relationship
(ii) extend relationship and
(iii) generalize relationship
 • It is the common and important relationship
 • The partial behavior is used in common among
several use cases
 • The extends relationship is used when an use case is
similar to another use case but does a bit more.
 • Generalization is the relationship between a
more general class and a more specific class.
 • Use cases are used in almost every project.
 • They are helpful in exposing requirements and
planning the project.
 • During the initial stage of a project most use
cases should be defined.
OOAD U1.pptx

More Related Content

Similar to OOAD U1.pptx

Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modelingShahid Riaz
 
From use case to software architecture
From use case to software architectureFrom use case to software architecture
From use case to software architectureAhmad karawash
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptxTekle12
 
BIS09 Application Development - III
BIS09 Application Development - IIIBIS09 Application Development - III
BIS09 Application Development - IIIPrithwis Mukerjee
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringsnehalkulkarni74
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Dr Sukhpal Singh Gill
 
Quality Assurance. Quality Assurance Approach. White Box
Quality Assurance. Quality Assurance Approach. White BoxQuality Assurance. Quality Assurance Approach. White Box
Quality Assurance. Quality Assurance Approach. White BoxKimberly Jones
 
Software Requirements Engineering Methodologies
Software Requirements Engineering MethodologiesSoftware Requirements Engineering Methodologies
Software Requirements Engineering MethodologiesKiran Munir
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramFarah Ahmed
 
Software requirementspecification
Software requirementspecificationSoftware requirementspecification
Software requirementspecificationoshin-japanese
 
Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Shuchi Singla
 
Onlineshoppingonline shopping
Onlineshoppingonline shoppingOnlineshoppingonline shopping
Onlineshoppingonline shoppingHardik Padhy
 
SDLC. BA Role
SDLC. BA RoleSDLC. BA Role
SDLC. BA Roleeleksdev
 
Ooad lab manual(original)
Ooad lab manual(original)Ooad lab manual(original)
Ooad lab manual(original)dipenpatelpatel
 

Similar to OOAD U1.pptx (20)

Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 
From use case to software architecture
From use case to software architectureFrom use case to software architecture
From use case to software architecture
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
BIS09 Application Development - III
BIS09 Application Development - IIIBIS09 Application Development - III
BIS09 Application Development - III
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
 
Quality Assurance. Quality Assurance Approach. White Box
Quality Assurance. Quality Assurance Approach. White BoxQuality Assurance. Quality Assurance Approach. White Box
Quality Assurance. Quality Assurance Approach. White Box
 
Software Requirements Engineering Methodologies
Software Requirements Engineering MethodologiesSoftware Requirements Engineering Methodologies
Software Requirements Engineering Methodologies
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagram
 
Software requirementspecification
Software requirementspecificationSoftware requirementspecification
Software requirementspecification
 
Building an Information System
Building an Information SystemBuilding an Information System
Building an Information System
 
Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02
 
Onlineshoppingonline shopping
Onlineshoppingonline shoppingOnlineshoppingonline shopping
Onlineshoppingonline shopping
 
M azhar
M azharM azhar
M azhar
 
SDLC. BA Role
SDLC. BA RoleSDLC. BA Role
SDLC. BA Role
 
Ooad lab manual(original)
Ooad lab manual(original)Ooad lab manual(original)
Ooad lab manual(original)
 
Chapter5
Chapter5Chapter5
Chapter5
 
Ch07
Ch07Ch07
Ch07
 
Ch07
Ch07Ch07
Ch07
 
UML Unit 01
UML Unit 01UML Unit 01
UML Unit 01
 

Recently uploaded

S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...vershagrag
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 

Recently uploaded (20)

S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

OOAD U1.pptx

  • 1.
  • 2. UNIT I UNIFIED PROCESS AND USE CASE DIAGRAMS
  • 3. Introduction to OOAD - UML - Unified Process Iterative and Evolutionary Development - UP Phases - UP Disciplines - UP Development Case - Case Study: The NextGen POS System. Inception - Requirements - Use Case : Actors, Scenarios - Use-Case Model - Kinds of actors - Use Case Formats - Find Use Cases - Use Case Diagrams - Work with Use Cases in Iterative Methods - Relating Use Cases. 1`
  • 4.  Object-oriented analysis and design (OOAD) is a popular technical approach for analyzing and designing an application, system, or business by applying object- oriented programming, as well as using visual modeling throughout the development life cycles to foster better stakeholder communication and product quality
  • 5. A software development methodology is a series of processes like 1. System Analysis 2. Modeling 3. Design 4. Implementation 5. Testing 6. Maintenance
  • 6. There are two orthogonal views of software development. 1. Traditional Technique – focuses on data and functions. 2. Object Oriented methodologies – focuses on objects that combines data and functionality. Object oriented systems development develop software by building objects that can be easily replaced, modified and reused
  • 7. Object Oriented systems are •Easier to adapt to changes •Easier to maintain •Code reuse •Creates modules of functionality
  • 8.  Analysis is the process of investigation of the problem and the requirements than finding its solution. Analysis is classified as 1.Requirement analysis 2.Object oriented analysis Ex: Flight information system.
  • 9. • Design is the process of finding a conceptual solution that fulfills the requirements than implementing it. • Design is classified into 1. Database design 2. Object oriented design • EX: Attribute – Tail number • Method – get flight history
  • 10.  The key steps of analysis and design include 1. Define use case 2. Define domain model 3. Define interaction diagrams 4. Define design class diagrams  These key ideas are expressed with “dice game”-> A software simulates a player rolling two dice.  If the total is “seven‟, they win; otherwise they lose.
  • 11.  Requirement analysis consists of use cases scenarios of how people use the application.  In the dice game, the use cases include Play a Dice game Player rolls dice System gives results Player wins if dice value totals seven Otherwise loses
  • 12. Object oriented analysis describes the problem domain by identifying  Concept  Attributes  Associations
  • 13. Partial Domain Model of dice game
  • 14.  In Object Oriented Design, software objects are defined with their responsibilities and collaborations.  It is the flow of messages between software objects.  Example: In dice game, the player rolls the dice in real world.
  • 15. Sequence Diagram for dice Game
  • 17.  Software development process is an approach to i) Build, ii) Deploy and iii) Maintain the software  The Unified Process (UP) is a software development process mainly for building object oriented systems.
  • 18. • iterative process • provides an example structure for how to do Object Oriented Analysis and Design • flexible • lightweight and agile approach.
  • 19. There are four major phases of UP 1. Inception 2. Elaboration 3. Construction 4. Transition
  • 20. Inception is a feasibility phase where enough investigation is done to support a decision to continue or stop • Approximate vision • Business scope • Vision • Scope • Estimates
  • 21.  Architecture is iteratively implemented. High risk issues are mitigated. Elaboration includes • Refined vision • Iterative implementation of the core architecture • Resolution of high risks • Identification of most requirements and scope • Estimates
  • 22.  Iterative implementation of the remaining lower rise and easier elements  Preparation for deployment Transition  Test  Deployment
  • 23.
  • 24. • UML is expanded as “UNIFIED MODELING LANGUAGE” • Visual language for specifying, constructing and documenting • UML as the defacto standard diagramming notation for drawing or presenting pictures related to software • i.e., Object Oriented Software
  • 25.  Each diagram is just a view of part of the system  Together, all diagrams provides a complete picture Underlying System Model
  • 26.
  • 27. • UML as sketch Informal and incomplete diagrams are created to explore difficult parts of the problem or solutions. • UML as blue print A UML tool reads the source and generates UML class, sequence and package diagrams • UML as programming language To generate C/Java code from UML diagrams Executable code is automatically generated It is still under development for usability.
  • 28. • UML describes raw diagrams like - Class diagrams - Sequence diagrams  In three different perspectives - Conceptual - Specification (software ) - Implementation (software )
  • 29. • Conceptual- Diagrams interpret things in a situation of the real world or domain of interest. • Specification (Software)- perspective software abstracted or components with specification and interfaces • Implementation perspective -The diagrams describes software implementations in a particular technology like Java.
  • 30.  Use case is one way of representing system functionality • Use case refers to • A system’s behavior (functionality) • A set of activities that produce some output  Use cases define the outside (actors) and inside (use case) of the system’s behavior.  Use case name can be placed inside the ellipse.
  • 31.
  • 32. • The relationship shown in use case diagram are: 1.Communication (connecting the actor symbol to the use case symbol with a solid path ) 2.Uses (generalization arrow from the use cases ) 3.Extends (we have one use cases similar to another )
  • 33. 1) Customer browser through catalog and selects items to buy. 2) Customer goes to check out. 3) Customer fills in shipping information (address; next-day or 3-day delivery) 4) System presents full pricing information including shipping. 5) Customer fills in credit card information 6) System authorizes purchase 7) System confirms sale immediately 8) System sends confirming email to customer
  • 34.  1. include -It is a directed relationship between two use cases - indicates a use case that is used by another use case - X << includes >> Y indicates that the process of doing X always involves doing Y at least once << include >> X Y
  • 35. 2. Use case Generalization • one use case that is similar to another use cases but does a bit more then we use, use case generalization 3. Extend • extend is similar to generalization but with more rules to it. • Two different types of use case are there, • System Use Cases • Business Use Cases
  • 36. The use cases also influence 1. Analysis 2. Design 3. Implementation 4. Project management 5. Test artifacts
  • 37.
  • 38.  Actors- A person (identified by role) Computer system or organization is called an actor  Scenario -A scenario is a specific sequence of actions and interactions between actors and the system. Example : 1. Scenario of successfully purchasing items with cash 2. Scenario of failing to purchase items because of credit payment denial
  • 39.  Use case is a collection of related success and failure scenarios that describes an actor using a system to support a goal Example :  A customer arrives at a shop to return items  The cashier uses POS(point of sale) system and records returned items.
  • 40.  A use-case model is a model of how different types of users interact with the system to solve a problem  A use-case model consists of a number of model elements. The most important model elements are: use cases, actors  Use Cases are text documents and not diagrams.
  • 41. Three kinds of Actors  Primary actor It has user goals fulfilled by using services of SUD(system under discussion )EX: Cashier  Supporting actor It provides services to SUD(system under discussion ) EX: Automated payment authorization  Offstage actor- It has an interest in the behavior of use cases but not primary or supporting EX: government tax agency.
  • 42. There are different formats for use cases like • Brief • Casual • Fully dressed
  • 43. • One paragraph summary of main success scenario. • It is written during early requirements analysis • It can be written in a few minutes. • Ex: Process sale
  • 44. • Informal paragraph format • It involves multiple paragraphs that cover various scenarios Fully dressed • Detailed steps are written.
  • 45.  More detailed and structured style is given in fully dressed format.  During the requirement analysis, 10% of the critical use cases are written in this format.  Many templates are available for detailed use cases
  • 46. Use case section Comment Use Case name Start with a verb Scope System under design Level “user-goal” or “subfunction” Primary Actor Calls on the system to deliver its services Stakeholders & interest Who cares about use case? What do they want? Preconditions What must be true on start, and worth telling the reader? Success Guarantee What must be true on successful completion, and worth telling the reader. Main Success scenario A typical, unconditional happy path scenario of success. Extensions Alternate scenarios of success or failure Special requirements Related non-functional requirements Technology and data variations list Varying input methods and data formats Frequency of occurrence Influences investigation, testing and timing of implementation
  • 47.  Cashier: Wants accurate, fast entry, and no payment errors, as cash drawer shortages are deducted from his/her salary.  Salesperson: Wants sales commissions updated  Customer: Wants purchase and fast service with minimal effort. Wants easily visible display of entered items and prices. Wants proof of purchase to support returns
  • 48.  Manager: Wants to be able to quickly perform override operations, and easily debug Cashier problems.  Government Tax Agencies: Want to collect tax from every sale. May be multiple agencies, such as national, state, and county.  Payment Authorization Service: Wants to receive digital authorization requests in the correct format and protocol. Wants to accurately account for their payables to the store.
  • 49.  Company: Wants to accurately record transactions and satisfy customer interests. Wants to ensure that Payment Authorization Service payment receivables are recorded. Wants some fault tolerance to allow sales capture even if server components (e.g., remote credit validation) are unavailable. Wants automatic and fast update of
  • 50. Preconditions: Cashier is identified and authenticated. Success Guarantee (or Postconditions): Sale is saved. Tax is correctly calculated. Accounting and Inventory are updated. Commissions recorded. Receipt is generated. Payment authorization approvals are recorded.
  • 51. 1. Customer arrives at shop checkout with goods and/or services to purchase. 2. Cashier starts a new sale. 3. Cashier enters item identifier. 4. System records sale line item and presents item description, price, and running total. Price calculated from a set of price rules.
  • 52. Cashier repeats steps 3-4 until indicates done. • System presents total with taxes calculated. • Cashier tells Customer the total, and asks for payment. • Customer pays and System handles payment.
  • 53. • System logs completed sale and sends sale and payment information to the external Accounting system (for accounting and commissions) and Inventory system (to update inventory). • System presents receipt. • Customer leaves with receipt and goods (if any).
  • 54. • At any time, Manager requests an override operation: -System enters manager- authorized mode -system reverts to cashier authorized mode. • At any time, System fails: To support recovery and correct accounting, ensure all transaction sensitive state and events can be recovered from any step of the scenario.
  • 55. • Sale not found • Customer tells Cashier they have a tax-exempt status • Invalid item ID (not found in system) -System signals error and rejects entry. -Cashier responds to the error • There are multiple of same item category and tracking unique item identity not important - Cashier can enter item category identifier and the quantity.
  • 56. • Customer asks Cashier to remove an item from the purchase • Customer tells Cashier to cancel sale • Cashier suspends the sale. • System detects failure to communicate with external tax calculation system service • Customer says they are eligible for a discount • Customer says they have credit in their account, to apply to the sale
  • 57. • Customer says they intended to pay by cash but don‟t have enough cash • Customer presents coupons • There are product rebates • Customer requests gift receipt • Printer out of paper.
  • 58. • Touch screen large flat panel monitor. • Text must be visible from 1 meter. • Language internationalization on the text displayed.
  • 59. • Manager override entered by swiping an override card through a card reader, or entering an authorization code via the keyboard. • Item identifier entered by bar code laser scanner Frequency of Occurrence •Could be nearly continuous
  • 60.  The common relationships present are (i) include relationship (ii) extend relationship and (iii) generalize relationship
  • 61.  • It is the common and important relationship  • The partial behavior is used in common among several use cases
  • 62.
  • 63.  • The extends relationship is used when an use case is similar to another use case but does a bit more.
  • 64.
  • 65.  • Generalization is the relationship between a more general class and a more specific class.
  • 66.
  • 67.  • Use cases are used in almost every project.  • They are helpful in exposing requirements and planning the project.  • During the initial stage of a project most use cases should be defined.