SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Unit 3

 Object Oriented analysis process
2. Identifying use cases
3. Classification
4. Identifying object
   relationships,attributes and
   methods
Identifying use cases:
                 Objective
•   Use case modeling and analysis
•   Identifying actors
•   Identifying use cases
•   Developing effective documentation
Identifying use cases
• Introduction
• Objective of analysis
  – To capture complete, unambiguous , consistent
    picture of requirements of system
  – Separating system’s behavior from behavior
    implementation
     • What the system must do to satisfy users requirement and
       needs
     • Won't specify how to do it
     • Requires to view the system from users perspective
Cont.. Of introduction
• Transformation 1
  – users need to problem statement and
    requirement
• Tools to extract information about a
  system
  – examination of existing system documentation
  – Interviews
  – Questionnaire
  – observation
Why analysis is a difficult activity
• Analysis activity involves understanding
  – problem
  – Associated constraints
  – Methods to overcome this constraints
• Iterative process
Cont..
• Sources that makes analysis difficult
  – Fuzzy descriptions
     • Bcs of interpretation problem
  – Incomplete requirements
     • Due to users forgetting to identify them, High cost,
       politics
  – Unnecessary features
Business object analysis:
 understanding the business layer
• Process of
  – understanding sys requirement
     • Developing use case
        – Discussing uses and objectives with users
        – Understanding expected inputs, desired response
     • Prototype
        – Helps to understand how the system ’ll be used
  – Establishing goals
• Outcome of this process
  – Identifying classes
  – Relationship
Use case driven object oriented
    analysis: the unified approach
                                      Identify
          Develop     Develop        classes ,      Refine
actors   usecase &   interaction   relationships,      &
          activity     diagram       attributes,    iterate
          diagram                     methods
           Build
         prototype
Business process modelling
• Not necessary for all project
• When required business process and
  requirements can be modelled to any level
  of detail
• Activity diagram support this modelling
• disadv
  – Time consuming process
• Adv
  – familiarity
yes   yes      Go to
           yes          Go to                                                   counter and
                     counter and                                                 check out
                       return                                                    the books
Return                 books
book?
                                               yes
                                   yes
                                                     Interlibrary
                                                         loan
                  borrow                       no
                   book?
                              no
                                                     Search for
                                                       book



                                         yes         Do
                 Do search
                                                research on
                                                   topics
                             no



                                         yes         Read news
                 Read news                           paper and
                 paper?
                             no                      magazine



         Acivty diagram –library system
Use case model
•   Senarios for understanding the system
•   Interaction bw user and system
•   Captures users goal and systems responsibility
•   Used to discover classes and relationship
•   Developed by talking to users
•   Use case model
    – Provides external view of the system
• Object model (UML class diagram)
    – Provides internal view
Use cases and microscope
• A use case is a sequence of transaction in a
  system whose task is to yield results of
  measurable value to an individual actor of the
  system
• Actor
  –   Role played by the user with respect to the system
  –   Single actor may perform many use cases
  –   Can be external system
  –   Can be one get value from the system, or just
      participate in the use case
Borrow books       uses

                                            Check library card
                        extends
                                      uses
                   Get an
              interlibrary loan
                                     uses

               Return books
member                                                 Circulation clerk

                Do research



         Read books and news paper




              Purchase supplies
                                                        supplier
Uses and extends association
• Uses
  – common sub flows are extracted and
    separate use case is created
  – Relationship bw usecase and extracted one is
    called uses relationships
• Extends
  – Used when use case is similar to other, but do
    bit more or more speciliazed
• Abstract use case
  – No initiating actor
  – Used by concrete use cases
• concrete use cases
  – Interacts with actors
Identifying actors
• Actor
   – Role played by the user
• Actors found thru answers of following question
   – Who is using the system
   – Who is affected by the system
   – Which group needs help from the system
   – Who affects the system, which user groups are needed by the
     system to perform it functions
   – Which external h/w or other systems use the system to perform
     tasks
   – What prob does this application solve and for whom
   – How do users use the system(ie use case), and what they are
     doing with the system
