0% found this document useful (0 votes)
72 views4 pages

Exercises - DB Design

The document describes exercises for conceptual database design. Exercise 1 describes an entity relationship model for a Tiny College with schools, departments, courses, classes, professors, and classrooms. Exercise 2 describes an entity relationship model for a Road Transport Department that administers driving tests and licenses, involving driving schools, tests, licenses, and drivers. Exercise 3 describes an entity relationship model for an employment agency matching job applicants to jobs, involving employers, jobs, applicants, and job histories.

Uploaded by

Arm Rule
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)
72 views4 pages

Exercises - DB Design

The document describes exercises for conceptual database design. Exercise 1 describes an entity relationship model for a Tiny College with schools, departments, courses, classes, professors, and classrooms. Exercise 2 describes an entity relationship model for a Road Transport Department that administers driving tests and licenses, involving driving schools, tests, licenses, and drivers. Exercise 3 describes an entity relationship model for an employment agency matching job applicants to jobs, involving employers, jobs, applicants, and job histories.

Uploaded by

Arm Rule
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/ 4

Class Exercises

Database Design

28/1/2023
Database Model – Exercise 1
• Tiny College (TC) is divided into several schools (e.g., school of business, applied sciences). Each school is
administered by a dean who is a professor. Each dean can administer only one school.
• Each school is composed of several departments. For example, the school of business has an accounting
department, a management/marketing department, an economic/finance department, and a computer
information systems department.
• Each department may offer courses. For example, the management/marketing department offers courses
such as Introduction to Management, Principles of Marketing, and Production Management. However,
some departments were classified as “research only”, those departments would not offer courses.
• The department may offer several classes of the same course (e.g., Database course). Each of those
classes is thought by a professor at a given time in a given place. Each department may have many
professor assigned to it. One and only one of those professor chairs the department, and no professor is
required to accept the chair position.
• Each professor may teach up to four classes, each class is a section of a course. A professor may also be
on a research contract and teach no classes at all. A class is taught in a room. Each room is located in a
building. But, some buildings do not contain (class) rooms.

Identify entity, relationship and attribute – draw the conceptual design using ER
2
Database Model – Exercise 2
Road Transport Department (RTD) administers driving tests and issues driver's licenses. Any
driver who wants a driver's license must first take a computerized examination at any branch of
driving school in the province. Normally, driving school have several branches, which are the
name, the owner, and the location of driving school are recorded by the RTD. If the driver fails
the examination, he/she can take the examination again at any time after a week of the failed
examination date, at any branch. If a driver passes the examination, he/she will be issued a
license (type license = learner's) with a unique license number. A driver license (type=learner)
may contain a single restriction on it to inform the driver is novices. The driver may take his
driver's practical examination at any driving school and any time before the learner's license
expired (which is usually set at six months after the learner’s license issue date). If a driver
passes the examination, the RTD will issue him a driver's license. A driver's license must also
record the status of driver's education (completed/uncompleted), and cost involved for
insurance purposes.

Identify entity, relationship and attribute – draw the conceptual design using ER
Database Model – Exercise 3
An employment Agency is computerizing its service for matching
prospective job applicants with the requirements of various jobs to
store historic details of applications for jobs. An employer may offer a
number of jobs. Applicants may apply for many jobs. The job history
for each applicant is recorded as previous job (if any). Employer
details include Employer name (unique) and Address. Job details
include Job Code (unique), Job Title and salary. Applicant details
include Applicant number (unique), Name, Address, Phone number
and Date of Birth plus dates of job application. Job history details
include Job History# (unique), Title, Salary, Duration, & Skill required.

Identify entity, relationship and attribute – draw the conceptual design using ER
4

You might also like