Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Database Management System (CS403)

Assignment No.2

                                           Total Marks:    10




Your assignment must be uploaded before or on Tuesday 27th Nov 2012.


Rules for Marking

It should be clear that your assignment will not get any credit if:

  1. The assignment is submitted after due date
  2. The assignment is copied



The objectives of this assignment are,

  1. Giving the idea of a most commonly used semantic data model for graphical representation of conceptual database design i.e. Entity Relationship Data model. 
  2. Giving the idea of entities and their attributes and the relationship between them.
  3. Providing an understanding of types of relationships i.e. in how many ways an entity interact with other entity in real world.


Important Note:

This Assignment is the continuation of First Assignment. Take same case study given in Assignment 1 (also provided at the end of this assignment), apply the techniques and methods given in lectures and by utilizing the solution of first assignment uploaded on LMS in the form of DFD in order to finalize the tasks of second assignment listed below in task description.  Some hints are provided below to link DFD with ERD which can be helpful in your design process.


  1. Every data store in DFD must correspond to at least one entity in the ERD.
  2. There should be processes in DFD which create, modify and delete instances of the entities in the ERD.
  3. For every relationship in ERD there should be a process in DFD which uses it.


Task Description:

In this assignment you will focus on the tasks given below:


  1. You have to identify as many Entities as you can for this system.
  2. You have to find out all possible Attributes of these Entities.
  3. You will have to find the Relationship among those Entities.
  4. Identify all the cardinalities existing between the entities and also show their dependencies.
  5. You will make a final comprehensive ER-diagram consisting of all Entities, Attributes and their relationships along with their respective Primary Keys.


You have to perform all these steps given above in your solution file.



Use all concepts you have studied so far and techniques in order to identify Entities, attributes and their relationships of the given case study discussed particularly from 7 to 14 regarding ER data model.



Drawing Final ER Data Model:


You can use any tool for drawing like MS Office or Visio.


Important things to consider: 


  1. As happens in real world that everyone visualize a problem in different way so the solutions of all students should be according to their own thinking not taken from some source.
  2. As this is your first comprehensive design, so you have to work very keenly and with concentration. This design requires your full attention as this conceptual design will be transformed into a relational model in next assignment. Any mistake in this conceptual design can cause you much burden afterwards.



Case Study


In this course we are going to develop a complete physical database for “Trade Management System” that will computerize all the necessary Trade Management processes for a small business shop, BEST Mart. For this we will divide this whole project in small 4 to 5 assignment chunks and will try to cover every phase of database development life cycle from scratch to execution. Scenario for the Trade Management System is given below.


There exists a BEST Mart- a shopping centre, whose owner wants to computerize his business by developing Trade Management System. For this, owner hires a Database Administrator and put up a real world scenario and requirements as given below:

Trade Management System permits users to proficiently initiate and evaluate the process of requirement for the BEST Mart. Procedure begins when a client comes to BEST Mart, selects the cart and place the things in cart and goes towards salesman. The salesman examines the code of each selected item. On entry system will display invoice with some details like name of the product, its related magnitude/quantity and total sales line items along with total bill. After placing order, client will ahead to accountant counter to pay bill. 

Trade Management System will support both types of customers, Registered and Non-Register. For Registered customers it is necessary for system to check whether he/she is on credit bases or not. For non-registered customers, it must have to be registered only by the Owner of the BEST Mart. Information about number of creditors and debtors are known by the accounts department.

System will show flexibility in a sense that it should accept all payment methods i.e. cash, credit and cash with credit.

Same is the scenario with Administrator/Owner of BEST Mart to purchase items from different vendors on cash, credit or combination of two. The stock department and Sale department will need to generate reports about stock status sale in different time span.



Views: 10002


Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

plzzzzzzzzzzz     Cs403 assignment no 2 ka solution upload kar dain 

You will make a final comprehensive ER-diagram consisting of all Entities, Attributes and their relationships along with their respective Primary Keys.

kindly clear me about the primary key in this daigram

Shazia ap nay assignment bnai hy?

hi yha py i think stck mang has vend ho ga jha tk mjy lgta ha stack mang vend ko supply krta ha my be em wrong ap confrm kr do plz?


  esi me ko b bana den word file me

Very good attempt...  I think 18/20  ;) 

plzz discuss the solution
entities ke bare me btaye koi
kon kon si entities ban sakti hen?
stock manager
ye sab sahi hen? kam hen? ya ziyada hen?
in ke attributes b share karen plz

bhaiya jee inventory ki entity kis liy..? owner ki entity bi bany gi...aur baki I think sahi han

attributes kudi sy hi banaty jy apni smj sy...jasy customer ki ...cust_name, cust_id,order_no...etc aur jin entities ka relation banaen un ki primary key zaroor banaen...jasy agar customer and salesman ka relation ha to customer ma cust_id and order_no ko primary key aur in ka salesman ky sat relation ha to salesman ki entity ma order_no primary of luck :)

kaya hum product ko as a entities ly skty hain..?????


Looking For Something? Search Below

Latest Activity

+ ! zεε liked иαвєєℓ αнмє∂'s discussion CS619 Project Students
54 minutes ago
Hamid left a comment for jiya ali
1 hour ago
Hamid and jiya ali are now friends
1 hour ago
Usama shahid joined + M.Tariq Malik's group
8 hours ago
Yasir Hassan liked + ♥ Haniya Khan's photo
9 hours ago
Profile Iconsria aslam, Khawir Abbas and Sana Shafaq joined Virtual University of Pakistan
12 hours ago
+ ♥ Haniya Khan posted a photo
23 hours ago
Abdul Rehman updated their profile

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service