Lab # 3 Modeling Use Case Diagram Using Rational Rose: Objective
Lab # 3 Modeling Use Case Diagram Using Rational Rose: Objective
Lab # 3
Modeling Use Case Diagram using Rational
Rose
Objective
An Overview of Modeling Use Case Diagram
Creating a Use Case Diagram
These diagrams show the functionality of a system or a class and how the system
interacts with the outside world.
Use-case diagrams can be used during analysis to capture the system requirements
and to understand how the system should work.
During the design phase, use-case diagrams specify the behavior of the system as
implemented.
1. In the Window on the left side click on the "+" (plus) sign next to "Use Case
View"
2. In the same window, double click on the icon next to "Main". This will open a
blank Use Case diagram called "Main"
Adding an Actor
1. To create an Actor, click on the stick figure icon located on the toolbar in the
middle of the screen. Then click on the diagram to place the Actor.
2. Open the Actor's specification by right clicking on the Actor (in the diagram)
and select "Specification" from the pop-up menu. Fill in applicable fields. The
specification can also be brought up by double clicking on the actor.
LAB TASK
Q1: Draw a use case diagram of the stated scenario: A user has all the rights of login
to a catalog management website browse the catalog and view products.
Similarly, the administrator of that website has all the rights that a user has but
in addition to that administrator has other rights too that include Logout, create
product, edit product and to delete product. Find out the actors and relation of
actor or actors to the use cases.
Note: Show the relevant association of actors with the use cases.
State the Actors and Use Cases of the above stated scenario and describe briefly
the dependencies between them.
Muhammad Saad Ali 2019-CE-087
Q2: At the start of each semester a student can request a prospectus containing a
course list. Information about a course is provided, such as the tutor, department
and pre-requisites. The new system will allow students to create a schedule, then
select four courses. Each student chooses two others in case their first choices
become full or are cancelled. No course can have more than 10 students. No
course can have less than 3 students or it will be cancelled. This will be the same
functionality as available to other internal users of the system. When
registration is complete, the registration system sends a message to the billing
system to send out a bill to the student.
Tutors use the system to find which classes they are teaching and who the
students are. The
registrar will administer the system.
For a period at the beginning of the semester the student can change their
schedule.
Students must be allowed to access the system during this time to add or delete
courses.
Identify the Actors, Use Cases and Association of the given scenario.
Muhammad Saad Ali 2019-CE-087
Q3: For the hospital Management System, a general example is shown below.
Patients health.