Valuepart A10 Draw The Er Diagrampart B 2010 Map The Er Diagr ✓ Solved

Valuepart A10 Draw The Er Diagrampart B 2010 Map The Er Diagr

Part A: Draw the ER diagram. Identify a real-life business situation to design a database for. The situation should be something you are interested in or familiar with, such as hobbies, associations, or work-related concerns. Your design should include a variety of entities (more than 4), different kinds of relationships (many-one, many-many), and various attribute types. Provide the following:

  • A brief informal description of the situation (maximum length: 1 A4 page).
  • A list of business rules (you can make logical assumptions).
  • An ER diagram showing attributes, primary keys, and relationships (use Chen and Crow's foot notation).

Part B: Map the ER diagram to 3NF. Translate your ER Diagram into a schema of normalized tables in at least 3rd Normal Form. Include:

  • A flat structure table with all attributes.
  • A determination of functional dependencies.
  • Development of relations in 3NF shown as text notation.

Paper For Above Instructions

Introduction

Information Systems are crucial for managing data in any business organization. To effectively manage data, a well-designed database is essential. The following paper details the design of a database for a fictional music school, "Harmony Music Academy." This paper will cover the specific business situation, provide an ER diagram, outline business rules, and demonstrate normalization to third normal form (3NF).

Business Situation

Harmony Music Academy offers a variety of music lessons for different instruments including guitar, piano, and violin. The academy serves students of all ages and skill levels. The need for a database arises from the necessity to store information on students, instructors, classes, schedules, and payments. The academy's operations require an organized approach to manage data effectively, ensuring that each student's needs are met while maintaining a smooth workflow.

Business Rules

1. Each student can enroll in multiple classes, but each class can accommodate many students (many-to-many relationship).

2. Instructors teach one or more classes.

3. Each class has a specific schedule and duration.

4. Payments methods accepted are credit card and cash.

5. The academy tracks overdue payments and class cancellations.

ER Diagram

The ER diagram for Harmony Music Academy includes the following entities:

  • Student: Attributes include StudentID (Primary Key), Name, Age, ContactInfo, and EnrollmentDate.
  • Instructor: Attributes include InstructorID (Primary Key), Name, Specialization, and ContactInfo.
  • Class: Attributes include ClassID (Primary Key), ClassName, Schedule, and Duration.
  • Payment: Attributes include PaymentID (Primary Key), StudentID (Foreign Key), Amount, PaymentDate, and Method.

The relationships are as follows:

- A student enrolls in many classes (1:M).

- An instructor teaches multiple classes (1:M).

Mapping to 3NF

To convert the ER diagram into 3NF, we establish the following relationships and dependencies:

- Student (StudentID, Name, Age, ContactInfo, EnrollmentDate)

- Instructor (InstructorID, Name, Specialization, ContactInfo)

- Class (ClassID, ClassName, Schedule, Duration)

- Enrollment (StudentID, ClassID) to track student enrollments.

- Payment (PaymentID, StudentID, Amount, PaymentDate, Method)

The functional dependencies ensure that there are no transitive dependencies and all non-key attributes are fully functionally dependent on the primary key, which brings the tables into 3NF.

Conclusion

The establishment of a database for Harmony Music Academy will streamline operations and facilitate better data management. By identifying business rules and structuring data using ER diagrams and normalization techniques, the academy will be able to maintain accurate records for students, instructors, and payments. This structured approach leads to improved efficiency, allowing the academy to focus on its mission of delivering quality music education.

References

  • Elmasri, R., & Navathe, S. B. (2015). Fundamentals of Database Systems. Pearson.
  • Coronel, C., & Morris, S. (2015). Database Systems: Design, Implementation, & Management. Cengage Learning.
  • Hernandez, M. J. (2013). Database Design for Mere Mortals: A Hands-On Guide to Relational Database Design. Addison-Wesley.
  • Troy, R. (2018). Data Modeling Made Simple: A Practical Guide for Business and IT Professionals. Technics Publications.
  • Rob, P., & Coronel, C. (2016). Database Systems: Design, Implementation, & Management. Cengage Learning.
  • Date, C. J. (2004). An Introduction to Database Systems. Addison-Wesley.
  • Thompson, T. (2017). Database Design with ER Diagrams: A Practical Guide for Database Developers. Mit Press.
  • Silberschatz, A., Korth, H. F., & Sudarshan, S. (2011). Database System Concepts. McGraw Hill.
  • Barker, R. (2002). "Information Modeling and Relational Databases". Morgan Kaufmann.
  • Friedman, H. (2019). "Normalization and Denormalization: Database Design Techniques", Inside Database Journal.