Chapter 3 Requirements Analysis, Negotiation and Modeling Part 3 Dr. Eman Al-Maghary Requirements Engineering.

Slides:



Advertisements
Similar presentations
Credit Card Processing 101
Advertisements

Object-Oriented Analysis and Design: Activity Diagrams
IS424 - Assignment#1 DFD + Use-Cases Kingdom of Saudi Arabia
OOAD – Dr. A. Alghamdi Mastering Object-Oriented Analysis and Design with UML Module 3: Requirements Overview Module 3 - Requirements Overview.
A Business process approach
Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
Systems Development and Documentation Techniques
Display slides 2 and 3 with Procedure step 2 in the lesson.
Modeling Main issues: What do we want to build How do we write this down.
Use Case & Use Case Diagram
Documenting Information Systems
MIS 325 PSCJ. 2  Business processes can be quite complex  Process model: any abstract representation of a process  Process-modeling tools provide a.
Information System Design IT60105
Software Engineering Introduction to UML.
Extending the Requirements Model - techniques for detailing use cases
Information System Engineering
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
Interaction Diagrams Activity Diagram State Machine Diagram
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
1 Business Models Modeling. 2 Why Model the Business Business modeling is a technique to help answer critical questions, such as: What do the workers.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
SYS366 Systems Use Case Descriptions. SYS3662 Contents Review Systems Use Case Descriptions Systems Use Case Authoring.
Lecture 6 Unified Modeling Language (UML)
Use Cases 2 ENGR ♯10 Peter Andreae
Read to Learn Discuss the different types of checking accounts and how they work. Discuss other services and offerings that banks provide checking account.
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
Faculty of Computer & Information Software Engineering Third year
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Business Administration term project 2 (25%) financial Management Systems Debit card and credit card payments By Ashleigh Gray.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
Faculty of Computer & Information
By Daniel O’Brien and Scott MacDougall. Daniel O'Brien and Scott MacDougall comprised the development team and shared an equal distribution of roles and.
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
Business Analysis with For PG MDI, Gurgaon Kamna Malik, Ph.D.
(c) Addison Wesley Copyright © 2000 by Addison Wesley Version 1.0
UNIFIED MODELING LANGUAGE(UML) BY Touseef Tahir Lecturer CS COMSATS Institute of Information Technology, Lahore.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part VI: Design Continuous Activity Diagams State Diagrams.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
UML (Unified Modeling Language)
UML Activity Diagrams.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
OO DomainModeling With UML Class Diagrams and CRC Cards Chapter 6 Princess Nourah bint Abdulrahman University College of Computer and Information Sciences.
Lecture 5d: Systems Use Case Descriptions.  Review  Systems Use Case Descriptions  Systems Use Case Authoring SYS3662.
Chapter 4: Business Process and Functional Modeling, continued
Recall The Team Skills Analyzing the Problem (with 5 steps)
Dynamic Modeling of Banking System Case Study - I
Unified Modeling Language
Business Models Modeling.
Activity and State Transition Diagram
Visit for more Learning Resources
OO Domain Modeling With UML Class Diagrams and CRC Cards
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
UML Activity Diagrams.
Software Engineering Chapter 5 (Part 3) System Modeling Dr.Doaa Sami.
Chapter 6 – System Design II: Behavioral Models
Use Case Modeling - techniques for detailing use cases
Process Modeling: Activity/Swimlane Diagrams
Activity Diagrams.
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Chapter 14. Activity Modeling for Transformational Systems
Use cases Dr. X.
Presentation transcript:

Chapter 3 Requirements Analysis, Negotiation and Modeling Part 3 Dr. Eman Al-Maghary Requirements Engineering

State model static view of the system models data requirements and operations on data operations obtain from behavioral model class diagram Behaviour model operational view of the system models function requirements Diagrams use case Sequence Collaboration activity 2 Kinds of UML Models

Kinds of UML Models (Cont.) State change model dynamic view of the system models object evolution over time statechart diagram 3

