Create a data dictionary for a simple database

Assignment Help Database Management System
Reference no: EM13944646

Database and Information Retrieval

Assessment Task- Project Documentation and Database

Introduction

• This assessment is for students to develop the capacity to design and implement a database.

• This assessment requires students to identify business rules, create a data dictionary, create an EntityRelationship diagram, and develop an Oracle database using SQL.

• This is an individual assessment task.

• The project documentation submitted should include business rules, data dictionaries, ER diagrams, SQL source code such as q1.sql, and SQL spool files such as q1.txt.

Unit Learning Outcomes

• Of the three Unit Learning Outcomes (ULOs) of this unit SIT103, this assessment task will focus on the last two ULOs. These are:

o ULO 2 - At the end of this unit students will be able to evaluate data models and apply data modelling techniques to capture the data aspects of real-world situations.

o ULO 3 - At the end of this unit students will be able to design and develop relational databases by using SQL and a database management system.

• The assessment of this task (Project Documentation and Database) will indicate whether students can partially attain these unit learning outcomes.

Instructions

• Read these instructions and the following 4 questions.

• Answer as many questions as possible.

• You should consider which questions to answer because Question 1 is at the Pass level, Question 2 is at the Credit level, Question 3 is at the Distinction level, and Question 4 is at the High Distinction level. If you are interested in obtaining a:

• Clearly identify your answers 1a, 1b, 1c and so on, as this will ensure that the marker can find your answers.

• Place your name, ID and answers in your document. Please note that MS Word (docx) or PDF files may be submitted.

• As there will be several files that you will submit, you will place all files in a folder and ZIP that folder.

Question 1

Pass level

Assessing this question focuses on whether students can demonstrate the ability to:

• list business rules for a simple database,

• create a data dictionary for a simple database (2 tables, 1:N), • create an ER diagram for a simple database (2 tables, 1:N), and

• develop a simple database (2 tables, 1:N).

Task www.winelovers.com provides data and information related to wine. It uses a small database containing data about different wines and winemakers. Each wine can only be manufactured by one winemaker, but each winemaker can produce several wines. However, clearly it is possible that a new winemaker has not produced a wine.

For this scenario:

(a) Determine the business rules.

(b) Develop a data dictionary.

(c) Develop an ER diagram. Clearly label all entities, primary and foreign keys, relationship, connectivity and cardinalities.

(d) Develop an SQL script, say q1.sql, to run on Deakin's Oracle database which:

1) removes previous tables related to this question, e.g., drop ...

2) creates these two tables, e.g., create ...

3) inserts all data from Table 1, e.g., insert ...

4) uses the spool command to start recording to a file, e.g., spool /home/username/q1.txt

(please replace username with your Deakin login name)

5) turns on the echo, e.g., set echo on;

6) displays the wine name, vintage and price of all wines costing less than $20, e.g., select ...

7) displays the wine name, price and maker of all wines made in 2012, e.g., select ...

8) turns off the echo, e.g., set echo off;

9) turns off the spooling, e.g., spool off;

WINE

ID WINE NAME WINE

VINTAGE WINE PRICE WINEMAKER

ID WINEMAKER NAME

101 Grange 2010 750 1 Penfolds
102 Grange 2006 700 1 Penfolds
103 Reserve Shiraz 2013 10 2 Jacob's Creek
104 Grey Label Shiraz 2012 35 3 Wolf Blass
105 Patricia Shiraz 2009 50 4 Brown Brothers
106 Ten Acres Shiraz 2012 25 4 Brown Brothers
107 Double Barrel Shiraz 2012 15 2 Jacob's Creek
108 Platinum Label Shiraz 2006 170 3 Wolf Blass
5 Barrabool Hills

Table 1

Question 2

Credit level

Assessing this question focuses on whether students can demonstrate the ability to:

• list business rules for a small database,

• create a data dictionary for a small database (2 tables, N:M), • create an ER diagram for a small database (2 tables, N:M), and

• develop a small database (2 tables, N:M).

Task

www.winelovers.com provides data and information related to wine. It uses a small database containing data about different wines and wine retailers. Each wine can be sold by several retailers, and each retailer can sell several wines. However, clearly it is possible that a new retailer has no stock at the time of starting his/her business, and a new wine might not be stocked by any retailer.

For this scenario:

(a) Determine the business rules.

(b) Develop a data dictionary.

(c) Develop an ER diagram. Clearly label all entities, primary and foreign keys, relationship, connectivity and cardinalities.

(d) Develop an SQL script, say q2.sql, to run on Deakin's Oracle database which:

1) removes previous tables related to this question, e.g., drop ...

2) creates these two tables, e.g., create ...

3) inserts all data from Table 2, e.g., insert ...

4) uses the spool command to start recording to a file, e.g., spool /home/username/q2.txt

(please replace username with your Deakin login name)

5) turns on the echo, e.g., set echo on;

6) displays the wine name, vintage and price of all wines at Dan Murphy's costing less than $20, e.g., select ...

7) displays the wine name, price and retailer of all wines at Dan Murphy's made in 2012, e.g., select ...

