Description
Q 1. [40 pts] Consider the following system description for a museum information systems:
A museum has multiple departments.A museum has collections. A collection belongs to a department.
Art-objects belong to a collection. An art-object has a unique acquisition number, object type, title, description, dimension, production date, and production
country. Examples of object types are paintings, sculptures, etc. An art-object
may be linked to an artist. Some art-objects are just without one. An art-object
belongs to a period (i.e. Roman Empire).
An exhibition takes place in a museum which exhibits various art objects from
various collections. An exhibition has a start and end date, as well as a home
department. Art objects may be borrowed temporarily from various museums
for a specific exhibition.
A) [20 pts] Design a data model that implements the above description. Identify the
entities, relations, attributes, keys, and their cardinalities. Identify strong and weak
entities and relations, if applicable. Represent the end result in the form of an ERD
diagram. single arrow – no arrow notation for cardinalities and single line – double line
for partial and total participations [??].
B) [10 pts] Provide the DDL script for the above.
C) [10 pts] Provide a database instance that demonstrate an exhibition with local (from
home department) and borrowed art objects.
Q 2. [40 pts] Consider the following system description to manage group or private lessons:
Consider an organization that offers group or private lessons (of various types,
such as yoga, swimming, etc.) to clients.
The organization owns or rents space
(gyms, rooms, swimming pools) in various locations in possibly different cities
across the province and each location is made available over some given schedule,
where a schedule is essentially a sequence of day-time slots. E.g. “The EVBuilding gym Room 7, in Montreal, is available for Judo classes on Sundays from
12 noon to 3PM, from September 1st to November 30th, 2024.” The length of
a time slot is not fixed (and you are free to create schedules as you see fit). For
example, a swimming lesson would normally be for half hour, but a Judo class
would normally be for one hour.
A given location can only accommodate one lesson at any given time slot on a
given day. The same type of lesson can be offered in both modes (private, group).
For example, at the same location the organization would offer private swimming
lessons and group swimming lessons.
The organization does not have permanent instructors, but it hires seasonal instructors of various specializations. An instructor would register with the system
by entering their credentials (name and phone number) and specialization as
well as to register their availability in one or possibly several cities. For example,
“Grace (514 – . . . ) is a swim instructor, available to work in Montreal and Laval.”
Once registered, an instructor can subsequently take on possibly several offerings
that the organization makes available. All offerings are made available to po2
tential instructors, but only those that have been taken by instructors are made
available to the public in order to attract clients. For example, “We offer private
and group Judo classes in EV-Building on Sundays from 12PM to 3PM from
1.Sep to 30.Nov as follows: 12:00 – 13:00. Group. Instructor: . . . 13:00 – 14:00.
Group. . . . 14:00 – 14:30. Private. . . . 14:30 – 15:00. Private. . . . We offer
swimming classes at . . . . . . ”
A) [25 pts] Design a data model that captures the above description. Identify the entities,
relations, attributes, keys, and their cardinalities. Identify strong and weak entities and
relations, if applicable. Represent the end result in the form of an ERD diagram, using
chen notation [??].
B) [6 pts] Provide the schema and explicitly identify the domains of each attribute.
C) [9 pts] Provide a database instance that demonstrate offers to a sample instructor,
one of which is accepted, one is rejected, and one is pending response. Demonstrate a
group and a private lesson in your example.
Q 3. [20 pts] Represent the ERD of either questions in crow’s foot notation using PlantUml
[??], [??]. Make sure you submit both PlantUML source and the diagram image.
Submit your assignment electronically on Moodle: https://moodle.concordia.ca
Include your name and student ID in the submission. Make sure that you upload the
assignment to the correct assignment box on Moodle. No email submissions are accepted.
Assignments uploaded to the wrong system, wrong folder, or submitted via email will be
discarded and no resubmission will be allowed. Make sure you can access Moodle prior to
the submission deadline. The deadline will not be extended.
References
1. https://jcsites.juniata.edu/faculty/rhodes/dbms/ermodel.htm
2. https://vertabelo.com/blog/chen-erd-notation/
3. https://vertabelo.com/blog/crow-s-foot-notation/
4. https://plantuml.com/ie-diagram