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

ERD Diagram Questions

The document outlines the design requirements for four different database systems: a Tawara Motor Company employee database, a restaurant management system, an e-learning platform, and a hospital management system. Each system requires the creation of an Entity-Relationship Diagram (ERD) that details the entities, attributes, and relationships, including many-to-many relationships. Additionally, a corporate employee management system is described, which also necessitates an ERD to manage employee details, departments, projects, and performance reviews.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

ERD Diagram Questions

The document outlines the design requirements for four different database systems: a Tawara Motor Company employee database, a restaurant management system, an e-learning platform, and a hospital management system. Each system requires the creation of an Entity-Relationship Diagram (ERD) that details the entities, attributes, and relationships, including many-to-many relationships. Additionally, a corporate employee management system is described, which also necessitates an ERD to manage employee details, departments, projects, and performance reviews.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Logo💙, [26/08/2024 10:31]

The Tawara Motor Company is designing a database to store information on each

employee, their job and the branch in which they work. For each employee, the

database needs to hold information on their name, their payroll number (which

is unique to them and has two letters followed by four digits, the first letter is

always T or M), the branch in which they work and the code of the job that they

perform. For each job, the job code and description must be stored along with

the rate of pay for that job. For each branch of the company, the branch number,

branch name, address and a weighting which is used to calculate salaries

will be stored. The job code and branch numbers are both single letters. The

weighting ensures that employees living in larger cities, where housing costs

are higher, receive more pay than workers in areas where housing costs are

lower. This is a decimal value between 0 and 2 stored to two decimal places.

Design and create this database

Logo💙, [26/08/2024 10:31]

1. Restaurant Management System

A restaurant management system needs to manage information about customers, reservations, orders,
and menu items. Each customer has a unique customer ID, name, phone number, and email address.
Each reservation has a unique reservation ID, a date, a time, and the number of guests, and is associated
with a specific customer. Each order has a unique order ID, a date, and a total amount, and is associated
with a specific reservation. Each menu item has a unique item ID, a name, a description, and a price. An
order can include multiple menu items, and a menu item can be part of multiple orders.

Question: Draw a comprehensive Entity-Relationship Diagram (ERD) for this restaurant management
system. Identify all the entities, their attributes, and relationships, including any many-to-many
relationships, and describe how they are connected.

2. E-Learning Platform

An e-learning platform requires a database to manage information about students, instructors, courses,
and enrollments. Each student has a unique student ID, a name, an email address, and a date of birth.
Each instructor has a unique instructor ID, a name, an email address, and a department. Each course has
a unique course ID, a title, a description, a credit value, and an instructor ID (foreign key). Each
enrollment has a unique enrollment ID, a date of enrollment, and a grade. Each student can enroll in
multiple courses, and each course can have multiple students enrolled. Additionally, instructors can
teach multiple courses.

Question: Draw a detailed Entity-Relationship Diagram (ERD) for the e-learning platform. Define all
entities, their attributes, and the relationships between them, including any junction tables needed for
many-to-many relationships.

3. Hospital Management System

A comprehensive hospital management system needs to track patients, doctors, departments,


appointments, and medical records. Each patient has a unique patient ID, a name, a date of birth, and an
address. Each doctor has a unique doctor ID, a name, a specialty, and a department ID (foreign key).
Each department has a unique department ID and a name. Each appointment has a unique appointment
ID, a date, a time, and a patient ID (foreign key). Each medical record has a unique record ID, a diagnosis,
a treatment plan, and is associated with a specific appointment and patient. Each patient can have
multiple medical records and appointments.

Question: Create a comprehensive Entity-Relationship Diagram (ERD) for this hospital management
system. Specify all entities, their attributes, and the relationships, including how they interact with one
another and any necessary junction tables for many-to-many relationships.

4. Corporate Employee Management System

A corporate employee management system needs to handle employee details, departments, projects,
and performance reviews. Each employee has a unique employee ID, a name, a position, a salary, and a
department ID (foreign key). Each department has a unique department ID and a name. Each project has
a unique project ID, a name, a start date, and an end date. Each performance review has a unique
review ID, a review date, a rating, and feedback, and is associated with a specific employee. Employees
can be assigned to multiple projects, and each project can have multiple employees.

Question: Draw a comprehensive Entity-Relationship Diagram (ERD) for this corporate employee
management system. Identify entities, their attributes, and their relationships, including any many-to-
many relationships and how they are managed in the database.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy