You are on page 1of 1

Max Point: 15

Time Allowed: 60 Min


Department of Computer Science | School of Arts & Sciences
Obtained Marks:
Course: Software Engineering
Mid Term Exam, Spring 2020

Student Name: ID:

Question.

Draw a Class Diagram for the following scenario.

The main objective of online shopping is to allow its customers to search and order products using
Internet. Products may be books, music CDs, clothes and computer software etc. For each product
there may be marketing material that can be displayed this will consist of reviews (that can be read)
and samples (that can be run). The following is a use case scenario:

“A customer named Rizwan looks for the latest Pakistani Pop Singer ATIF’s CD and reads a review of it.
He decides to buy it. The system creates an order for Rizwan and adds this item. He then chooses to buy
Norman Fenton’s Software Metrics book. The system also adds this item to Rizwan’s basket. The system
calculates the total cost for both the selected items. Rizwan provides his mailing details and credit card
details while checking out. The purchased items are then sent to Rizwan by post.”

You might also like