Use case Diagram.

Slides:



Advertisements
Similar presentations
Use Case Diagrams.
Advertisements

Use cases Use-cases are a scenario based technique in the UML which identify the actors in an interaction and which describe the interaction itself A set.
Chapters 7 & 9 System Scope
 Need to Gather requirements and other related information  Use case Modeling ◦ What the system will do for the users.
Use Case Modeling.
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Use Case Diagram (UCD) Yong Choi BPA.
CMIS 470 Structured Systems Design
Systems Analysis and Design in a Changing World, Fifth Edition
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Object-OrientedMethodologies
Unified Modelling Language UML. Use case Diagram : A use case diagram is “a diagram that shows the relationships among actors and use cases within a system.use.
IT 21103/41103 System Analysis & Design. Chapter 05 Object Modeling.
1 Structuring Systems Requirements Use Case Description and Diagrams.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
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.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
Use Case Diagrams.
4-1 © Prentice Hall, 2007 Topic 4: Structuring Systems Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey.
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
بسم الله الرحمن الرحيم اللهم صلي علي احمد السجايا محمد الخصال شفيع البرايا سليم النوايا صادق الاقوال.
Object Oriented Analysis and Design Using the UML
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Use Cases. 2 A use case... –Specifies the behavior of a system or some subset of a system. –Is a system-level function. –Does not indicative how the specified.
Chapter 5 – System Modeling
CompSci 280 S Introduction to Software Development
Systems Analysis and Design in a Changing World, Fourth Edition
Welcome to M301 P2 Software Systems & their Development
Chapter 7 Appendix A Object-Oriented Analysis and Design: Use Cases
CHAPTER
Using Use Case Diagrams
Chapter 4: Business Process and Functional Modeling, continued
Chapter 5 System modeling
The Movement To Objects
Lec-5 : Use Case Diagrams
Chapter 5 – System Modeling
Chapter 5: Structural Modeling
Object-Oriented Analysis and Design
Unified Modeling Language
Object-Oriented Systems Analysis and Design Using UML
Review By: Reham Lotfi.
Start at 17th March 2012 end at 31th March 2012
Behavioral Modeling.
System Modeling Chapter 4
UML PPt by: Hong Qing Yu.
Introduction to UML Introduction to UML Shiyuan Jin September,23,2002
SE-565 Software System Requirements IV. Use Cases
Use Case Modeling.
Unified Modeling Language
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Chapter 9 Use Cases.
Object Oriented Analysis and Design
Use Cases.
Use Cases 1.
CIS 375 Bruce R. Maxim UM-Dearborn
Analysis models and design models
Software Design Lecture : 15.
Use Case Model Use case diagram – Part 2.
Using Use Case Diagrams
Interaction Modeling Extracted from textbook:
Use Case Modeling Part of the unified modeling language (U M L)
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
Chapter 4 System Modeling.
Information System Design
Lecture 8 Object Concepts
Presentation transcript:

Use case Diagram

UML Diagrams UML have several different types of diagrams that can be used to describe a model from different point of views. These are:- Use Case, Sequence, Communication, Activity, Statechart, Class, Component and Deployment Diagram.

Use case Diagram: A use case diagram is “a diagram that shows the relationships among actors and use cases within a system. The use case diagrams describe system functionality as a set of tasks that the system must carry out and actors who interact with the system to complete the tasks.

Use Case: Each use case on the diagram represents a single task that the system needs to carry out. Fro example (Buy a Product, Add Client …) One use case

Scenarios in use case: A scenario is a formal description of the flow of events that occur during the execution of a use case instance. It defines the specific sequence of events between the system and the external actors.

Actor : An actor is anything outside the system that interacts with the system to complete a task.  It could be a user or another system. actor "uses" the use case to complete a task.

Relationship between use cases: Include : Use the includes link to show that one use case includes the task described by another use case. Example:

Relationship between use cases: Extend: Use the Extends link to show that one use case extends the functionality of another use case at specific Extension Points.

Relationship between use cases: Extend Example :

Relationship between use cases: Generalization: The generalization link is an informal way of showing that one use case is similar to another use case, but with a little bit of extra functionality.  One use case inherits the functionality represented by another use case and adds some additional behavior to it.

Relationship between actors: Generalization: Generalization is a relationship between two use cases or two actors. Where A is a generalization of B, it means A describes more general behavior and B a more specific version of that behavior. person Employee

Relationship between actor and use case: Association: The association is the link that is drawn between and actor and a use case.  It indicates which actors interact with the system to complete the various tasks.

System Boundary: It is usual to display use cases as being inside the system and actors as being outside the system.

General Example of relationship

Example :

Example: The following sample shows a Use Case Diagram for an on-line CD catalog.  The system has a single actor: the on-line customer.  The customer can browse the catalog, search for a CD, add a CD to the order, view the order details, and place the order. Both "View Order Details" and "Place Order" use "Calculate Order Total".

Example(cont ..) Place order

University Record System (URS) A University record system should keep information about its students and academic staff. Records for all university members are to include their id number, surname, email, address, date of birth, and telephone number. Students and academic staff each have their own unique ID number: studN (students), acadN (academic employee), where N is an integer (N>0).

University Record System (ConT…) In addition to the attributes mentioned above: Students will also have a list of subjects they are enrolled in. A student cannot be enrolled in any more than 10 subjects. Academic employees will have a salary, and a list of subjects they teach. An academic can teach no more than 3 subjects.

Some Actions Supported by URS The system should be able to handle the following commands. Add and remove university members (students, and academic staff) Add and Delete subjects Assign and Un-assign subjects to students Assign and Un-assign subjects to academic staff.

Use Case Diagram URS System Add member Del member Administrator academic Add subject Del subject Assg subject Unass subject student Enrol subject Unenrol subject