You are on page 1of 4

Software Engineering I Semester I 2013 Lab 03

In this Lab we will draw Use Case diagrams by identifying Use Cases, Actors and Relationships appropriately to model the given case study. Instructions:

Open IBM Rational Architect software from the Start menu. Create new folder named SE I- Lab 03 on desktop or a removable disk. Close the welcome screen. Follow these instructions to create a Use Case Diagram.

File > New > UML Model > Standard Template > General > Blank Package>Finish. In the IBM Rational architect Window in the left panel right click the Blank Package. Right Click Add Diagram > Select Use Case Diagrams>

Use Case Diagram

Sequence Diagram

Activity: Try the below diagram in the figure by using IBM Rational Architect software.

Exercise 01: Draw a use case diagram to model the requirements for the above system.

The PLC Holdings is a company with a large number of employees working in. But the company is lacking a proper attendance management mechanism. Therefore the directors in the company wish to develop a system for employees attendance management and you are hired as a system analyst to identify the requirements. Requirement of the system are stated below. When an employee arrives at or leaves the office premises he/she has to swipe the card, to mark the attendance and departure respectively. The

times are recorded in an attendance database. This should be done every day. The system stores employee attendance information and is intended to handle the salary and OT Payments. The HR manager can view the detailed attendance of a particular employee at any time. Further, if an urgent need occurs he/she can print the attendance report per employee at any point of time. At the end of every month, the HR manager wants to generate monthly leave report for each employee to check their leave usage. During this process, a copy of this report needs to be automatically mailed to each employee. The finance manager wants to use the system to generate the monthly salary report. The OT hours and No-pay leaves of each employee should be calculated for this purpose.

Exercise 02: Below are some scenarios from a hairdressers system. By doing through the description draw a use case diagram model for the system at Cool Cuts Saloon.

Jacky rings the hairdressers of Cool Cuts for an appointment for a haircut. Bianca, one of the trainees, asks her who normally cuts her hair. Jacky says Priyantha or Ruki. Bianca asks when she would like to come. Jacky says Saturday. Bianca says that Ruki has a free slot on Saturday at 1.15pm. Jacky says that would be fine. Ravi rings Cool Cuts for an appointment for a haircut. Mandy, the receptionist, asks him who normally cuts his hair. Ravi says he hasn't been before. Mandy asks when he would like to come. Ravi says Thursday afternoon. Mandy says Diana has a free slot at 5.00pm on Thursday. Ravi says that would be fine. Amanda rings Cool Cuts for an appointment to have a haircut and her hair colored. Michael, the manager, asks her who normally colors her hair. Amanda says she would like Diana to color her hair and Heshani to cut her

hair. Michael says he can't find a time when both are free until three weeks on Monday at l0.25am. Amanda says she will take that slot. Michael, the manager of Cool Cuts, takes on a new haircutter called Shan. Shans day off will be Tuesday. Michael enters these details into the computer system. Micheal normally enters the details of the employees. Even though Michael has full access to the system, the receptionist is mainly responsible for taking payments. He also allows Mandy to handle the inventory in his absence.

After her cut and blow dry Jacky comes to the reception desk to pay. Mandy says that will be Rs.1000 by calculating the payment amount. The customer pays the amount due. Mandy registers the amount paid on the system. When new stocks of hair dressing products are delivered to the saloon, Mandy notices that the price of several of the items has increased; She updates the prices of the relevant items on the system. She also updates the stock levels for those items that have been delivered. When customers come to the reception to pay for their haircut, they sometimes buy hairdressing products shampoo, conditioner etc. The receptionist enters the product code and the system looks up the price of the product. Sometimes customers come into Cool Cuts just to buy shampoo or conditioner. However, these off-the-street customers want to pay for the products as a separate transaction.

You might also like