CS 348 - Homework 4
Festival of Science Database
In this assignment you are going to construct an Entity-Relationship database model
for St.Lawrence University's Festival of Science. The requirements
below were developed together in class on Tuesday October 14, 2008.
What to turn in by Thursday October 30.
-
A neatly formatted and layed out ER Diagram. You can use Dia or
another drawing tool you might have access to. Make sure you genertae a PDF file and turn in a file named
fos_ER.pdf. Also turn in a printout.
-
A document that describes each entity and relationship. Include descriptions of attributes, keys, participation constraints, mapping cardinalities, etc. Turn in a PDF file named
fos_ER_doc.pdf.
-
An SQL file of the create table commands used to construct the tables from your ER diagram. Include primary and foreign key constraints.
This file should be commented and named
fos_ER.sql. Turn in
a printout as well.
Design Goals
Don't forget our two database design goals:
- Meet the functional requirements.
- Reduce redundancy.
Functional Requirements
-
Projects have one or more mentors (usually faculty).
- A student project must have at least one mentor.
-
A student can have more than one project.
-
A project can have multiple students.
- A project can have multiple mentors.
- A student must be a current SLU student.
- A student initially submits a text abstract (less than 250 words)
-
A student has a SLU ID, name, class year, SLU e-mail,
major or program.
- A project is submitted by one or more student(s).
- We will genertate a web site from the database.
- A mentor has an e-mail, name, department or program.
- University relations needs student hometown newspaper.
-
A project presentation is either a poster or an oral
presentation.
- A presentation has a title.
- Special requirements for presentation
- An oral presentation gets assigned a time slot and a room number.
- A poster may have one or more associated pdf, ppt, or jpeg file(s).
(We could require that all documents be either Ppdf files or powerpoint files.)
-
A project is either presentated as an oral presentation or as a poster.
-
A student can have both an oral and poster
presentation of the same/diffent topics.
-
A project could be honors, SYE, course
related, fellowship.
-
This database will be used for many years.
- We need general query capability. For example get all projects by mentor,
get all projects by department or program, get all projects by student name, get all projects by year and much more.
-
A project can be sponsored by multiple departments or programs.