0% found this document useful (0 votes)
3 views2 pages

Use Case Diagram Exercises

The document contains exercises for creating use case diagrams in various scenarios, including a library system, online shopping system, student portal, and ticket booking system. Each exercise outlines tasks such as identifying actors, use cases, and relationships, as well as correcting flawed diagrams. The exercises aim to enhance understanding of use case modeling in software design.

Uploaded by

Ricky Tepora
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)
3 views2 pages

Use Case Diagram Exercises

The document contains exercises for creating use case diagrams in various scenarios, including a library system, online shopping system, student portal, and ticket booking system. Each exercise outlines tasks such as identifying actors, use cases, and relationships, as well as correcting flawed diagrams. The exercises aim to enhance understanding of use case modeling in software design.

Uploaded by

Ricky Tepora
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

Use Case Diagram Exercises Worksheet

Exercise 1:

Scenario:

A library system allows members to borrow books, return books, and search for books. Librarians can

register new members and manage inventory.

Tasks:

- List all the actors

- Identify at least 5 use cases

- Sketch a use case diagram showing relationships

Exercise 2:

Below is a partial use case diagram for an Online Shopping System. Fill in the missing elements:

Actors: [Customer], [System Admin]

Use Cases:

- Browse Products

- Add to Cart

- _________ (missing)

- Manage Inventory

- ____________ (missing)

Tasks:

- Fill in 2 missing use cases

- Add associations between actors and use cases

Exercise 3:

Scenario:

A student portal system includes functionality for:

- Students to view grades, register for courses, and update their profile

- Professors to submit grades and view enrolled students

- Admins to manage courses


Use Case Diagram Exercises Worksheet

Tasks:

- Identify actors and use cases

- Indicate any include/extend relationships

- Draw a complete use case diagram

Exercise 4:

Scenario:

In a ticket booking system, users can:

- Book tickets

- Cancel tickets

- Make payments (which is part of booking)

- Receive notifications (optional when booking or canceling)

Tasks:

- Identify "include" and "extend" use cases

- Draw the full use case diagram showing these relationships

Exercise 5:

Here is a flawed use case diagram. Identify at least 3 mistakes:

Actor: Student

Use Cases: View Grades, Login, Register

Mistakes to spot:

- All use cases floating with no actor connected

- Use cases labeled as system processes (e.g., "Process Grades")

- Use case "Login" connected to multiple actors without explanation

Tasks:

- List and correct the mistakes

- Sketch a corrected version of the diagram

You might also like