CP363: Assignment 5 - Fall 2022

Due 11:00 PM, Monday, April 10, 2023

General Assignment Notes

When writing and submitting your assignments follow these requirements:

Marks will be deducted from any questions where these requirements are not met.


Links

Pages of use for this assignment:

Assignments 1 through 4 all queried the DCRIS database. Now you will create your own database schema on hopper. Your database must be in at least Boyce-Codd Normal Form.

As the hopper database administrator, we will access your database directly after the due date. There is no dropbox, and nothing to submit through MLS, and no programming in Python required.


You have a database schema available to you on hopper. The schema is named with your Laurier network name. e.g. if your network login is barn4520, then your database schema is barn4520. The user name to access this is also your Laurier network login. The default password is:

cp363_Pass

which we suggest you change at your earliest opportunity. You may change your password from a DBMS query dialog box with the following command:

      
ALTER USER your login IDENTIFIED BY 'new password';

    

Passwords must have:

Use a DBMS of your choice to login to the hopper MySQL database and access your schema.


In your schema, create a database that consists of:

The point of using the techniques above is to make sure that your database meets all of the normal forms.

The data stored in your database is up to you. No two students in the course may have the same database design. For example, even if two students have a hockey database, the databases must have different data and structures.

Your database must be error-free. Note that if you set up an event, or a view and then delete the table(s) associated with that event or view, that event or view will have errors. Make sure you double check everything for correctness by the due date.