Seminar 2 Design of Informatics Systems

Slides:



Advertisements
Similar presentations
Design by Contract.
Advertisements

CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
Use Case & Use Case Diagram
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
CS3773 Software Engineering Lecture 03 UML Use Cases.
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
Jan Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box Actors.
Use-case Modeling.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 14 Requirements and Specifications. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Software Engineering The implementation.
Copyright ©2004 Cezary Z Janikow 1 Use Cases n Within Requirements discipline/workflow n Verbal descriptions of important functional (behavioral, transactional,
Use Case Diagram.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
1 Object-Oriented Modeling Using UML (2) CS 3331 Fall 2009.
Object-Oriented Modeling
Interaction Modeling. Introduction (1) Third leg of the modeling tripod. It describes interaction within a system. The class model describes the objects.
UML The Unified Modeling Language A Practical Introduction Al-Ayham Saleh Aleppo University
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 20. Review Software Requirements Requirements Engineering Process.
Requirements – Scenarios and Use Cases
 A software application is like a city  Modeling = Architecture  OOP = Civil Engineering  UML Classes = Blueprints of Buildings  UML is a common.
Requirements Capture. Four Steps of requirements capture List candidate requirements Understand system context Capture functional requirements Capture.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
1 Use Case Diagrams Use Case Actor Use case description Use case realization (Scenario) Use case relationships –Extends –Uses.
1 Structuring Systems Requirements Use Case Description and Diagrams.
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Systems Analysis and Design in a Changing World, Fourth Edition
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
UML - Development Process 1 Software Development Process Using UML.
Use Case Diagram Lecture # 1. Use Case Diagram Use-cases are descriptions of the functionality of a system from a user perspective.  Depict the behaviour.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Systems Analysis and Design in a Changing World, Fourth Edition
Business Process and Functional Modeling
Welcome to M301 P2 Software Systems & their Development
Using Use Case Diagrams
Chapter 4: Business Process and Functional Modeling, continued
Chapter 5 System modeling
Use Case Modeling - II Lecture # 27.
ATM OO Design and Implementation Case Study
Lec-5 : Use Case Diagrams
Storyboarding and Game Design SBG, MBG620 Full Sail University
Use Case Model.
Subject Name: Object oriented Modeling and Design
UML Use Case Diagrams.
Requirements: Use Case Models and Narratives
Requirements – Scenarios and Use Cases
SE-565 Software System Requirements IV. Use Cases
UML State machine diagram
Seminar 3 UML Class Diagram.
IMPORTANT NOTICE TO STUDENTS:
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Systems Analysis and Design With UML 2
Object Oriented Analysis and Design
Chapter 20 Object-Oriented Analysis and Design
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
BPMN - Business Process Modeling Notations
Analysis models and design models
Use Case Model Use case diagram – Part 2.
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Interaction Modeling Extracted from textbook:
Presentation transcript:

Seminar 2 Design of Informatics Systems UML Use case diagram

Use case Specifies a set of actions executed by a system or a subject that lead to a certain result. The result, normally, is important for an actor or a beneficiary.

Actors An actor interacts with the system in the context of a use case. Actors are roles that can include human factors, external hardware or other systems. Answer to questions like: WHO requests information from the system WHO modifies information in the system WHO interacts with the system It is represented in a diagram with the specific symbol of a little man.

Use Case Diagram It describes the relationship between a set of use cases and actors who participated in these UC. UC diagrams do not describe behaviors or streams. It can define the boundaries of the analyzed system by incorporating the use cases within a rectangle

Relationsips between actors Are of the type generalization / specialization between an abstract actor and one or more concrete actors

Relationsips between actors and use cases - 1 Simple associations are used to connect an actor with a use case. It is a way of communication between the two. The communication can be unidirectional as well.

Relationsips between actors and use cases - 2 At this level multiplicities are allowed multiplicity greater than one at the end: corresponding to the Use case  the actor is involved in several use cases of that type and can initiate use cases: in parallel (concurrently) at different points in time or mutually exclusive in time. corresponding to the Actor  multiple instances of the actor are involved in initiating the use case and can perform simultaneous and successive actions. UML does not have standard notations for the above situations.

Relashionships between use case - 1 1. Generalization It is used when there are two or more UC who have in common behavior, structure and purpose. The behavior of the parent UC can be overridden. Only the differences between the two cases are specified in the specialized use case.

Relashionships between use case – 2 2. Include It aims to integrate an use case in another use case, the first becoming a logical part of that UC. The UC that includes another is not complete. It is used when: there are parts of behavior common to several use cases to simplify large UC. It is equivalent to call a subroutine in programming. Denotes a mandatory behavior, not an optional one. There are no properties inherited from a UC to another. It avoids redundancy of parties with identical behavior

Relashionships between use case – 3 3. Extend It is used when a CU occurs only under certain conditions or it is optional. The extended UC is complete and independent from the one it expands. Extension occurs in one or more extension points You can associate notes or constraints to that relationship to illustrate the conditions in which the extended behavior must be executed.

Textual description of a UC Element of the use case Description Code Unique identifier associated to the use case State The stage of completion it is in, for example, outline, completed or approved Purpose The system (or part of the system) or application to which it belongs Name Name of the use case,as short and representative as possible Main actor The beneficiary who initiates the use case and pursues a particular purpose Short presentation, in free text, of the use case Preconditions What conditions must be satisfied for the script can begin Postconditions What conditions must be met to ensure a successful end of the scenario Trigger An event or sequence of events that initiate the use case Basic flow The basic flow describes the basic flow of events when everything is going according to a predetermined script; there are no exceptions or errors Alternate flows The most significant exceptions and alternatives to the baseline scenario Relashionships What relationships it has with other use cases (include or extend) Frequency of use How often it is expected to use this system functionality Business rules What rules govern the use case

Lucru la seminar Create the general use class diagram and the textual description for a use case,for the scenario below The project goal is to develope a software application for the management of a hotel business unit. In order to check in, a customer can request to reserve one or more rooms by e-mail or telephone. For this, he provides the receptionist with information on the period of accommodation and type of rooms required. Customers will get discounts if they reserve at least 3 rooms or if the period of accommodation exceeds 5 days. The receptionist checks availability and notifies the client of this and the estimated cost of accommodation. If there are no rooms available as requested, the receptionist can provide alternatives to the customer. The client may request a discount (additional or not) and the receptionist will decide the feasibility discount, assisted mandatory by the hotel manager. If the client agrees with the proposed price, they proceed to the reservation. For new customers, the receptionist asks identification data, which he introduces in the application. Once at the hotel and if it has made a prior booking, the customer will provide his identification and / or booking number and the check in is finalized. If there is no reservation, the availability for the required period will be checked. When there is such a room, accommodation is made. At the end of the stay, the receptionist prepares a list of all the services used by the customer and their price. The list must be validated by the customer, then the final invoice is drawn up. The invoice can be paid partially or fully by bank transfer, cash or using a credit card. Also, before leaving the hotel, the customer is asked to complete a form to evaluate the services provided by the hotel premises