Courses/Computer Science/CPSC 203/CPSC 203 Template/Labs Template/Week 1 - Lab 1

From wiki.ucalgary.ca
Jump to: navigation, search

Introduction

Today's tutorial introduces to use case diagrams. The following material is contributed by TA Dina Said.

References

Igor Ivković. UML Tutorial Part 1: UML Use Cases.

http://courses.softlab.ntua.gr/softeng/Tutorials/UML-Use-Cases.pdf

Why UML (Unified Modeling Language) Use Case?

  1. A description of sequences of actions performed by a given system to produce a result for an actor
  2. Use cases specify the expected behavior [what], and not the exact method of making it happen [how]

Components of the Use Case Diagram

1) Actors

  • An actor specifies a role that some external entity adopts when interacting with the system directly.
  • It may represent a role played by:
    • a user
    • another system
    • a piece of hardware
  • Actors may be both at input and output ends of a use case

Actors.JPG

2)Use Case

  • Describes all the services required or performed by the actor.

Usecasedina.JPG

Problem Statment 1

Problemstatement1.JPG

Solution1.JPG

Problem Statment 2

Problemstatement2.JPG

Solution2.JPG