You are on page 1of 2

ShaheedZulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Total Marks: 05

Obtained Marks:

Database Systems
Assignment # 01
Last date of Submission: 08th November, 2021

Submitted To: Babar Jehangir


______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Student Name: _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Reg Number: _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Database Systems BS(CS)-4 SZABIST-ISB


ShaheedZulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Instructions:
 Copied or shown assignments will be marked zero.
 Late submissions will result in marks deduction.

Read the given case study and Create an ERD that represents the entities, attributes, the
relationships between entities, and the cardinality of each relationship that are described in the
case study. Also consider the given business rules while creating ERD.
Mega Boats (M &B) Company is a small start-up company that sells small boats in Lahore. M & B keeps
its model in several showrooms across the city. At this stage customers cannot view the available models
online so to order they must visit one of the showrooms. M &B has been using an excel spreadsheet to
track their business activities; however, this has caused many redundancies and inefficiency.
With view to their expanding business and under the new management, they decided to investigate the
option of implementing a database system. Accordingly, they hired you to design a relational database to
better track and record their operational data.
M&B business rules for creating ERD are as follows :
1. M &B can get boats from several different manufacturers. Each manufacturer produces one or
more different types of boats. Each and every type is produced by only one manufacturer. Every
manufacturer is identified by a manufacturer code. The company name, street, city, state,
postcode, phone number, and account number are kept in the system for every manufacturer.
For each type the type name (i.e. Paddle, Inflatable, Jet Ski etc.) and purpose (i.e. fishing, day
boating etc.)
2. Every type has one or more models. Every model is produced as part of a type. For each model,
the model number, engine, length, beam, suggested retail price. M &B retail price and dry weight
must be kept in the system.
3. Each type’s models are stored in a specific warehouse. Each warehouse stores the models of only
one type. Each warehouse is identified by a warehouse ID. For each warehouse address,
postcode, phone number are kept in the system.

Database Systems BS(CS)-4 SZABIST-ISB

You might also like