Docsity

Interaction Modeling, Exercises of Object Oriented Analysis and Design

Toggle sidebar
bg1
National University of Computer and Emerging sciences
Course: Object-Oriented Analysis and Design Lab Lab Instructor: Tarviha Fatima &
Mehak Fatima
Course Instructor: Dr. Ali Afzal Lab 7
Section: CS-6A2 Total Marks : 50
Interaction Modeling
In-Lab Problems:
Interaction Modeling Problem Marks: 50
Consider a system of Shapes Wellness Center. The center provides Badminton courts,
Swimming pool & Gym. Shapes offers 3 types of memberships: Regular, Premium and
Platinum. Premium members pay annually and have access to any 2 facilities. Regular
members pay monthly for each facility separately. Platinum Members pay bi-yearly and can
avail any facility at 25% discount on a Regular member's fee.
An Admin must manage the system. He can:
•Add account - Add new members to the Shapes Wellness Center
•Remove account - Remove members from the Shapes Wellness Center
•View Details
Admin can view all details about any member. This help him in the following two
functionalities i.e. Manage memberships and Manage Transactions.
•Manage memberships
Re-new memberships. But before renewing, the admin confirms that the fees is paid.
Admin can also upgrade or downgrade memberships upon requests from the
members.
•Manage transactions
All transactions are made via cash or credit card. 4% extra will be charged on credit
card. Admin receives the cash and record the transaction in the system against the
member.
Every member has a smart card which can open the door on scanning. The smart card can be
disabled for the facility based on privileges or fee submission.
pf2

Partial preview of the text

Download Interaction Modeling and more Exercises Object Oriented Analysis and Design in PDF only on Docsity!

National University of Computer and Emerging sciences

Course: Object-Oriented Analysis and Design Lab Lab Instructor: Tarviha Fatima &

Mehak Fatima

Course Instructor: Dr. Ali Afzal Lab 7

Section: CS-6A2 Total Marks : 50

Interaction Modeling

In-Lab Problems:

Interaction Modeling Problem Marks: 50 Consider a system of Shapes Wellness Center. The center provides Badminton courts, Swimming pool & Gym. Shapes offers 3 types of memberships: Regular, Premium and Platinum. Premium members pay annually and have access to any 2 facilities. Regular members pay monthly for each facility separately. Platinum Members pay bi-yearly and can avail any facility at 25% discount on a Regular member's fee. An Admin must manage the system. He can:

  • Add account - Add new members to the Shapes Wellness Center
  • Remove account - Remove members from the Shapes Wellness Center
  • View Details Admin can view all details about any member. This help him in the following two functionalities i.e. Manage memberships and Manage Transactions.
  • Manage memberships Re-new memberships. But before renewing, the admin confirms that the fees is paid. Admin can also upgrade or downgrade memberships upon requests from the members.
  • Manage transactions All transactions are made via cash or credit card. 4% extra will be charged on credit card. Admin receives the cash and record the transaction in the system against the member. Every member has a smart card which can open the door on scanning. The smart card can be disabled for the facility based on privileges or fee submission.

Q1: Draw use case diagram for the above-mentioned scenario in StarUML. Q2: You are to design activity diagram of a scenario in StarUML which resolves an issue in a software design. When a ticket is created by some authority in the system, it is checked if an issue is reproduced, if so, that issue is identified by the system, then its resolution is determined, that issue is then fixed and verified, and ticket is closed, if issue was resolved.