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

EER Model for Class Scheduling System

The document outlines the requirements for developing an Enhanced Entity-Relationship (EER) model for an international school of technology's database management system focused on class scheduling. It details various entities such as Room, Media, Computer, Instructor, Timeslot, Course, and Section, along with their attributes and business rules governing their relationships. The document emphasizes the need to distinguish between classrooms and labs, as well as the scheduling constraints for rooms, instructors, and courses.

Uploaded by

hungptim147
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

EER Model for Class Scheduling System

The document outlines the requirements for developing an Enhanced Entity-Relationship (EER) model for an international school of technology's database management system focused on class scheduling. It details various entities such as Room, Media, Computer, Instructor, Timeslot, Course, and Section, along with their attributes and business rules governing their relationships. The document emphasizes the need to distinguish between classrooms and labs, as well as the scheduling constraints for rooms, instructors, and courses.

Uploaded by

hungptim147
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

CHAPTER 03.

EER MODEL
Develop an EER model for the following situation using the traditional EER notation,
the Visio notation, or the subtypes inside supertypes notation, as specified follow
requirement:
An international school of technology has hired you to create a database management
system to assist in scheduling classes. After several interviews with the president, you
have come up with the following list of entities, attributes, and initial business rules:
 Room is identified by Building ID and Room No and also has a Capacity. A room
can be either a lab or a classroom. If it is a classroom, it has an additional attribute
called Board Type.
 Media is identified by MType ID and has attributes of Media Type and Type
Description. Note: Here we are tracking type of media (such as a VCR, projector,
etc.), not the individual piece of equipment. Tracking of equipment is outside the
scope of this project.
 Computer is identified by CType ID and has attributes Computer Type, Type
Description, Disk Capacity, and Processor Speed. Please note: As with Media
Type, we are tracking only the type of computer, not an individual computer. You
can think of this as a class of computers (e.g., PIII 900MHZ).
 Instructor has identifier Emp ID and has attributes Name, Rank, and Office Phone.
 Timeslot has identifier TSIS and has attributes Day Of Week, Start Time, and End
Time.
 Course has identifier Course ID and has attributes Course Description and Credits.
Courses can have one, none, or many prerequisites. Courses also have one or more
sections.
 Section has identifier Section ID and attribute Enrollment Limit.
After some further discussions, you have come up with some additional business rules
to help you create the initial design:
 An instructor teaches one, none, or many sections of a course in a given semester.
 An instructor specifies preferred time slots.
 Scheduling data are kept for each semester, uniquely identified by semester and
year.
 A room can be scheduled for one section or no section during one time slot in a
given semester of a given year. However, one room can participate in many
schedules, one schedule, or no schedules; one time slot can participate in many
schedules, one schedule, or no schedules; one section can participate in many
schedules, one schedule, or no schedules. Hint: Can you associate this to anything
that you have seen before?
 A room can have one type of media, several types of media, or no media.
 Instructors are trained to use one, none, or many types of media.
 A lab has one or more computer types. However, a classroom does not have any
computers.
 A room cannot be both a classroom and a lab. There also are no other room types
to be incorporated into the system.

Common questions

Powered by AI

To extend the EER model to include equipment tracking beyond media and computer types, one needs to introduce new entities such as 'MediaEquipment' and 'ComputerEquipment'. These entities would include attributes like Equipment ID, Purchase Date, Status, and Location to uniquely identify each piece of equipment. Associations between 'Media' and 'MediaEquipment', and 'Computer' and 'ComputerEquipment' would define a one-to-many relationship, where each equipment type can be linked to multiple individual pieces. This extension provides a detailed tracking mechanism, allowing for comprehensive inventory management and maintenance scheduling .

The model ensures exclusivity between classrooms and labs by defining them as distinct subtypes under a general 'Room' entity, supported by business rules precluding any overlap. While both may share some infrastructure elements like room identification or basic capacity, the attributes and relationships assigned to classrooms and labs enforce exclusiveness. For instance, a lab can house one or more computer types, whereas a classroom cannot. The exclusivity is further managed by enforcing a subtype discriminator attribute in the entity relationship, confirming each room's unique allocation to either subtype .

