Final answer:
To represent the entities, relationships, and attributes of the Qwerty Bus Company, we can create an ER diagram. The entities include Driver, Bus, and Charter Assignment, and there are several relationships between them. Each entity also has specific attributes.
Step-by-step explanation:
ER Diagram for Qwerty Bus Company
To represent the entities, relationships, and attributes of the Qwerty Bus Company, we can create the following ER diagram:
Entities:
Driver (sssn, fname, lname, birthdate, age, dln)
Bus (blpn, make, model, year, no_of_seats)
Charter Assignment (ca_id, datebegin, timebegin, dateend, timeend, startlocation, endlocation)
Relationships:
Driver - Charter Assignment: Many-to-Many relationship
Bus - Charter Assignment: Many-to-Many relationship
Driver - Bus: Many-to-Many relationshi
Attributes:
Each driver can have one or more charter assignments, so the Driver entity has a multi-valued attribute (Charter Assignment).
Each bus can have one or more charter assignments, so the Bus entity has a multi-valued attribute (Charter Assignment).
Each driver is certified to drive one or more buses, so the Driver entity has a multi-valued attribute (Bus).
Each bus must have at least one driver certified for it, so the Bus entity has a minimum cardinality constraint (Driver).
This ER diagram captures the relationships and attributes as described in the requirements for the Qwerty Bus Company.