Assignment 3A – Enhanced Entity Relationship Diagram (10%)3B – Develop a Database Prototype (20%)Due Date: 3A – 11.30 pm Friday Week 113B – 11.30 pm Friday Week 13Submission: Submit Part A via MySCU...

1 answer below »
Assignment 3A – Enhanced Entity Relationship Diagram (10%)3B – Develop a Database Prototype (20%)Due Date: 3A – 11.30 pm Friday Week 113B – 11.30 pm Friday Week 13Submission: Submit Part A via MySCU Submit Part B report and SQL script via MySCU. Submit Database on Infotech server.Weight: 30% of overall unit assessment.Task DescriptionA. Overview Your task is to analyse a scenario, and design, develop and test a database in MySQL using PhpMyAdmin. You are provided with the scenario (below) and supporting documents. It is your job to analyse the data requirements provided in the scenario and design and develop a relational database to meet the client needs. You will also need to add data and create SQL queries to provide results suitable for reporting. The intent of this assignment is to give you experience in design and development. It is based on a fictitious scenario. Your focus will be to:• produce a fully normalised database design, modelled in an EERD, showing business rules;• Develop entities (tables) with correct attributes included;• Demonstrate supertypes and their associated subtypes;• Demonstrate normalised relations;• Make relational joins to ensure this prototype works;• Produce evidence of correct working via database queries and screenshots of result sets.Assignment 3 Part A – Enhanced Entity Relationship Diagram (10%)Design and produce an Enhanced Entity Relationship Diagram (EERD) using a modelling or drawing tool. Present your assignment in a Word or PDF document with a title page, the EERD and business rule clarification (if necessary).Assignment 3 Part B – Develop a Database Prototype (20%)Build and test a database prototype based on your design in Part A.Assignment 3 CSC72001 - Database Systems Page 2B. Scenario – Commonwealth Games Swimming Database ProjectThe 2018 Commonwealth Games is an international multi-sport event for members of the Commonwealth that will be held on the Gold Coast between 4 and 15 April 2018. The event has been called simply ‘Gold Coast 2018’ and has an abbreviation of GC2018. This will be the 21st Commonwealth Games which is held every four years. Over 6,600 athletes and team officials from 70 nations and territories will converge on the Gold Coast for the 11-day sporting and cultural event. Approximately 15,000 volunteers will help to make the event run smoothly and create a wonderful experience for everybody.https://commons.wikimedia.org/wiki/File:Gold_Coast_2018_Commonwealth_Games_countdown_clock_02.JPGSwimming has always been a major event at every Commonwealth Games with Australia often leading the medal-count in the past. There is no doubt that in 2018, with the ‘home turf’ advantage, Australians will expect our swimmers to bring home gold!The Gold Coast Aquatic Centre has been fully redeveloped in preparation for GC2018. The Centre has six pools, including a new 50 metre 10-lane competition pool, an 8-lane 50 metre pool, a full suite of diving facilities and a dry dive training pit. The final races will always be held in the 10-lane pool.All events will be held in one of the two 50 metre pools and athletes will compete in events for the four strokes – freestyle, breaststroke, backstroke and butterfly. The lengths for the races vary with 50m, 100m, 200m, 400m, 800m and 1500m races being held for freestyle, and at least 50, 100 and 200 metre races for other strokes. Most races have both Mens and Womens Division and there are also the relay team events and the medley which brings out the most versatile swimmers.The Commonwealth Games Federation (CGF) provides a report outlining the requirements for swimmers to qualify to complete in the games. This includes the qualifying times which the swimmers must have equalled or bettered in an official competition event within the 12 months leading up to the games.Assignment 3 CSC72001 - Database Systems Page 3Qualifying Swim TeamsFor a country to qualify and be included in the swimming events, there is no minimum number of team members, however each swimmer must qualify for their selected event(s). Each country’s team must have a team manager, team leader (typically the strongest swimmer) and at least one coach and one medical officer.To apply for inclusion in the games, prospective countries must provide the Federation with the country’s swimming team details for consideration. All team members, including swimmers, coaches and medical officers, need to provide personal contact information.Swimmer DetailsThe swimmers must provide their contact information, gender, date of birth and the name of their coach. For each race event they wish to compete in, they must provide the details of their qualifying time, the date and approved swimming competition where the time was recorded. The qualifying time must have been recorded in 2017.Other team members:All other team members must provide their contact information. Each coach also needs to provide details about whether they have qualifications and training as a coach. Coaches are required to have a police check for working with children (“WWC Check”). In addition, coaches are certified by the Federation, and must have the date of certification and level of certification (1 to 5) recorded by the Federation. Medical officers also need to provide details of their qualifications, including the year of their degree or latest qualification and any specialisations.Preliminary Heats and Final RaceSeveral preliminary heats/races will be held to determine who will compete in the final race for each event. The result times for each swimmer completing in each of these races must be recorded. For each event, the final winner of the Gold, Silver and Bronze medals will be recorded.Your taskGC2018 requires a database to store the data associated with all swimming teams, team members as well as the preliminary heats and final races held at the games. The system of spreadsheets and paper forms that GC2018 is currently using has many data inconsistencies that detract from their belief in the accuracy of the data and information provided. While keeping requirements for a new system closely aligned to the current manual system used by GC2018, your task is to develop a prototype database, and test it with queries which are likely to be used by GC2018. You are not required to write an application to use with this database.The file CSC72001_2018_S1_Assignment3_SampleForms.docx, provided with this assignment, provides you with some sample forms and information. The file CSC72001_2018_S1_Assignment3_example_data will provide you with further details and some specific examples of the current manual system data to get you started. Note that this data is provided “as is” and is not transferable directly to tables in the new database.The entities and attributes mentioned in the scenario and on the sample forms must be included. You will be required to normalise some of the above into smaller relations/tables prior to implementing your design into a database. You may add more attributes to help improve the design and efficiency of the database.Assignment 3 CSC72001 - Database Systems Page 4Assessment RequirementsPart A – EERD – due Week 11a. EERD Drawing 7 marks Using the scenario and the data requirements provided, you must analyse the data storage needs of the client. Identify all entities and attributes and the relationships between them. Using a drawing software tool (Visio, Lucidchart or similar – NOT Word), draw an Enhanced Entity Relationship Diagram (EERD) of your design using crows foot notation. Your EERD must show all entities, attributes, relationships and cardinality as well as any business rules identified. Supertypes and subtypes are also expected in the design.b. Database Design 3 marks Your final design choices should allow you to create your relational database in fully normalised form. Following the normalisation process, you will determine the tables, primary keys, foreign keys and columns needed to provide all functionality required by the client as outlined in the scenario above. Identify your database schema using standard formatting for table names, keys, and foreign keys.Your EERD diagram should be presented in a Word document using a basic report layout with a title page. The database schema should be included on a separate page. See “Submission Format” for document naming requirements.Part B – Database Prototype – due Week 13a. Database Development 3 marks Build your database in MySQL using PhpMyAdmin. Your database should be created on the Infotech server and be named with your username followed by Ass3 (eg: rmason 10Ass3). Referential integrity and any other constraints must be created, as required by your design.b. Database Design 3 marks Choice and consistency of table and attribute naming conventions used, selection of data types, primary and foreign keys.c. Sample Data 3 marks You must provide enough valid data in your database to run the SQL queries below successfully with at least 5-10 rows in the result set.d. Use of Views 1 mark The database should be capable of producing the query results below. To get the required results, you may need to build underlying queries or views. Where appropriate, these views should incorporate the use of standard practical informative column headings that fit the expected use of the view.e. Export Script 1 mark Once your database is finalised, you must create an export script (.sql) to create a backup of your database, including all database structures, table definitions and data. Name this SQL script as yourusernameAss3.sql eg: rmason10Ass3.sql.f. Proof of Testing 1 mark The results of your queries should be presented in a Word document using a basicAssignment 3 CSC72001 - Database Systems Page 5report layout with a title page, page numbers etc. The query that you create for each of the parts below should be pasted into your report (not screenshots), followed by a screenshot of your results. Snipping Tool on Windows is useful for taking screenshots of query results.g. SQL Queries: Note: your result sets should not display any ‘extra’ columns – such as surrogate keys. Use surrogate keys in your progressive testing by all means, but your finished test results should not include surrogate keys unless specified in the question.i. Team Member list 0.5 mark Create a team list for one of the countries. Results should be sorted by last name of the team member, and should include all contact details and team member type (e.g. Swimmer, Coach, Medical Officer or other contact type).ii. Country swimmer count 0.5 mark Create a query that counts the number of swimmers for each country. Results should have the country name, main contact name, the number of swimmers, and be sorted by the country name.iii. Non-qualifying Swimmers 1 mark The Federation would like to identify swimmers that have not qualified for the events they have registered in. Create a query that selects these swimmers only, showing the country, swimmer name, email address, contact number along with the Event Name, minimum qualifying time, the swimmer’s qualifying time and the difference between the times.iv. Medical Officer information 0.5 marks Create a query that displays a list of medical officers, with the name, email and phone number, country and any specialisations, sorted by specialisation then last name.v. Race information 0.5 marks Create a query that displays the list of races scheduled for one particular event. Races should be sorted by heat number, and display the event name, race name, starting time and location.vi. Event Winner list 0.5 marks Create a query to display the list of winners for each event, showing event name, swimmer name and recorded times for the Gold, Silver and Bronze winners, sorted by event name and by winning place.vii. Individual swimmer race results 1 mark Create a query that displays a list of events for which Rebekah Riley (or use another name from your swimmer data) was registered and the races that they swam in. Results should be sorted by event name, race name, date and time and provide all recorded swim times, places and whether they won any medals.viii. Medal Tally 1 mark Create a query that displays each country with three calculated columns showing total number of swimmers and how many Gold, Silver and Bronze medals were won. Sort by number of Gold medals won.ix. Qualification list 1.5 marks Create a query to show a list of all team members who have coach or medicalAssignment 3 CSC72001 - Database Systems Page 6officer qualifications. Your query results should be sorted by the country, then the team member’s last name and first name. You must include the following:• Country name;• Team member’s last name, first name, phone number;• Level of coach qualifications (if applicable) and date of certification;• Medical Officer qualifications (if applicable), date of qualification, medical specialisation and insurance details.x. Qualification check-list 1 mark The Federation would like to confirm that all coaches were certified no more than 3 years ago. Create a query to show a list of these coaches, with their country, coach name, contact details and date of last training.Further InformationYou can find out more about the 2014 Commonwealth Games held in Glasgow on the Wikipedia page below. This will also give past results, the list of countries and team sizes.https://en.wikipedia.org/wiki/Swimming_at_the_2014_Commonwealth_GamesSoftwareYou must use Microsoft Visio, Lucidchart or similar modelling/design tool to create your EERD in Part A. There are a number of open-source/free tools such as Lucidchart and DIA available which are acceptable. You are required to use phpMyAdmin on the Infotech server to create your MySQL database in Part B.Marking CriteriaMarking criteria will be made available via a rubric on the MySCU website.Submission FormatYou will be required to submit your assignment document via the MySCU site for this unit. Your assignment submission should be in the form of a Word document and a SQL script text file. Your Word documents should be named as username_Ass3A.doc (or .docx) and username_Ass3B.doc (or .docx). Your SQL script should be named as usernameAss3.sqlOriginal WorkThis assignment must be your own original work. Assignments form a major part of course work. Exchange of ideas with other people can be considered educationally valuable; however, excessive collaboration will be regarded as plagiarism, which is a University offence. For example, the copying of significant parts of a document (or database), even if subsequently modified, is plagiarism. Such academic dishonesty will be penalised in accordance with the University's rules and regulations.Assignment 3 CSC72001 - Database Systems Page 7You must not copy material from books, magazines, internet sources or other students’ assignments. Of course, you may include direct quotes from any source, but these must be small (e.g. one sentence or one paragraph) and must be properly referenced, using the Harvard Referencing Style. The value and relevance of including materials from another source must be fully explained. If plagiarism is found in your assignment, you may receive zero marks for this assignment.The assessment process may require some students to attend an interview in order to explain aspects of their assignment.Retain duplicate copyYou are strongly advised to retain a copy of your original work and progressive versions of your work during the Session. In the event of any uncertainty regarding assessment items, you may be requested to reproduce a final copy and/or any previous versions of your work.Penalty for late submissionA penalty of 5% per calendar day will be applied to all late assignments. An extension of time will only be considered (not necessarily approved) when a written request is submitted with appropriate supporting documentation and in accordance with University guidelines.Marks and FeedbackMarks and feedback comments will be returned through your MySCU site for this unit.
Answered Same DayMay 14, 2021CSC71001Southern Cross University

