Download presentation
Presentation is loading. Please wait.
Published bySpencer Williams Modified over 9 years ago
1
IT Skills Use Case Diagrams
2
Objectives Richard Hancock - 20102 Define what a use case is Describe the common elements of a use case diagram Be able to draw a use case diagram Differentiate between include and extend relationships ***
3
What is a Use Case? Richard Hancock - 20103 A use case describes how a type of user called an actor uses a system to achieve a goal Example Jisun wants to create a user account for our online photo application. To do that she goes to our website and sees a hyperlink called “Create Account”. Clicking that she is prompted for her desired username, a password and her email address. After she provides this information, an active account is created and she is logged onto the website. Three things are needed in order to describe a use case: 1. The actor/s involved 2. The system being used 3. The goal the actor achieves in using the system (the reason for the system)
4
The Actor Richard Hancock - 20104 The actor describes a role that users play in relation to the system; all we care about is what their relationship to the system is The actor is external to the system Actors do not have to be people, they can be other systems The goal must be of value to the actor ***
5
Use Case Diagram Richard Hancock - 20105 The purpose of a use case diagram is to show what functions serve an actor Actor is always outside the system boundary
6
ATM Example Richard Hancock - 20106
7
Relationships - Include Richard Hancock - 20107 Book Assessment and Book Lesson include Check Availability of Tutors This means if you book an assessment you must also check availability of tutors > should point towards the use case being included
8
Relationship - Extend Richard Hancock - 20108 The flow of the extended use case Order Wine is only included under certain conditions So, Order Food can be extended with Order Wine, meaning you do not have to order wine with your food, it’s optional > should point towards the use case/s being extended, not the extending use case
9
Applying Use Cases Richard Hancock - 20109 Identify the actors – who will use the system? Identify their goals – what will they be using the system to do? In trying to identify goals, what distinct workflows or outcomes might we need to consider? ***
10
Summary Richard Hancock - 201010 Use case diagrams graphically show how a type of user called an actor uses functions in a system to achieve a goal Diagrams are made up of the actor, the use case, relationships and a system boundary Actors are always external to the system containing the use cases > relationship means to always include > relationship means to conditionally include Make sure the arrows are going the right way > should point towards the use case being included > should point towards the use case/s being extended, not the extending use case ***
11
Questions… Richard Hancock - 201011 …are there any?
12
Resources Richard Hancock - 201012 Use Case Diagrams Use Case Diagrams More Use Case Diagrams More Use Case Diagrams Unified Modelling Language Unified Modelling Language
13
Exercise Richard Hancock - 201013 Develop a use case diagram for ordering an item from a catalogue company (e.g. Argos) and paying for it Assume that you are in the store ready to pick up the item Assume the item is in stock Assume the item does not need to be home delivered 1. Think about the different actors involved 2. Try to think about their activities in fulfilling the order 3. Think about the goals
14
Richard Hancock - 201014 End!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.