Taiz University
AlSaeed College for Engineering and IT
IT, SE, and CND Departments.
Term Projects – Instructions
DATABASE DESIGN TERM PROJECTS
Student ID Student Name
Note: This is your hands on training opportunity that covers your learning during the class lectures i.e.
starting from requirement analysis towards implementation of an enterprise database. This project must
consist of your own work completed during the semester. Please go through all these steps and prepare
your document according to the following format.
Part 1: Requirements Analysis
Overview of Company/Product(s)
Provide a one-page document entitles "Business Overview" i.e. the business for which you want to create
a “management system”, which identifies:
a. Your business (e.g. Student management system)
b. Type of business (example educational/wholesaler/internet shopping etc.)
c. Short description of the company/ business
d. Products
Part 2: Conceptual Design
1. Create an ER diagram for various entities along with their relationships based on the information
you collected during requirement analysis. Only include the entities and relationships identified:
a. Entities
b. Named Relationships
Example:
Entity: Student, Instructor
Relationship: A teacher teaches students.
Teacher Student
Teaches
Eng. Hashim Al Atefi Database System Concepts
Taiz University
AlSaeed College for Engineering and IT
IT, SE, and CND Departments.
Part 3: Detailed Design
1. Modify the ER diagrams from Conceptual design (i.e. Part 2) for various entities along with their
relationships; include attributes, primary keys, foreign keys, optionality and cardinality:
a. Entities
b. Relationships
c. Attributes
d. Optionality and Cardinality
e. Unique Identifiers (i.e. Primary Keys)
f. Foreign Keys
Example: A teacher can teach many students.
Designation Name
Name Teacher-ID
Dept Student -ID
Teacher-ID
Address
1 M
Teacher Student
Teaches
Fill the following table for above ER diagram:
Entities Attributes Relationship Primary Foreign
Key
Student Student ID; Name; Teacher-ID; Is taught by a Student-ID Teacher-
Address Teacher ID
Teacher Teacher-ID; Name: Designation; Teaches student Teacher-ID Nil
Dept
2. Create a second ER diagram that resolves many-to-many relationships (if there is any).
Eng. Hashim Al Atefi Database System Concepts
Taiz University
AlSaeed College for Engineering and IT
IT, SE, and CND Departments.
Part 4: Physical Model (Mapping)
1. Convert the logical model to a physical model using a table format (not implementation)
Entity Type: STUDENT
Attributes Data Type Required/Optional
Student ID Integer (10) Required
Name Varchar(50) Required
Teacher-ID Integer(10) Required
Address Varchar(30) Required
Entity Type: TEACHER
Attribute Data Type Required/Optional
Teacher-ID Integer (10) Required
Name Varchar(50) Required
Designation Varchar(25) Required
Dept Varchar(30) Required
Part 5: Implementation of Physical Model
Note: Implement into any DBMS and share screenshots
Construct CREATE statement for each table
Example: Create statement for TEACHER table:
create table TEACHER (
TEACHER-ID int(10) not null,
NAME varchar(50) not null,
DESIGNATION varchar(25) not null,
DEPT varchar(30) not null,
primary key (TEACHER-ID)
);
Example: Create statement for STUDENT table:
create table STUDENT (
STUDENT-ID int(10) not null,
NAME varchar(50) not null,
TEACHER-ID int(10) references TEACHER(Teacher-ID),
ADDRESS varchar(30) not null,
primary key (STUDENT-ID)
);
Eng. Hashim Al Atefi Database System Concepts
Taiz University
AlSaeed College for Engineering and IT
IT, SE, and CND Departments.
Eng. Hashim Al Atefi Database System Concepts
Taiz University
AlSaeed College for Engineering and IT
IT, SE, and CND Departments.
Part 6: Design queries
Populate the tables with dummy values. Design as many queries as possible?
Example:
How many tables (i.e. entities) are there in the database?
List the teacher of every student?
Etc.
Deadline:
15 December 2023
Grade Points:
10
Guidelines:
The project should be done in a group (maximum 4 students per group).
a. Each group must select a unique project topic.
i. Consult course instructor with your choice and assignment of selected topic
Project must provide accurate and related documentation.
Plagiarism is strictly prohibited.
Few sample Topics
Library Management System Database
Hospital Management System Database
Student Record Keeping Database
Hotel Management System Database
Insurance Management System Database
Electric Bill System Database
Course management system database
Employee attendance system database
Online Shop Database
Eng. Hashim Al Atefi Database System Concepts