8) turns off the echo, e.g., set echo off;

9) turns off the spooling, e.g., spool off;

WINE

ID WINE NAME WINE

VINTAGE WINE PRICE RETAILER

ID RETAILER

NAME

101 Grange 2010 750 1001 Dan Murphy's
102 Grange 2006 700 1001 Dan Murphy's
103 Reserve Shiraz 2013 10 1001 Dan Murphy's
104 Grey Label Shiraz 2012 35 1001 Dan Murphy's
105 Patricia Shiraz 2009 50 1001 Dan Murphy's
106 Ten Acres Shiraz 2012 25 1001 Dan Murphy's
107 Double Barrel Shiraz 2012 15 1001 Dan Murphy's
108 Platinum Label Shiraz 2006 170 1001 Dan Murphy's
103 Reserve Shiraz 2013 9 1002 Woolworth's
104 Grey Label Shiraz 2012 33 1002 Woolworth's
105 Patricia Shiraz 2009 44 1002 Woolworth's
106 Ten Acres Shiraz 2012 22 1002 Woolworth's
107 Double Barrel Shiraz 2012 12 1002 Woolworth's

Table 2.

Question 3

Distinction level

Assessing this question focuses on whether students can demonstrate the ability to:

• list business rules for a database,

• create a data dictionary for a database (2 tables and a junction table, N:M), • create an ER diagram for a database (2 tables and a junction table, N:M), and

• develop a database (2 tables and a junction table, N:M).

Task

Use the same scenario as in Question 2, but instead of two tables with a many-to-many relationship you will focus on three tables: the two tables for wine and retailer plus a junction table to represent the ‘sell' relationship.

For this scenario:

(a) Determine the business rules for these 3 tables.

(b) Develop a data dictionary for these 3 tables.

(c) Develop an ER diagram for these 3 tables. Clearly label all entities, primary and foreign keys, relationship, connectivity and cardinalities.

(d) Develop an SQL script, say q3.sql, to run on Deakin's Oracle database which:

1) removes previous tables related to this question, e.g., drop ...

2) creates these 3 tables, e.g., create ...

3) inserts all data from Table 3 into these 3 tables, e.g., insert ...

4) uses the spool command to start recording to a file, e.g., spool /home/username/q3.txt

(please replace username with your Deakin login name)

5) turns on the echo, e.g., set echo on;

6) displays the wine name, vintage and price of all wines at Dan Murphy's costing less than $20, e.g., select ...

7) displays the wine name, price and retailer of all wines at Dan Murphy's made in 2012, e.g., select ...

8) turns off the echo, e.g., set echo off;

9) turns off the spooling, e.g., spool off;

WINE

ID WINE NAME WINE

VINTAGE WINE PRICE RETAILER

ID RETAILER

NAME

101 Grange 2010 750 1001 Dan Murphy's
102 Grange 2006 700 1001 Dan Murphy's
103 Reserve Shiraz 2013 10 1001 Dan Murphy's
104 Grey Label Shiraz 2012 35 1001 Dan Murphy's
105 Patricia Shiraz 2009 50 1001 Dan Murphy's
106 Ten Acres Shiraz 2012 25 1001 Dan Murphy's
107 Double Barrel Shiraz 2012 15 1001 Dan Murphy's
108 Platinum Label Shiraz 2006 170 1001 Dan Murphy's
103 Reserve Shiraz 2013 9 1002 Woolworth's
104 Grey Label Shiraz 2012 33 1002 Woolworth's
105 Patricia Shiraz 2009 44 1002 Woolworth's
106 Ten Acres Shiraz 2012 22 1002 Woolworth's
107 Double Barrel Shiraz 2012 12 1002 Woolworth's

Table 3.

Question 4

High Distinction level

Assessing this question focuses on whether students can demonstrate the ability to:

• list business rules for a complex database,

• create a data dictionary for a complex database (several tables, 1:1, 1:N, N:M),

• create an ER diagram in 3rd normal form for a complex database (several tables, 1:1, 1:N, N:M), and

• develop a complex database in 3rd normal form (several tables, 1:1, 1:N, N:M).

Task

www.winelovers.com provides data and information related to wine. It uses a small database containing data about different wines, winemakers, retailers, compatible foods, and descriptions of compatible food.

• Each wine can only be manufactured by one winemaker, but each winemaker can produce several wines. However, clearly it is possible that a new winemaker has not produced a wine.

• Each wine can be sold by several retailers, and each retailer can sell several wines. However, clearly it is possible that a new retailer has no stock at the time of starting his/her business, and a new wine might not be stocked by any retailer.

• Each wine goes well with 0 or more foods, and each food goes well with 0 or more wines. A five point scoring system is used to rank compatible wines and foods. For each score there is a small description of a few words such as:
o o o o o 1
2
3 4
5 try another wine nearly compatible compatible very compatible excellent

For this scenario:

(a) Determine the business rules for all tables including junction tables.

(b) Develop a data dictionary for all tables including junction tables.

