Anda di halaman 1dari 2

Database Management Systems - IV Semester

CLASS WORK - E-R Model Date: 24-Dec-2010


----------------------

1. JobSearch.com is an internet based company. The company provides


information about opened positions to students looking for a job and in
the same time provides information about candidates to the companies.
Both companies and the students can access the database. Students
access the database to post their resume and look for opened positions
in their area of study. Companies access the database to post their
job openings as well as look for the candidates that best fit their
need.

For every student the following information is kept in the database:


student identification number, name birthday, telephone number,
address, e-mail address, gender, country of citizenship, immigration
status, university, major department, degree program, skills.

For every company the following information is recorded:


name, address (street, city, state, zip code), telephone number,
website address, and industry.

When a job opening is submitted, the companies specify the following:


posted date, job description, type of job (full time, part time,
contract, etc.), number of openings, and contact person.

A contact person that works with company looks into the database,
chooses candidates and schedules the interviews.

Draw an E-R diagram for the JobSearch.com database. Specify key


attribute of an each entity type and structural constraints on
relationship type. Clearly state any assumptions you make.

2. A store displays items on shelves and would like to keep track of


which items are on which shelves.
An item is described by a unique ID, its manufacturer, its name, the
space it occupies on a shelf, its cost and its retail price.
A shelf is described by a unique shelf ID and its size. When an item
is placed on a shelf, a date is specified for when the item will be
removed from the shelf
Add a restriction that a shelf should not be empty
Draw an ER diagram that complete describes the entities and
relationships with constraints.

3.In an educational institute, there are several departments and


students belong to one of them.
Each department has a unique department number, a name, a location,
phone number and is headed by a professor
Professor have a unique employee Id, name and phone number
Students have a unique roll number, name, gender, phone number, date
of birth, age and one or more email addresses.
Students have local address consisting of the hostel name and the room
number.
They also have home address consisting of house number, street, city
and PIN.
It is assumed that all students reside in the hostels
A course taught in a semester of the year is called a section. There
can be several sections of the same course in a semester; these are
identified by the section number. Each section is taught by a different
professor and has its own timings and room to meet. Students enroll for
several sections in a semester.
Each course has name, number of credits and the department that offers
it. A course may have other courses as pre-requisites i.e., courses to
be completed before it can be enrolled in.
Professors also undertake research projects. These are sponsored by
funding agencies and have a specific start date, end date and amount of
sponsorship. A project has a unique projectId
More than one professor can be involved in a project. Also a professor
may be simultaneously working on several projects.
Draw an ER diagram that complete describes the entities and
relationships with constraints

Submit your solution on 29-Dec-2010.

Anda mungkin juga menyukai