CIS017-1 - CIS095-1 - Assignment 1 (Design and Implement A Database) Report Template 2020-2021-16!3!2021
CIS017-1 - CIS095-1 - Assignment 1 (Design and Implement A Database) Report Template 2020-2021-16!3!2021
INDIVIDUAL REPORT
Page 1 of 7
CIS017-1 – Computer Systems Structure 2020-2021
CIS095-1 – Databases and Computer Networking 2020-2021
Assignment 1 – Design and Implement a Database
University ID: Full Name:
Table of Contents
Introduction / Overview…………………………………………………………………………3
Task Description………………………………………………………………………………...3
Tasks:
o Entity Relationship Model………………………………………………………………..
o Normalisation……………………………………………………………………………...
o Physical Database Design (including Data Dictionary)……………………………….
o Implementation of the Database………………………………………………………...
o Query Design and implementation
Discussion / Critical Reflection
Conclusion
References
Appendix
You will need to complete the Table of Contents and Page Nos manually
Page 2 of 7
CIS017-1 – Computer Systems Structure 2020-2021
CIS095-1 – Databases and Computer Networking 2020-2021
Assignment 1 – Design and Implement a Database
University ID: Full Name:
Introduction/Overview
Why are you doing this work? What were you asked to do? What did you do? Were
you successful?
Task Description
This is basically a description of the task and case study as on the Assignment 1 brief.
You can paraphrase what is written on the Assignment 1 brief.
Tasks:
An Entity Relationship Model consists of a Entity Relationship Diagram (ERD) and a list
of Entities with their attributes, Primary Key and Foreign Keys.
Example:
Booking (BookingID, CustomerID*, RoomiD*, ManagerID*, DateBooked, ArrivalDate,
DepartureDate, BookingStatus, Paid)
Primary and Foreign Keys and other attributes for each entity should be included in this list.
You are STRONGLY ADVISED to use VISUAL PARADIGM CE to create your ERM.
Visual Paradigm Community Edition software is a free download. You should not use Visio or
equivalent software.
Your ER Diagram should include all identified entities and the relationships between them.
Relationship should include consideration of both cardinality and optionality, and a textual
description of each relationship should be included.
Remember: All diagrams / figures / screenshots need a Fig No, caption and explanation.
o Normalisation
Page 3 of 7
CIS017-1 – Computer Systems Structure 2020-2021
CIS095-1 – Databases and Computer Networking 2020-2021
Assignment 1 – Design and Implement a Database
University ID: Full Name:
This needs a Table No and caption and a detailed explanation of how you go from UNF
to 1NF,1INF to 2NF and 2NF to 3NF.
Page 4 of 7
CIS017-1 – Computer Systems Structure 2020-2021
CIS095-1 – Databases and Computer Networking 2020-2021
Assignment 1 – Design and Implement a Database
University ID: Full Name:
This includes:
Skeleton Tables
List of tables with their attributes, Primary Key and Foreign Keys.
Example:
Booking (BookingID, CustomerID*, RoomiD*, ManagerID*, DateBooked, ArrivalDate,
DepartureDate, BookingStatus, Paid)
Customer
Description: Customer details
Field Name Datatype Length Index Null Default Validation Description
rule
custid int (11) 11 PK No Autoincremented
(Primary) unsigned Uniquely identifies every customer
firstname varchar (30) 30 No First name of customer
lastname varchar (30) 30 No Last name of customer
email varchar (100) 100 No Must be Email of customer
email
format
containing
an @ and
a ‘.’
Regex
expressio
n used
password varchar (30) 30 No Customer password
Indexes
Keyname Type Unique Column Null
PRIMARY BTREE Yes custid No
[Note: I can’t get this positioned correctly! The original document is in the MISC folder
on the left in BREO]
Page 5 of 7
CIS017-1 – Computer Systems Structure 2020-2021
CIS095-1 – Databases and Computer Networking 2020-2021
Assignment 1 – Design and Implement a Database
University ID: Full Name:
For each table, for each attribute show the datatype, length, and other properties. You may
want to include any other information such as data entry constraints.
Take care with the datatypes as these vary from database system to database system.
Read the assignment brief for more details.
For this practical task, you can use almost any RDMS – MySQL, SQLite, Oracle, Oracle
Application Express (APEX) but you should not use MS Access.
Write and execute SQL statements to create your database table structures including Primary
Key and Foreign Key constraints.
Write and execute SQL statements to insert at least two rows of data in each table. Further
records can be added manually.
You should create screenshots of the implementation to show the successfully created tables –
structure and data, and the results of running your queries.
It may be possible (depending on platform and version) to also produce a screenshot of the set
of tables created with the relationships between them.
Everything ie. SQL statements and output/result needs to be documented with screenshots of
copy and pasted code.
Your SQL query designs should be included in your report, and you should include an
explanation of the purpose of the query.
Execute SQL commands to create the queries you have designed. Run and test the queries.
Everything ie. SQL statements and output/result needs to be documented with screenshots of
copy and pasted code.
Page 6 of 7
CIS017-1 – Computer Systems Structure 2020-2021
CIS095-1 – Databases and Computer Networking 2020-2021
Assignment 1 – Design and Implement a Database
University ID: Full Name:
Basically, you are evaluating what you have done. Did you achieve all the required
specification of the Assignment brief? If not, why not? Discuss the problems you
encountered and how you overcame them.
Did you give yourselves enough time to accomplish this work? Was it harder than you
expected? What have you learned from tackling this Assignment?
Did this work enhance your understanding of the database design and implementation
programming language? Did it motivate you to learn more SQL and about NoSQL
databases?
If you had to undertake this or something similar again would you tackle it differently?
What improvements or enhancements would you recommend for a future iteration of this
project?
Conclusion
What were you asked to do? Did you achieve it?
References
Harvard Referencing System. Any reference must be cited in text
Appendix
If needed!
Anything else that you might want to include that does not fit well into the main report
body.
Page 7 of 7