(c) Develop an ER diagram for all tables including junction tables. Clearly label all entities, primary and foreign keys, relationship, connectivity and cardinalities.

(d) Develop an SQL script, say q4.sql, to run on Deakin's Oracle database which:

1) removes previous tables related to this question, e.g., drop ...

2) creates these tables including junction tables, e.g., create ...

3) inserts data from Table 1 and Table 3, and all data from Table 4 into appropriate tables, e.g., insert ...

4) uses the spool command to start recording to a file, e.g., spool /home/username/q4.txt

(please replace username with your Deakin login name)

5) turns on the echo, e.g., set echo on;

6) increases the price of each wine at Dan Murphy's by 10%, e.g., update ...

7) displays the wine name, vintage and price of all wines at Dan Murphy's that are excellent with steak, e.g., select ...

8) displays the wine name, price and retailer of all wines that are compatible with beef sausages, e.g., select ...

9) turns off the echo, e.g., set echo off;

10) turns off the spooling, e.g., spool off;

WINE

ID WINE NAME WINE

VINTAGE FOOD

ID FOOD

DESCRIPTION SCORE SCORE

DESCRIPTION

101 Grange 2010 1 Steak 5 excellent
101 Grange 2010 2 Beef Sausages 1 try another wine
101 Grange 2010 3 Chicken 1 try another wine
101 Grange 2010 4 Fish 1 try another wine
102 Grange 2006 1 Steak 5 excellent
102 Grange 2006 2 Beef Sausages 1 try another wine
102 Grange 2006 3 Chicken 1 try another wine
102 Grange 2006 4 Fish 1 try another wine
103 Reserve Shiraz 2013 1 Steak 5 excellent
103 Reserve Shiraz 2013 2 Beef Sausages 3 compatible
103 Reserve Shiraz 2013 3 Chicken 1 try another wine
103 Reserve Shiraz 2013 4 Fish 1 try another wine
104 Grey Label Shiraz 2012 1 Steak 4 very compatible
104 Grey Label Shiraz 2012 2 Beef Sausages 5 excellent
104 Grey Label Shiraz 2012 3 Chicken 1 try another wine
104 Grey Label Shiraz 2012 4 Fish 1 try another wine
105 Patricia Shiraz 2009 1 Steak 4 very compatible
105 Patricia Shiraz 2009 2 Beef Sausages 4 very compatible
105 Patricia Shiraz 2009 3 Chicken 1 try another wine
105 Patricia Shiraz 2009 4 Fish 1 try another wine
106 Ten Acres Shiraz 2012 1 Steak 4 very compatible
106 Ten Acres Shiraz 2012 2 Beef Sausages 3 compatible
106 Ten Acres Shiraz 2012 3 Chicken 1 try another wine
106 Ten Acres Shiraz 2012 4 Fish 1 try another wine
107 Double Barrel Shiraz 2012 1 Steak 5 excellent
107 Double Barrel Shiraz 2012 2 Beef Sausages 5 excellent
107 Double Barrel Shiraz 2012 3 Chicken 1 try another wine
107 Double Barrel Shiraz 2012 4 Fish 1 try another wine
108 Platinum Label Shiraz 2006 1 Steak 4 very compatible
108 Platinum Label Shiraz 2006 2 Beef Sausages 3 compatible
108 Platinum Label Shiraz 2006 3 Chicken 1 try another wine
108 Platinum Label Shiraz 2006 4 Fish 1 try another wine

Table 4.

Reference no: EM13944646

Questions Cloud

Present figures in power point presentation slides. : I need link for table of content, list of figures, list of tables. Few sections there is no link. Recently i updated the document. Could you please link it.
How many more units must be sold to cover this cost : a new employee suggest that "C" company sponsor a softball team as a form of advertising. The cost to sponsor the team is $2,412. How many more units must be sold to cover this cost
Develop a profile of the organisation : Begin by describing the organisation. Develop a profile of the organisation. What is the organisation's core business product(s)?
Whether the cache misses in each category will increase : For each condition listed below, say whether the cache misses in each category will increase, decrease, or stay the same
Create a data dictionary for a simple database : Create a data dictionary for a simple database. Develop an ER diagram. Clearly label all entities, primary and foreign keys, relationship, connectivity and cardinalities.
Calculate the point cross-elasticity of demand : At the current price level, what effect would an increase in price of the firm's products have on total revenue?Support your answer. Would it be viable for the firm to continue incurring more expenses on advertisement?
Statewide exam for assessing the mathematics skills : The results of a statewide exam for assessing the mathematics skills of realtors were normally distributed with a mean score of 73 and a standard deviation of 11. The realtors who scored in the top 15% are to receive a special certificate, while t..
How much gain resulted from the sale : A person owns 400 shares of XYZ common stock which cost $20,000. XYZ then had a 2-for-1 stock split. After the split, the person sold 100 shares for $10,000. How much gain (or loss) resulted from the sale?
Draft a description of how it can be converted into a rdbms : Analyze samples of RoboBoys current Excel spreadsheets (click here to download) and draft a description of how it can be converted into a RDBMS.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd