0% found this document useful (0 votes)
22 views

DB Lab Assignment

The document provides instructions for a lab assignment on database systems. It includes details on submitting the assignment, a question to draw an ER diagram for a sales scenario, and a second question to create a database and tables from the ER diagram and insert records.

Uploaded by

naimish khan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

DB Lab Assignment

The document provides instructions for a lab assignment on database systems. It includes details on submitting the assignment, a question to draw an ER diagram for a sales scenario, and a second question to create a database and tables from the ER diagram and insert records.

Uploaded by

naimish khan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

JINNAH UNIVERSITY FOR WOMEN

DEPARTMENT OF COMPUTER SCIENCE & SOFTWARE ENGINEERING


SUMMER 2021
LAB ASSIGNMENT
Course Title: Database System Batch: BS(SE/CS)
Course Code: CSS 2102 Marks: 20
Instructor: Sana Iqbal

Instructions

 The assignment must be submitted on JUW LMS.


 Email submission will not be accepted
 Each student has to solve the assignment individually
 Plagiarism may lead to marks deduction

Question 1 [Marks: 10]


Draw an ER diagram with relationship and cardinalities for the given scenario:
A salesperson may manage many other salespeople. A salesperson is managed by only one
salespeople. A salesperson can be an agent for many customers. A customer is managed by one
salespeople. A customer can place many orders. An order can be placed by one customer. An order
lists many inventory items. An inventory item may be listed on many orders. An inventory item is
assembled from many parts. A part may be assembled into many inventory items. Many employees
assemble an inventory item from many parts. A supplier supplies many parts. A part may be
supplied by many suppliers.

2 Page 1 of
JINNAH UNIVERSITY FOR WOMEN
DEPARTMENT OF COMPUTER SCIENCE & SOFTWARE ENGINEERING
SUMMER 2021
LAB ASSIGNMENT

Question 2 [Marks: 10]


Create database and tables using ERD and insert some records in database.

2 Page 2 of

You might also like