Use Case Modeling Use case: outwardly visible and testable system behaviour Actor: whoever or whatever (person, machine, etc.) that interacts with a use case a role that somebody or something plays, not a particular person or machine actor receives a useful result 4

Use Case Modeling (Cont.) Use case represents a complete unit of functionality of value to an actor There may be some use cases that do not directly interact with actors In many instances, a function requirement maps directly to a use case Use Case Diagram is a visual representation of actors and use cases together with any additional definitions and specifications Unless stated otherwise, annotated UML diagram is synonymous with UML model 5

Assignment of requirements to actors and use cases Req#RequirementActorUse Case 1Before a video can be rented out, the system confirms customers identity and standing by swiping over scanner his/her Video Store membership card. Customer, Employee Scan Membership Card 2A video tape or disk can be swiped over scanner to obtain its description and price (fee) as part of customers enquiry or rental request. Customer, Employee Scan Video Medium 6

7 Req#RequirementActorUse Case 3Customer pays the nominal fee before the video can be rented out. The payment may be with cash or debit/credit card. Customer, Employee Accept Payment Charge Payment to Card 4The system verifies all conditions for renting out the video, acknowledges that the transaction can go ahead, and can print the receipt for the customer. Employee, Customer Print Receipt Assignment of requirements to actors and use cases

Actors 8 CustomerEmployee Scanning DeviceLegacy System

9 Use Cases Scan Membership Card Scan Video Medium Accept Payment Charge Payment to Card Print Receipt

Use Case Diagram Scan Membership Card Scan Video Medium Accept Payment Charge Payment to Card Print Receipt Customer Employee > 10

Narrative use case specification Use caseAccept Payment Brief description This use case allows an Employee to accept the payment from Customer for a video rental ActorsEmployee (primary), Customer(secondary). PreconditionsCustomer expresses readiness to rent the video and he/she possesses valid membership card and the video is available for rental. Main flowThe use case begins when the Customer decides to pay for the video rental and offers cash or debit/credit card payment. The Employee requests the system to display the rental charge... Alternative flows The Customer does not have sufficient cash and does not offer the card payment. The Employee asks the system to verify... PostconditionsIf the use case was successful, the payment is recorded in the systems database. Otherwise,... 11

Activity Modeling Activity model Can graphically represent the flow of events of a use case Can also be used to understand a business process at a high-level of abstraction before use cases are produced Shows the steps of a computation Each step is a state of doing something Execution steps are called action states Depicts which steps are executed in sequence and which can be executed concurrently Transition – the flow of control from one action state to the next Use case descriptions are (usually) written from an outside actors perspective Activity models can take an inside systems viewpoint 12

13 Finding actions in use case flows No.Use Case StatementAction State 1The Employee requests the system to display the rental charge together with basic customer and video details. Display transaction details 2If the Customer offers cash payment, the Employee handles the cash, confirms to the system that the payment has been received, and asks the system to record the payment as made. Key in cash amount; Confirm transaction 3If the Customer offers debit/credit card payment, the Employee swipes the card, and requests then the Customer to type the cards PIN number, select debit or credit account, and transmit the payment. Once the payment is electronically confirmed by the card provider, the system records the payment as made. Swipe the card; Accept card number; Select card account; Confirm transaction

Actions Display transaction details Swipe the card Accept card number Key in cash amount Enter card number manually Select card account The Customer card does not swipe properly through the scanner. After three unsuccessful attempts, the Employee enters the card number manually. 14

Activity Diagram Activity Diagram shows transitions between actions. A solid filled circle represents the initial state. The final state is shown using so called bulls eye symbol. Transitions can branch and merge (diamond) – alternative computation threads. Transitions can fork and re-join (bar line) – concurrent (parallel) computation threads. Activity diagram without concurrent processes resembles a conventional flowchart. 15

16 Activity diagram - excerpt Display transaction details Key in cash amount Cash or Card? Cash Sufficient funds? Yes No Card Swipe the card Accept card number Swipes OK? Yes Enter card number manually No Select card account Handle card payment