Answer To: Assignment 3A – Enhanced Entity Relationship Diagram (10%)3B – Develop a Database Prototype (20%)Due...

Mohd answered on May 16 2021
133 Votes
DB_solution_WWC/2.PNG
DB_solution_WWC/3.PNG
DB_solution_WWC/4.PNG
DB_solution_WWC/Blank Diagram.png
DB_solution_WWC/DB DESIGN.png
DB_solution_WWC/DB design_partB_2.txt
# swimmer
SwimmerId Primary key
Name
Country    
Gender    
Contact
Address    
City    
State    
Postcode    
CoachID     Foriegn Key
DOB
CREATE TABLE `swimmer` (
`SwimmerId` int(11) NOT NULL,
`Name` varchar(50) NOT NULL,
`country` varchar(50) NOT NULL,
`gender` varchar(50) NOT NULL,
`contact` varchar(50) NOT NULL,
`adress` varchar(50) NOT NULL,
`city` varchar(50) NOT NULL,
`state` varchar(50) NOT NULL,
`postal_code` varchar(50) NOT NULL,
`CoachId` int(11) NOT NULL,
`DOB` date NOT NULL
)
Insert into swimmer Values ('','Ella Cook',    'New Zealand',    'Female',    '0415 088 044',    '673-4905 Donec Road',    'Spresiano',    'NT',    '1028',    1,    '01/26/1993')
# Medicalofficer
CoachID    Primary key
Name    
Country    
Contact
Mobile    
Address    
City    
State    
Postcode    
Certification Level    
Certification Date    
WWC Check
MedicalofficerID Foriegn Key
CREATE TABLE `Coach` (
`CoachID` int(11) NOT NULL,
`Name` varchar(50) NOT NULL,
`country` varchar(50) NOT NULL,
`contact` varchar(50) NOT NULL,
`adress` varchar(50) NOT NULL,
`city` varchar(50) NOT NULL,
`state` varchar(50) NOT NULL,
`postal_code` varchar(50) NOT NULL,
`Certification_Level` varchar(50) NOT NULL,
`Certification_Date` varchar(50) NOT NULL,
`Specialisation` varchar(50) NOT NULL,
`MedicalofficerID` int(11) NOT NULL, Foriegn Key
`WWC_Check` varchar(50) NOT NULL
)
# Medicalofficer
CREATE TABLE `Medicalofficer` (
`MedicalofficerID` int(11) NOT NULL, Primary Key
`Name` varchar(50) NOT NULL,
`country` varchar(50) NOT NULL,
`contact` varchar(50) NOT NULL,
`adress` varchar(50) NOT NULL,
`city` varchar(50) NOT NULL,
`state` varchar(50) NOT NULL,
`postal_code` varchar(50) NOT NULL,
`Qualifications` varchar(50) NOT NULL,
`Qualification_Year` varchar(50) NOT NULL,
`Specialisation` varchar(50) NOT NULL,
`SwimmerId` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
# Event
Event_Name    
Minimum Qualifying Time
SwimmerId Foriegn Key
EventID Primary key
CREATE TABLE `Event` (
`EventID` int(11) NOT NULL,
`Event_Name` varchar(50) NOT NULL,
`Minimum Qualifying Time` varchar(50) NOT NULL,
`SwimmerId` int(11) NOT NULL
)
# RegisteredEvent
Event Name    
SwimmerID    Foriegn Key
EventID Foriegn Key
Swimmer    Qualifying Time    
Qualifying Date    
Qualifying Competition            
CREATE TABLE `RegisteredEvent` (
`EventID` int(11) NOT NULL,
`SwimmerId` int(11) NOT NULL,
`Event_Name` varchar(50) NOT NULL,
`Swimmer    Qualifying Time` varchar(50) NOT NULL,
`Qualifying Date` Date NOT NULL,
`Qualifying Competition` varchar(50) NOT NULL
)
# Races
Event Name    
RaceID Primary Key
Race Name    
Day    Start Time    
Location
CREATE TABLE `Races` (
`RaceID` int(11) NOT NULL,
`SwimmerId` int(11) NOT NULL,
`Race Name` varchar(50) NOT NULL,
`Day    Start Time` varchar(50) NOT NULL,
`Location` varchar(50) NOT NULL
)
# RacesSwimmers
Event Name    
Race Name    
RaceID Foriegn Key
SwimmerID     Foriegn Key
Swimmer    Lane    
Recorded Time    
Place
CREATE TABLE `RacesSwimmers` (
`RaceID` int(11) NOT NULL,
`SwimmerId` int(11) NOT NULL,
`Race Name` varchar(50) NOT NULL,
`Swimmer    Lane` varchar(50) NOT NULL,
`Recorded Time` time NOT NULL,
`Place` varchar(50) NOT NULL
)
DB_solution_WWC/db partB_ A.PNG
DB_solution_WWC/ERD.png
DB_solution_WWC/Export.sql
-- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 16, 2019 at 12:47 PM
-- Server version: 10.1.25-MariaDB
-- PHP Version: 5.6.31
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `commenwealth`
--
-- --------------------------------------------------------
--
-- Table structure for table `coach`
--
CREATE TABLE `coach` (
`CoachID` int(11) NOT NULL,
`Name` varchar(50) NOT NULL,
`country` varchar(50) NOT NULL,
`contact` varchar(50) NOT NULL,
`adress` varchar(50) NOT NULL,
`city` varchar(50) NOT NULL,
`state` varchar(50) NOT NULL,
`postal_code` varchar(50) NOT NULL,
`Certification_Level` varchar(50) NOT NULL,
`Certification_Date` varchar(50) NOT NULL,
`Specialisation` varchar(50) NOT NULL,
`MedicalofficerID` int(11) NOT NULL,
`WWC_Check` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `coach`
--
INSERT INTO `coach` (`CoachID`, `Name`, `country`, `contact`, `adress`, `city`, `state`, `postal_code`, `Certification_Level`, `Certification_Date`, `Specialisation`, `MedicalofficerID`, `WWC_Check`) VALUES
(0, 'Jennifer Brown', 'Australia', '0411 234567', '3/73 Mauris Avenue', 'Evans Head', ' NSW ', '2473', '4', '7/20/2016', 'Orthopaedics', 1, '7/25/2015');
-- --------------------------------------------------------
--
-- Table structure for table `event`
--
CREATE TABLE `event` (
`EventID` int(11) NOT NULL,
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here