• Accounts need not be human. It is an external system
Identifying actor (cont..)
• Two-three rule
  – Used to identify the actors
  – Start with naming at least 2 or 3 , people who
    could serve as the actor in the system.other
    actor can be identified in the subsequent
    iteration
Guideline for finding use cases
• For each actor, find the tasks and function that
  the actor should be able to perform or that the
  system needs the actor to perform (use case)
• Name the use cases
• Describe the use cases briefly by applying terms
  with which the user is familiar (to make less
  ambiguous)
• Each use case has only one main actor
  – Isolate users from actor
  – Isolate actors from other actors(separate
    responsibilities)
  – Isolate use cases that have different initiating actors
How detailed must a use case be? When to
stop decomposing it and when to continue
• Develop system use case diag
• Draw package
  – to represent business domains of the system . for
    each package create child use case diagram
• Prepare at lest one senario for each use case
  – Each scenario shows different sequence of
    interaction , with all decisions definite
• When the lowest use case level is arrived, which
  can’t be broken further, sequence and
  collaboration diagram is drawn
Dividing use case into package
• Whole system is divided into many
  packages
• Each package encompasses multiple use
  cases
Developing effective documentation
• Effective document provides
  – Reference point
  – Form of communication
  – Reveals issues and gaps in the analysis and
    design
Guidelines for developing effective
            document
• Common cover
  – Identify document
  – Current version
  – Individuals responsible for doc
• 80-20 rule
  – 80% of work can be done with the 20% of doc.
  – 20% -easily accessible, 80%-only who needs can
    access
• Familiar vocabulary
• Make the doc as short as possible
• Organize the document
Unit 3

Weitere ähnliche Inhalte

Ähnlich wie Unit 3

evaluation technique uni 2
evaluation technique uni 2evaluation technique uni 2
evaluation technique uni 2
vrgokila
 
Software Practice 12 breakout - Tracking usage and impact of software
Software Practice 12 breakout - Tracking usage and impact of softwareSoftware Practice 12 breakout - Tracking usage and impact of software
Software Practice 12 breakout - Tracking usage and impact of software
SoftwarePractice
 

Ähnlich wie Unit 3 (20)

User Research
User ResearchUser Research
User Research
 
UX Workshop at Startit@KBC
UX Workshop at Startit@KBCUX Workshop at Startit@KBC
UX Workshop at Startit@KBC
 
Usability Lab within Agile (by Ian Franklin at NUX Leeds January 2018)
Usability Lab within Agile (by Ian Franklin at NUX Leeds January 2018)Usability Lab within Agile (by Ian Franklin at NUX Leeds January 2018)
Usability Lab within Agile (by Ian Franklin at NUX Leeds January 2018)
 
R vaughan
R vaughanR vaughan
R vaughan
 
evaluation technique uni 2
evaluation technique uni 2evaluation technique uni 2
evaluation technique uni 2
 
Session1 methods research_question
Session1 methods research_questionSession1 methods research_question
Session1 methods research_question
 
Assessing user experience of e-books in academic libraries
Assessing user experience of e-books in academic librariesAssessing user experience of e-books in academic libraries
Assessing user experience of e-books in academic libraries
 
Software Practice 12 breakout - Tracking usage and impact of software
Software Practice 12 breakout - Tracking usage and impact of softwareSoftware Practice 12 breakout - Tracking usage and impact of software
Software Practice 12 breakout - Tracking usage and impact of software
 
INTELLECTUAL AND PROPERTY RIGHTSunit 1 R23 (1).pptx
INTELLECTUAL AND PROPERTY RIGHTSunit 1 R23 (1).pptxINTELLECTUAL AND PROPERTY RIGHTSunit 1 R23 (1).pptx
INTELLECTUAL AND PROPERTY RIGHTSunit 1 R23 (1).pptx
 
Analytic emperical Mehods
Analytic emperical MehodsAnalytic emperical Mehods
Analytic emperical Mehods
 
Lecture 6 Interaction Design for VR
Lecture 6 Interaction Design for VRLecture 6 Interaction Design for VR
Lecture 6 Interaction Design for VR
 
