0% found this document useful (0 votes)
42 views3 pages

UML Use Case Diagram Lab Task Exercise-2

Uploaded by

Ye Myat Thu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views3 pages

UML Use Case Diagram Lab Task Exercise-2

Uploaded by

Ye Myat Thu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ASE CN7021 LESSON 2

UML USE CASE DIAGRAM- LAB TASK EXERCISE

Draw UML Diagrams using https://app.diagrams.net/

EXERCISE 1
Draw a UML Use Case diagram for the detailed use case.
Use Case – Buy a Product

i. Customer browses Catalog & selects items to buy


ii. Customer goes to check out
iii. Customer fills in shipping information (address, next-day or 3-day delivery)
iv. System presents full pricing information
v. Customer fills in credit card information
vi. System authorizes purchase
vii. System confirms sale immediately
viii. System sends confirming email to customer

EXERCISE 2 ATM Bank System


1) User performs ATM transaction

2) Inserts card Check invalid PIN or Invalid Card through PIN validation

3) Use can be a web merchant, bank employee, bank database, Retail institution

4) Bank employee performs desktop transaction

5) Online transaction is done through login and validate for valid/invalid login

6) End of online transaction, bank employee must log out.

Design a UML Use case diagram using <<include>> <<extend>> and super type and sub type use
cases.

EXERCISE 3
Create a use case diagram for the below problem statement

The task is, of constructing the design elements for a system that can be used to manage
courses/classes for an organization that specializes in providing training. Let us name the system that
we will be designing as the Courseware Management System. The organization offers a variety of
courses in a variety of areas such as learning management techniques and understanding different
software languages and technologies. Each course is made up of a set of topics. Tutors in the
organization are assigned courses to teach according to the area that they specialize in and their
availability. The organization publishes and maintains a calendar of the different courses and the
assigned tutors every year. There is a group of course administrators in the organization who manage
the courses including course content, assign courses to tutors, and define the course schedule. The

Page 1 of 3
training organization aims to use the Courseware Management System to get a better control and
visibility to the management of courses as also to streamline the process of generating and managing
the schedule of the different courses.

The problem statement shows up the following terms and entities specific to the system:

• Courses and Topics that make up a course


• Tutors who teach courses
• Course administrators who manage the assignment of the courses to tutors
• Calendar or Course Schedule is generated because of the
• Students who refer to the Course schedule or Calendar to decide which courses they wish to
take up for study

EXERCISE 4

Page 2 of 3
EXERCISE 5
Vending Machine: Use Case Diagram
Model with a UML Use Case diagram the following System: Vending Machine.
A vending machine sells small, packaged, ready to eat items (chocolate bars, cookies, candies, etc.).
Each item has a price and a name. A customer can buy an item, using a smart card (issued by the
vending machine company) to pay for it. No other payment forms (i.e. cash, credit card) are allowed.
The smart card records on it the amount of money available. The functions supported by the system
are:
- Sell an item (choose from a list of items, pay item, distribute item)
- Recharge the machine
- Set up the machine (define items sold and price of items)

- Monitor the machine (number of items sold, number of items sold per type, total revenue) The
system can be used by a customer, a maintenance employee (who recharges items in the machines),
an administrator (who sets up the machine).

-THE END-

Page 3 of 3

You might also like