To prevent scheduling conflicts between rooms and timeslots, the EER model needs to enforce multiple business rules. These include the constraint that a room can be scheduled for one section or no section during a single timeslot in a given semester of a given year. Similarly, each timeslot should be associated with only one room and section per schedule. This can be enforced through unique composite keys or constraints in the scheduling entity, which bind Room ID, Timeslot ID, and Semester-Year strictly to a single section. Such rules ensure exclusivity and prevent overlaps, thus averting scheduling conflicts within the school's operation cycles .

The complexity arises from the need to track multiple skills per instructor and ensuring these match with room media capabilities. The EER model can represent this by establishing a many-to-many relationship between the 'Instructor' and 'Media' entities, necessitating a join table or associative entity such as 'InstructorMediaTraining', comprising attributes including Instructor ID and MType ID. This complexity requires careful management of training records and certifications, linking media types to instructor competencies. It ensures that qualified instructors are available for courses requiring specific media set-ups, optimizing teaching effectiveness and resource allocation .

Allowing a room to be equipped with several types of media or none at all impacts its scheduling and resource allocation by introducing flexibility and specificity in resource assignment. Rooms with diverse media capabilities might be scheduled preferentially for courses requiring specific media types, ensuring optimal utilization of multimedia resources. This also influences resource allocation strategies, as it determines the types of instructional activities that can be supported in each room, affecting decisions about investment in media equipment and future development of instructional spaces. Additionally, it requires careful tracking of media types associated with rooms within the scheduling system to avoid overbooking or resource conflicts .

The EER model distinguishes between labs and classrooms by using subtypes under the 'Room' entity. The 'Room' entity is categorized into 'Lab' and 'Classroom' subtypes. Each room is identified by Building ID and Room No, and has a Capacity attribute. For classrooms, an additional attribute 'Board Type' is specified, while labs require a specification of one or more computer types. The rule stipulates that a room cannot simultaneously be both a classroom and a lab, ensuring exclusive classification of rooms into these subtypes without overlaps .

The allowance for a course to have multiple or no prerequisites in the EER model implies a flexible relationship between courses, where each course entity can be associated with zero, one, or many other course entities as prerequisites. This requires a recursive relationship setup in the database design, where a 'Course' entity can link back to other courses, detailing dependency and knowledge hierarchies required before enrollment. It adds complexity to the database schema but provides comprehensive scheduling and course management capabilities .

Managing changes in course credits and structure requires a dynamic yet robust strategy, capable of adapting without compromising database integrity. A possible approach involves structuring the EER model to incorporate version control for courses. This entails creating entities like 'CourseVersion', encapsulating attributes such as Course ID, Credits, Description, and Validity Period. Any change initiates a new version record. Referential integrity is maintained through a cascade update or historical versioning approach, where past versions are archived but remain unaffected by edits in active instances, thus preserving data accuracy and consistency across course iterations and transitions .

The model incorporates instructor preferences and availability through the 'Instructor' entity and its relationship with 'Timeslot' and 'Section' entities. An instructor specifies their preferred timeslots, which are recorded with attributes such as 'Day Of Week', 'Start Time', and 'End Time'. When assigning sections to instructors, these preferences must be taken into account to ensure proper alignment with available timeslots, promoting efficient schedule management while respecting instructor availability and preferences. These specifications help in optimizing resource allocation and satisfaction levels of the teaching staff .

Recursive relationships regarding course prerequisites in the EER model involve allowing a 'Course' entity to relate to itself. This can be implemented using a separate entity or attribute, such as 'CoursePrerequisite', capturing the association where a course ID is mapped to one or many other course IDs as prerequisites. This requires careful design to ensure that dependencies are correctly recorded without circular references. The recursive representation most likely uses a foreign key setup within the course entity resulting in a tree-like structure of course dependencies, thus capturing the hierarchical prerequisite nature efficiently .

You might also like