You are on page 1of 2

ID# BC170400258

CS304
Assignment No 1

Problem Statement:

Suppose you are designing an online book store for VU students which will offer various
products like reference books, course handouts, lecture DVDs and USBs. The Users are of two
types Customers and Students. The users may place their orders using Debit/Credit card or Cash
method to purchase any number of items from the book store. Now, keeping the above scenario
in your mind:

Draw an Object Model (Class Diagram) for the given scenario showing main objects, their
attributes, functions and relationships.

The tasks you have to do are:


1. Extract the main objects (entities) of above system.
2. Find the necessary attributes and functions that need to be associated with each object.
3. Identify the relationships among identified objects.
4.Construct a final comprehensive Class diagram showing all objects and their relationships
along with their attributes and functions.
Important things to consider:

1. As happens in real world that everyone visualizes a problem in a different way so the
solutions of all students may vary based upon their own thinking.

2. You have to use standard UML notations for objects, classes, and their associations.
Online Book Store

Attributes

VU Students
Costumer

Student ID ID
Behavior
Name Name
Address Address
Offer Books
Course
Handouts
Lecture
DVD or
USB

Payment
Method

Debit Card
Cash

You might also like