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

DBMS Lab Assignment 02

The document describes 5 assignments to construct entity relationship (ER) diagrams and database schemas for different scenarios: 1) A university registrar's office tracking departments, courses, course offerings, students, instructors, and marks. 2) A national cricket league tracking teams, players, games. 3) An unspecified scenario. 4) A company tracking departments, projects, employees, employee dependents. 5) A railway reservation system.

Uploaded by

Sachin Gaikwad
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)
81 views2 pages

DBMS Lab Assignment 02

The document describes 5 assignments to construct entity relationship (ER) diagrams and database schemas for different scenarios: 1) A university registrar's office tracking departments, courses, course offerings, students, instructors, and marks. 2) A national cricket league tracking teams, players, games. 3) An unspecified scenario. 4) A company tracking departments, projects, employees, employee dependents. 5) A railway reservation system.

Uploaded by

Sachin Gaikwad
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

Database Management System (DBMS) Lab Assignment 02

01. A University Registrar’s office maintains data about the following entities:
A. DEPARTMENT - including department_id, name and contact_no;
B. COURSES - including course number, title, credits, syllabus and department;
C. COURSE OFFERINGS - including course number, year, semester, section number,
instructor(s), timings and classroom;
D. STUDENTS - including student-id, name, department and course-program;
E. INSTRUCTORS - including identification number, name, department and course program;
F. MARKS – including subject, total credit.
Construct a clean and concise ER diagram for the REGISTRAR office. Document all assumptions
that you make about the mapping constraints. Then build the schema and show the tables.

02. Suppose you are given the following requirements for a simple database for the National
Cricket League (NCL):
A. TEAM - includes team_id, team_name, city, coach, captain, and a set of players,
B. PLAYER - includes player_id, name, position (such as batsman, keeper, baller etc), a skill
level, and a set of injury records (Each player belongs to only one team), team_id, captain.
C. GAME - includes is host_team, guest_team, date, score and winner.
Construct a clean and concise ER diagram for the NCL database. Document all assumptions that you
make about the mapping constraints. Then build the schema and show the tables.

03. Construct an E-R diagram for following. Then build the schema and show the tables.

Here, * defines as Primary Key.


04. Construct an ER Diagram for COMPANY having following details :
A. DEPARTMENT - includes unique id, name and a particular employee who manages the
department, start date for the manager is recorded and department may have several
locations.
B. PROJECT - includes unique_id, name, number and a single location.
C. EMPLOYEE - includes employee_id, name, address, salary, sex, birth date are recorded.
An employee is assigned to one department, but may work for several projects (not
necessarily controlled by her dept), number of hours/week an employee works on each
project is recorded, and the immediate manager for the employee is also recorded.
D. EMPLOYEE_DEPENDENT - includes dependent name, birthdate, employee_id,
relationship to employee. (This is tracked for health insurance purposes).
Construct a clean and concise ER diagram for the Company database. Document all assumptions
that you make about the mapping constraints. Then build the schema and show the tables.

05. Construct an ER Diagram for the RAILWAY RESERVATION system. Document all
assumptions that you make about the mapping constraints. Then build the schema and show
the tables.

You might also like