Validating Ideas Through Prototyping
Validating Ideas Through PrototypingValidating Ideas Through Prototyping
Validating Ideas Through Prototyping
 
e3_chapter__5_evaluation_technics_HCeVpPLCvE.ppt
e3_chapter__5_evaluation_technics_HCeVpPLCvE.ppte3_chapter__5_evaluation_technics_HCeVpPLCvE.ppt
e3_chapter__5_evaluation_technics_HCeVpPLCvE.ppt
 
Terra incognita with no GPS: A case study approach to mapping assessment
Terra incognita with no GPS: A case study approach to mapping assessmentTerra incognita with no GPS: A case study approach to mapping assessment
Terra incognita with no GPS: A case study approach to mapping assessment
 
User Experience Design Fundamentals - Part 1: Users & Goals
User Experience Design Fundamentals - Part 1: Users & GoalsUser Experience Design Fundamentals - Part 1: Users & Goals
User Experience Design Fundamentals - Part 1: Users & Goals
 
Methods of research
Methods of researchMethods of research
Methods of research
 
COMP 4010: Lecture 5 - Interaction Design for Virtual Reality
COMP 4010: Lecture 5 - Interaction Design for Virtual RealityCOMP 4010: Lecture 5 - Interaction Design for Virtual Reality
COMP 4010: Lecture 5 - Interaction Design for Virtual Reality
 
Medical Research paper writing
Medical Research paper writingMedical Research paper writing
Medical Research paper writing
 
E3 chap-09
E3 chap-09E3 chap-09
E3 chap-09
 
Introduction to UX Research: Fundamentals of Contextual Inquiry
Introduction to UX Research: Fundamentals of Contextual InquiryIntroduction to UX Research: Fundamentals of Contextual Inquiry
Introduction to UX Research: Fundamentals of Contextual Inquiry
 

Mehr von gopal10scs185 (20)

Os4
Os4Os4
Os4
 
Os1
Os1Os1
Os1
 
Os8
Os8Os8
Os8
 
Os8
Os8Os8
Os8
 
Os7
Os7Os7
Os7
 
Os6
Os6Os6
Os6
 
Os4
Os4Os4
Os4
 
Os3
Os3Os3
Os3
 
Os2
Os2Os2
Os2
 
Unit4 desiging classes
Unit4 desiging classesUnit4 desiging classes
Unit4 desiging classes
 
Unit 5 testing
Unit 5 testingUnit 5 testing
Unit 5 testing
 
Unit 5
Unit 5Unit 5
Unit 5
 
Unit 5 usability and satisfaction test
Unit 5 usability and satisfaction testUnit 5 usability and satisfaction test
Unit 5 usability and satisfaction test
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
Unit 3 attributes, methods, relationships
Unit 3 attributes, methods, relationshipsUnit 3 attributes, methods, relationships
Unit 3 attributes, methods, relationships
 
Design rule 31
Design rule 31Design rule 31
Design rule 31
 
Unit4 desiging classes
Unit4 desiging classesUnit4 desiging classes
Unit4 desiging classes
 
Unit three identifying actors
Unit three  identifying actorsUnit three  identifying actors
Unit three identifying actors
 
Unit 5 testing
Unit 5 testingUnit 5 testing
Unit 5 testing
 
