Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Total Marks: _____________

Obtained Marks: _____________

Software Engineering (Lab)


Lab Task #5

Submitted To: Syed Mohsin Ali Shah


__________________________________________________________________________

Student Name: M. Nouman


__________________________________________________________________________

Reg. Number: 1712184


___________________________________________________________________________

Software Engineering (Lab) BSCS-5 SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Task # 01

Activity is started by Commuter actor who needs to buy a ticket. Ticket vending machine will
request trip information from Commuter. This information will include number and type of
tickets, e.g. whether it is a monthly pass, one way or round ticket, route number,
destination or zone number, etc.
Based on the provided trip info ticket vending machine will calculate payment due and
request payment options. Those options include payment by cash, or by credit or debit card.
If payment by card was selected by Commuter, another actor, Bank will participate in the
activity by authorizing the payment.

Activity Diagram

Software Engineering (Lab) BSCS-5 SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Task # 02

Construct a design element for Point of sale terminal management system that can be used
for buying and selling of goods in the retail shop.
When the customer arrives at the post check point with the items to purchase. The cashier
records each item, price and adds the item information to the running sales transaction. The
description and price of the current item are displayed. On completion of the item entry the
cashier informs the sales total and tax to the customer. The customer chooses payment type
(cash, cheque, credit or debit). After the payment is made the system generates a receipt
and automatically updates the inventory. The cashier handovers the receipt to the customer

Activity Diagram (Sale Transaction)

Software Engineering (Lab) BSCS-5 SZABIST-ISB

You might also like