Briefly explain what is functional dependence

Assignment Help Database Management System
Reference no: EM132281792

This assignment is centered on ER modelling, a graphical tool used in database design and Normalization which is a text based tool to remove unnecessary redundancy in a database. At the completion of these assessments students will be able to:

1. Identify the different components of an ERD

2. Recognize some business rules from the relationships contained in an ERD

3. Understand and use the 3 different type of relationship classifications 1:1, 1:M, M:N and their for the linking of tables in the RDM ((relational data model)

4. To develop relational models (RDM) where each table has a primary key (entity integrity) and some tables may have foreign keys (referential integrity)

Assessment Instructions

1. Convert M:N relationships into 1:M and M:1 relationships

2. Convert the conceptual ER model , given a problem scenario, into a RDM with appropriate primary keys (PKs) and foreign keys (FKs)

3. Only use Crow's Foot notation

4. Draw dependency diagram to use the 1NF, 2NF and 3NF

Projects Case Study

A construction company requires a database to record details about building projects. Each project has its own project number, name and employees assigned to it. Each employee has an employee number, name and job classification, such as engineer or computer technician.

The company charges its clients by billing the hours spent on each contract. The hourly billing rate is dependent upon the employee's position. For example, one hour of a computer technician's time is billed at a different rate than one hour of an engineer's time.

The first step is to examine the data provided in the report below, which contains the relevant information.

Proj No

Project Name

Emp No

Employee Name

Job Class

Charge/ Hour

Hours Billed

15

Evergreen

103

June Arbough

Electrical

Engineer

$84.50

23.8

 

 

101

John New

Database Designer

$105.00

19.4

 

 

105

Alice Johnson

Database Designer

$105.00

35.7

 

 

106

Bill Smithfield

Programmer

$37.75

12.6

 

 

102

David Senior

System Analyst

$96.75

23.8

18

Amber Wave

114

Annelise Jones

Application Designer

$48.10

24.6

 

 

118

James Frommer

General Support

$18.36

45.3

 

 

104

Anne Romares

System Analyst

$96.75

32.4

 

 

112

Darlene Smithson

System Designer

$45.95

44.0

22

Rolling Tide

105

Alice Johnson

Database Designer

$105.00

64.7

 

 

104

Anne Romares

System Analyst

$96.75

48.4

 

 

113

Dilbert Joenbrood

Application Designer

$48.10

23.6

 

 

111

Geoff Wabash

Clerical Support

$26.87

22.0

 

 

106

Bill Smithfield

Programmer

$37.75

12.8

25

Star Flight

107

Maria Alonzo

Programmer

$37.75

24.6

 

 

115

Travis Bawanyi

System Analyst

$96.75

45.8

 

 

101

John New *

Database Designer

$105.00

56.3

 

 

114

Annelise Jones

Application Designer

$48.10

33.1

 

 

108

Ralph Washington

System Analyst

$96.75

23.6

 

 

118

James Frommer

General Support

$18.36

30.5

 

 

112

Darlene Smithson

System Designer

$45.95

41.4

This represents the data as unnormalised and redundancy exists throughout the table. The operations (Business Rules) can be summarised as follows:

• The company manages many projects.
• Each project requires the services of many employees.
• An employee may be assigned to several different projects.
• Some employees are not assigned and perform duties not specifically related to a project. Some employees are part of a labour pool, to be shared by all project team. For example, the company's executive secretary would not be assigned to any one particular project.

• Each employee has a single primary job classification. This job classification determines the hourly billing rate.
• Many employees can have the same job classification. For example, the company employs more than one electrical engineer.

Tasks List

There are multiple tasks in the assessment

Task 1: Knowledge test

The knowledge test - Written computer-based assessment of Database Modelling and SQL concepts to work on the Assessment 1. The class test consists of short answers question about the basic concepts of Database modeling and Normalization.

Task 2 : Database Modelling and Implementation:

Question 1 - ER Modelling:

1. Business rules - Write Business rules to create ER Diagram. Write any assumptions

2. Entities and Attributes - List Entities, Attributes - Include all attributes that you believe would be useful

3. ER Diagram - Design an ER diagram for the above case study.
o Create your ER Diagram with Visio/Lucidchart/draw.io or another piece of software.
Hand-drawn diagrams will not be accepted
o Only use "crow's foot notation"
o ER Diagram should include Entities, attributes, relationships, connectivity and cardinalities.
o When completed, insert your ER Diagram into a Word document either by taking a screenshot of the diagram and pasting it in the word document, or by exporting the diagram as an image and the inserting it in the word document

Question 2 - Data Dictionary:

• Create a data dictionary for the above ER Diagram using the following sample format (Hint: Recreate a table in word using the same column headings).
• All data items must have suitable data types and all tables must have appropriate primary key and foreign key

Table
Name

Attribute

Attribute Description

Data Type

Data Format

Range

Mandatory

Primary Key/ Foreign Key

Foreign

Key Reference Table

 

Course

cID

Unique Identifier of Course

CHAR(4)

AA99

 

Y

PK

 

 

cName

Name of course

CHAR(10)

Aaaaaa

 

Y

 

 

 

cDesc

Description of Course

 

 

 

Y

 

 

 

dept

Name of department running the course

CHAR(2)

99

10-30

 

Y

FK

Dept

Question 3 - Normalization and Dependency Diagram:

• Briefly explain what is functional dependence and how does it relate to your solution?
• Briefly explain why would we use normalisation and how is it accomplished?
• Draw dependency diagram (using the following sample format) for your final ER Diagram, in the MS Word document, showing where necessary that you have progressed through to 3NF.

686_figure1.jpg

Question 4 - SQL Statements - DDL and DML:

Based on the specification you have provided in the data dictionary:

i. CREATE TABLE - Write the SQL code to create all tables (in the ER Diagram and Data dictionary) to implement the relational data logical model (as ONE script).
ii. Constraints - In part i, define primary keys, foreign keys and NOT NULL constraints in the CREATE TABLE statement ONLY. [Note: a foreign key constraint requires the existence of the referenced table].
iii. Write SQL statements to delete each table.
iv. Write INSERT INTO statements to populate each table. (at least 3 rows per table)

Reference no: EM132281792

Questions Cloud

Design a teaching plan for parents : Design a teaching plan for parents regarding measures for injury prevention. Make sure you include the nursing process steps (assessment, diagnosis, planning).
Discuss the joint commission standards : Discuss The Joint Commission's standards for pain assessment and evaluation of effectiveness of pain regimen. The response must be typed.
What are the key operations and logistics issues faced : Who are the key various stakeholders that need to be considered in resolving these issues?
Design a holistic patient care plan in brief : Download the SOAP template to help you design a holistic patient care plan. Utilize the SOAP guidelines to assist you in creating your SOAP note and building.
Briefly explain what is functional dependence : BIT231 - Database Systems - Database Report - Briefly explain what is functional dependence and how does it relate to your solution - Briefly explain why would
Describe the value your business would offer to the customer : Propose a business that you could create and describe the value your business would offer to the customers.
Explain the workflow of each process that will occur : Create 3 workflow diagrams that explain the workflow of each process that will occur in your facility. Include workflow between external systems.
Explain the development of the legislative communication : State and Federal legislators will be identified: State Representatives, Senators, Congressman and Governor. Each legislator's assigned committees.
How is autonomy a motivation in an organization : How is autonomy a motivation in an organization? Please explain.

Reviews

len2281792

4/12/2019 11:33:31 PM

Appropriate foreign keys 3 Null constraint 4 iii. DEFAULT clause (5 marks) Use the DEFAULT clause on at least one appropriate column 3 Explain what is meant by DEFAULT 2 iii. INSERT INTO (10 marks) Correct insert into statements 5 Appropriate syntax to insert numeric, text and date based values 5 Total 130

len2281792

4/12/2019 11:32:17 PM

Question 3 10 marks Normalisation to 3NF demonstrated 3 primary keys indicated and functional dependency indicated 5 Format followed 2 Question 4 40 marks -10 Mark penalty for having errors in code i. CREATE TABLE - (15 marks) Appropriate Create table statement 8 Appropriate attributes and datatypes 5 Sequence of table creation 2 iii. Constraints - (10 marks) Appropriate primary keys 3

len2281792

4/12/2019 11:32:09 PM

Question 2 20 marks Correct data types are identified 4 Mandatory attributes are identified 4 Foreign keys are identified with referencing tables 4 All other attributes are correctly identified 4 Sequence of the tables are correct 2 Format followed 2

len2281792

4/12/2019 11:32:00 PM

3. ER Diagram (35 marks) Penalty for not including name/student in chart (-5 marks) Presented neatly and unjumbled as much as possible, and created with software (e.g. LucidChart, Visio or draw.io) 3 Entities and attributes are represented correctly 4 Cardinality appropriately represented (using crows feet notation) 5 PK & FK - represented with underscores and FK (crows feet notation system) 5 PK - Appropriate choices for Primary Keys 3 Attributes are atomic 2 Entities hold all relevant attributes (that is, there hasn't been an over division of attributes) 2 Possible to find out which flight is flown by which pilot 2 passenger has taken many flights 2 Possible to find the event of maintenance for a specific airplane 3 Possible to find the how many flights an airplane has flown 2 Passengers on a flight 2

len2281792

4/12/2019 11:31:49 PM

Marking criteria for Task2: Marks are allocated as indicated on each question. Please read the marking scheme carefully for guidance as to what is required of you Question 1 60 marks 1. Business rules (15 marks) Business rules are clear and concise 5 All business rules have been included 5 All business rules are correct 5 3. Entities and Attributes (10 marks) All Entities have been listed 4 All Attributes have been listed 4 The understanding between entities and attributes are clear 2

len2281792

4/12/2019 11:31:40 PM

Examination - Written assessment of all content covered in the subject. The exam includes practical questions such as writing queries, creating an er model, normalizing etc. (2.5 hours) End of Semester a, b, c, d, e 1,2,3 A,B,C,D 50% Individual

len2281792

4/12/2019 11:31:32 PM

Software Application - Suggested topic: Development and demonstration of the use of a SQL database, with associated documentation, for the above model. (Equivalent to 1,000 words and a 10 minute demonstration) Week 12 a, b, c, d, e 1,2,3 A,B,C,D 30% Individual

len2281792

4/12/2019 11:31:25 PM

Assessment Tasks: Due Date Subject Learning Outcomes Course Learning Outcomes MP Graduate Attributes %Weight Comment s Report - Suggested topic: Report including specifying and justifying a data base model from a given case study. (Equivalent to 1000 words ) Week 8 a, b, c, f 1,3 A,C,D 20% Individual

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