0% found this document useful (0 votes)
16 views2 pages

DBMS Exp 4

Uploaded by

my11cricle628
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

DBMS Exp 4

Uploaded by

my11cricle628
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Experiment No: 4

Draw E-R Diagram for the systems given in the practical list.

Date:

Competency and Practical Skills: Design database for any application

Relevant CO: CO2

Objectives: (a) Analysis of data storage requirement of given application


(b) Design database for given application.
(c) Pictorial representation of database design on paper
.
Equipment/Instruments: Personal Computer, Pencil, Paper

Detail Explanation:
Draw E-R Diagram for followings
1) Design an ER diagram that models the following objects and relationship in the world of football:
teams,players, games, managers, contracts

 Each team has a unique team name, city it plays in.


 Each person being a part of team has unique id and name.
 For player their weight, height, position and birth date are of importance.
 Players have a contract with at most one team and receive a salary for their services and team
hasat least 24 and at most 99 players under contract.
 Each team has one to three managers, managers can work for at most 4 team and receive a
salaryfor each of their employment.
 Players can’t be manager.
 A game involves a home team and visiting team. Additionally the day of game and the
score ofgame are of importance.
 Teams play with each other several times in a season.
 Moreover for each game played we would like to know which player took part in the game
andhow many minutes they played.
 Also show the cardinalities for each relationship type.

2) Construct an E-R Diagram for a company database. Consider that the database of the company
keepstract of the following information.
 Employees, which includes empid, empname, address, gender, date of birth, age, date of joining.
 Department, which includes deptid, deptname, deptlocation
 Project, which includes projid, projname, projlocation.
 One employee can belong to only one dept. But can work in multiple projects.
 One dept can have any numbers of employees and number of employees can be involved in
oneproject.
 Multiple projects are going on in one dept and one project can be done in number of dept.
 Also show that each dept is managed by a manager who is one amongst the employees.

Safety and necessary Precautions:


1. Student can use software tools to draw ER diagram
2. Draw each component neatly
3. Write content in drawn symbol in readable font
4. Properly use the symbols
Procedure:
1. Read and understand the requirement of given problem statement
2. Identify the entity set and attributes of each set
3. Define type of each attribute and key of each attribute set.
4. Also identify the weak entity set if any. For the weak entity set identify the partial key
and indentifying strong entity set
5. Define relationship set among entity sets
6. Identify attributes of relationship set along with its type
7. Draw all entity set, relationship sets along with their keys and attributes on paper or
using any software tool.

Observations:

// put your drawing here

Conclusion:

Quiz:
1. Draw the symbols used for ER diagram
2. Define weak entity set.
3. How can we implement tables from ER diagram? Explain with example.

Suggested Reference:
1. “Database System Concepts”, 6th Edition by Abraham Silberschatz, Henry F. Korth, S.
Sudarshan, McGraw-Hill.
2. “An introduction to Database Systems”, C J Date, Pearson.
References used by the students:

Rubric wise marks obtained:


Knowledge of Programming Team work (2) Communication Skill Ethics(2)
subject (2) Skill (2)

Goo Averag Goo Averag Good Satisfactory Good Satisfactory Good Average
d (2) e (1) d (2) e (1) (2) (1) (2) (1) (2) (1)

Rubrics 1 2 3 4 5 Total
Marks

You might also like