IDB Revision

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Question 1 - ERD

Consider the following scenario for a car manufacturing company:


The organisation makes many models of cars, where a model is characterised by a
name and a suffix (such as GL or XL which indicates the degree of luxury) and an
engine size.
Each model is made up from many parts and each part may be used in the manufacture
of more than one model. Each part has a description and an id code. Each model of car
is produced at just one of the firm's factories, which are located in London, Birmingham,
Bristol, Wolverhampton and Manchester - one in each city. A factory produces many
models of car and many types of part although each type of part is produced at one
factory only.
Design and draw an entity-relationship diagram that captures the information above.
Indicate appropriate attributes, keys, cardinalities and participation constraints in your
diagram.
Question 2 Normalisation
Using the ROOM table structure shown below, normalize the table up to 3NF. You are
required to write the relational schema of normalized tables and identify all dependencies
(including all partial / transitive dependencies).

RoomNumber
N325

BuildingCode
NTC

BuidlingName
NotTooClear

ItemID
231134-678

C123

CSF

CanSeeFar

342245-225
254668-449
231134-699

N626

NTC

NotTooClear

342245-225
254668-449

ItemName
HP DeskJet
895Cse
HP Toner
DT Scanner
HP DeskJet
998Cse
HP Toner
DT Scanner

You might also like