When writing and submitting your assignments follow these requirements:
Name your Eclipse project with your Network login, an underscore, 'a' (for
'assignment', then the assignment number: login_en.zip
.
For example, if the user barn4520
submits Assignment 1, the
name should be: barn4520_a01
. Give your .zip file the same
name when exporting your project. The project above would be exported in a
.zip file named barn4520_a01.zip
. Use only Eclipse's built-in
archive capability to create these .zip files. No other format will be
accepted.
Some assignments consist of multiple Eclipse projects where one project
references another. Use the same naming scheme for all your projects.
Thus, a project named data_structures
should be barn4520_data_structures
.
Test your programs thoroughly - show us how it works. Copy the outputs
from your testing to a file in your Eclipse/Pydev project named testing.txt
.
Make sure the tests are well labelled so that the markers know which
program the results represent.
There should be no errors or warnings in your code. Watch out particularly for bad or unused imports - these generate warnings and must be removed.
If you are asked to provide discussion put this discussion in your
Eclipse/Pydev project in a file named discussion.txt
.
Put all your programs, testing, and discussion files into one Eclipse/Pydev project.
Zip the entire project using Eclipse and submit the resulting .zip file through MyLearningSpace.
Marks will be deducted from any questions where these requirements are not met.
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:
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:
member_broad
)
narrow
)
vBroadNarrow
)
memberNarrow
→ narrow
→ broad
)
vMemberBroad
)
broadDesc
in broad
)
inFullName
in member
)
pubType
table)
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.