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

Assignment for each group

The document outlines six assignments focused on creating ER diagrams for various systems, including a school database, library management, hospital database, online shopping, sports league, and university admission. Each assignment specifies entities, attributes, and relationships relevant to the respective system. The entities include Students, Teachers, Books, Authors, Patients, Doctors, Customers, Orders, Teams, Players, Applicants, Courses, and Faculty, among others.
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)
8 views2 pages

Assignment for each group

The document outlines six assignments focused on creating ER diagrams for various systems, including a school database, library management, hospital database, online shopping, sports league, and university admission. Each assignment specifies entities, attributes, and relationships relevant to the respective system. The entities include Students, Teachers, Books, Authors, Patients, Doctors, Customers, Orders, Teams, Players, Applicants, Courses, and Faculty, among others.
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

Assignment 1: School Database

Create an ER diagram for a school database, including:

- Entities: Students, Teachers, Classes, Subjects

- Attributes: Student ID, Name, Grade; Teacher ID, Name, Department; Class ID, Name, Teacher ID;
Subject ID, Name

- Relationships: Students-Classes, Teachers-Classes, Classes-Subjects

Assignment 2: Library Management

Design an ER diagram for a library management system, including:

- Entities: Books, Authors, Borrowers, Loans

- Attributes: Book ID, Title, Author ID; Author ID, Name; Borrower ID, Name, Email; Loan ID, Book ID,
Borrower ID, Due Date

- Relationships: Books-Authors, Borrowers-Loans, Loans-Books

Assignment 3: Hospital Database

Create an ER diagram for a hospital database, including:

- Entities: Patients, Doctors, Appointments, Departments

- Attributes: Patient ID, Name, Contact; Doctor ID, Name, Specialty; Appointment ID, Patient ID, Doctor
ID, Date; Department ID, Name

- Relationships: Patients-Appointments, Doctors-Appointments, Appointments-Departments


Assignment 4: Online Shopping

Design an ER diagram for an online shopping system, including:

- Entities: Customers, Orders, Products, Payments

- Attributes: Customer ID, Name, Email; Order ID, Customer ID, Date; Product ID, Name, Price; Payment
ID, Order ID, Method

- Relationships: Customers-Orders, Orders-Products, Payments-Orders

Assignment 5: Sports League

Create an ER diagram for a sports league database, including:

- Entities: Teams, Players, Games, Leagues

- Attributes: Team ID, Name, League ID; Player ID, Name, Team ID; Game ID, Team ID, Date; League ID,
Name

- Relationships: Teams-Players, Teams-Games, Games-Leagues

Assignment 6: University Admission

Design an ER diagram for a university admission system, including:

- Entities: Applicants, Courses, Departments, Faculty

- Attributes: Applicant ID, Name, Email; Course ID, Name, Department ID; Department ID, Name; Faculty
ID, Name, Department ID

- Relationships: Applicants-Courses, Courses-Departments, Departments-Faculty

You might also like