Tutorial 3 - Data Model_3
Tutorial 3 - Data Model_3
Assessment TUTORIAL 3
Task: Continue from tutorial 2, identify the type of relationship (one to one, one to many or many to
many) and draw the ERD for the following.
Scenario: You are tasked with designing a data model for an online bookstore. The
bookstore sells various types of books, including fiction, non-fiction, and textbooks.
Customers can create accounts, browse books, add them to their shopping carts, and make
purchases. The system should also keep track of authors, publishers, and orders.
Exercise: Identify the entities, attributes, and relationships from the given scenario.
Scenario: You are designing a data model for a university's course registration system.
Students can enrol in multiple courses each semester, courses have prerequisites, and
professors teach multiple courses. The system also needs to keep track of student grades
and course schedules.
Exercise: Identify the entities, attributes, and relationships from the given scenario.
Exercise 3: Hospital Patient Management Data Model
Scenario: You are tasked with designing a data model for a hospital's patient management
system. The hospital has various departments, including emergency, cardiology, oncology,
etc. Patients are admitted to the hospital, assigned to specific departments, treated by
doctors, and undergo medical procedures. Additionally, the hospital maintains records of
diagnoses and prescriptions.
Exercise: Identify the entities, attributes, and relationships from the given scenario.
Scenario: You are designing a data model for an e-commerce platform's product inventory
system. The platform sells various products across different categories. Each product has
attributes such as name, price, description, and stock quantity. Customers can add products
to their carts, make purchases, and leave reviews.
Exercise: Identify the entities, attributes, and relationships from the given scenario.