Unit 5
Unit 5Unit 5
Unit 5
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Unit 3

  • 1. Unit 3 Object Oriented analysis process 2. Identifying use cases 3. Classification 4. Identifying object relationships,attributes and methods
  • 2. Identifying use cases: Objective • Use case modeling and analysis • Identifying actors • Identifying use cases • Developing effective documentation
  • 3. Identifying use cases • Introduction • Objective of analysis – To capture complete, unambiguous , consistent picture of requirements of system – Separating system’s behavior from behavior implementation • What the system must do to satisfy users requirement and needs • Won't specify how to do it • Requires to view the system from users perspective
  • 4. Cont.. Of introduction • Transformation 1 – users need to problem statement and requirement • Tools to extract information about a system – examination of existing system documentation – Interviews – Questionnaire – observation
  • 5. Why analysis is a difficult activity • Analysis activity involves understanding – problem – Associated constraints – Methods to overcome this constraints • Iterative process
  • 6. Cont.. • Sources that makes analysis difficult – Fuzzy descriptions • Bcs of interpretation problem – Incomplete requirements • Due to users forgetting to identify them, High cost, politics – Unnecessary features
  • 7. Business object analysis: understanding the business layer • Process of – understanding sys requirement • Developing use case – Discussing uses and objectives with users – Understanding expected inputs, desired response • Prototype – Helps to understand how the system ’ll be used – Establishing goals • Outcome of this process – Identifying classes – Relationship
  • 8. Use case driven object oriented analysis: the unified approach Identify Develop Develop classes , Refine actors usecase & interaction relationships, & activity diagram attributes, iterate diagram methods Build prototype
  • 9. Business process modelling • Not necessary for all project • When required business process and requirements can be modelled to any level of detail • Activity diagram support this modelling • disadv – Time consuming process • Adv – familiarity
  • 10. yes yes Go to yes Go to counter and counter and check out return the books Return books book? yes yes Interlibrary loan borrow no book? no Search for book yes Do Do search research on topics no yes Read news Read news paper and paper? no magazine Acivty diagram –library system
  • 11. Use case model • Senarios for understanding the system • Interaction bw user and system • Captures users goal and systems responsibility • Used to discover classes and relationship • Developed by talking to users • Use case model – Provides external view of the system • Object model (UML class diagram) – Provides internal view
  • 12. Use cases and microscope • A use case is a sequence of transaction in a system whose task is to yield results of measurable value to an individual actor of the system • Actor – Role played by the user with respect to the system – Single actor may perform many use cases – Can be external system – Can be one get value from the system, or just participate in the use case
  • 13. Borrow books uses Check library card extends uses Get an interlibrary loan uses Return books member Circulation clerk Do research Read books and news paper Purchase supplies supplier
  • 14. Uses and extends association • Uses – common sub flows are extracted and separate use case is created – Relationship bw usecase and extracted one is called uses relationships • Extends – Used when use case is similar to other, but do bit more or more speciliazed
  • 15. • Abstract use case – No initiating actor – Used by concrete use cases • concrete use cases – Interacts with actors
  • 16. Identifying actors • Actor – Role played by the user • Actors found thru answers of following question – Who is using the system – Who is affected by the system – Which group needs help from the system – Who affects the system, which user groups are needed by the system to perform it functions – Which external h/w or other systems use the system to perform tasks – What prob does this application solve and for whom – How do users use the system(ie use case), and what they are doing with the system • Accounts need not be human. It is an external system
  • 17. Identifying actor (cont..) • Two-three rule – Used to identify the actors – Start with naming at least 2 or 3 , people who could serve as the actor in the system.other actor can be identified in the subsequent iteration
  • 18. Guideline for finding use cases • For each actor, find the tasks and function that the actor should be able to perform or that the system needs the actor to perform (use case) • Name the use cases • Describe the use cases briefly by applying terms with which the user is familiar (to make less ambiguous) • Each use case has only one main actor – Isolate users from actor – Isolate actors from other actors(separate responsibilities) – Isolate use cases that have different initiating actors
  • 19. How detailed must a use case be? When to stop decomposing it and when to continue • Develop system use case diag • Draw package – to represent business domains of the system . for each package create child use case diagram • Prepare at lest one senario for each use case – Each scenario shows different sequence of interaction , with all decisions definite • When the lowest use case level is arrived, which can’t be broken further, sequence and collaboration diagram is drawn
  • 20. Dividing use case into package • Whole system is divided into many packages • Each package encompasses multiple use cases
  • 21. Developing effective documentation • Effective document provides – Reference point – Form of communication – Reveals issues and gaps in the analysis and design
  • 22. Guidelines for developing effective document • Common cover – Identify document – Current version – Individuals responsible for doc • 80-20 rule – 80% of work can be done with the 20% of doc. – 20% -easily accessible, 80%-only who needs can access • Familiar vocabulary • Make the doc as short as possible • Organize the document