Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Assessment Item 1:

Task

The Fermoy House database

The owners of Fermoy House, a Bed and Breakfast guest house in the Blue Mountains of NSW, have approached you to build them a database to help them run their business.

Fermoy House provides overnight accommodation and breakfast to couples and has four guest bedrooms and a detached private cottage in a private part of the garden. Each bedroom, and the cottage, will accommodate a maximum of 2 guests only.

Task 1. Create an ERD that shows the entities, attributes, relationships, cardinality and optionality that describe the booking of a room by a guest. This ERD is to be labelled ERD 1.

In order to create a point of differentiation from other local bed and breakfast houses, Fermoy House will allow guests to have up to 2 of their dogs stay in the attached kennels. The dog names are normally recorded so that Fermoy House can provide guests with a personalised dog collar for each dog.

Task 2. Add the entities, attributes, relationships, cardinality and optionality that describe the addition of a dog(s) by a guest to their booking. Add these to ERD 1. This new ERD is to be labelled as ERD 2.

Breakfast is provided for all guests as part of their accommodation, and guests can choose from either a Continental or a cooked Irish breakfast. This information is normally recorded at the time of booking the accommodation.

Task 3. Add the entities, attributes, relationships, cardinality and optionality that describe the addition of breakfast by a guest to their booking. Add these to ERD 2. This new ERD is to be labelled as ERD 3.

Bookings are normally taken for up to 12 months in advance and guests who have stayed more than 5 times at Fermoy House receive a gift of wine and chocolates on arrival.

Task 4. Add the entities, attributes, relationships, cardinality and optionality that describe how many times a guest has booked a stay at Fermoy House. Add these to ERD 3. This ERD is to be labelled as ERD 4.

Rationale

This assessment item is designed to test your understanding of the following learning outcomes:

Basic database design and modelling concepts, Identification and interpretation of business rules,

Creation of an Entity Relationship Diagram from a set of business rules,

Application of correct relationships, cardinalities, optionality using the Crows Foot modelling notation.

Presentation

Assignments are to submitted as a single document with all ERD drawings embedded in the document. Assignments that are submitted with separate ERD drawings will not be accepted.

ERD drawings are to be completed using either mySQL or the Draw.io tool.

Assessment item 2

Task

Home Library

ISBN

Title

Author_LastNam e

Author_FirstNam e

Publisher

Date

Edition

Media

369852

Cosmos

Sagan

Carl

Random House

1980

1

Book

741258

No Secrets

Simon

Carly

Elektra

1972

1

CD

654789

Symphony No 3 Dur Eroica Op 55

Beethoven

Ludw ig

 

1805

1

CD

789654

On the Decay of the Art of Lying

Tw ain

Mark

Project Gutenberg

1880

1

eBook

258963

The Adventures of Sherlock Holmes

Conan Doyle

Arthur

Project Gutenberg

 

1

eBook

125896

The Divine Comedy

Alighieri

Dante

Project Gutenberg

 

1

ebbok

357951

The Hitchhikers Guide to the Galaxy

Adams

Douglas

Pan books

1979

1

Book

852369

The Return of the King, Soundtrack

Shore

How ard

Reprise

2003

1

CD

831975

Unseen Academicals

Pratchett

Terry

Doubleday

2009

1

Book

Tasks:

Using the Home library relation above:

1. Draw a dependency diagram to show the functional dependencies that exist in this relation.

2. Decompose the Home Library relation into a set of 3NF relations and draw a dependency diagram for each of the 3NF relations.

3. Develop the Relational Schema for each of these 3NF relations and show the referential integrity constraints that apply.

Rationale

This assessment item is designed to test your ability to

Gather, analyse and model business requirements using Enhanced Entity Relationship Diagrams (EERD), Critically analyse a database design and apply Normalisation Theory and techniques.

Assessment item 3

Task

Notes:

This assignment requires you to use MySQL to complete the tasks listed below. The instructions listed below relate to MySQL. Typing the SQL statements or the results is NOT acceptable and will result in 0 marks for the assessment

You are required to submit:

1. The appropriate SQL statements for each query, which should be copied from your SQL code in MySQL and pasted into your submission file, and

2. Screenshots of the resultant tables which are to be pasted into your submission file immediately after the SQL code for that query.

3. Typing or manually drawing the results is NOT acceptable.

Tasks Part 1

Open the database prime_minister database (prime_minister.sql ) from the ITC556 Interact Resources Databases folder. Answer the following queries using this database.

1. Find certain Governors General of Australia.

a. Find all Governors General of Australia who were Barons at the time of their appointment. List them by Title and name and date that they were appointed to the position. Order the list by ascending date of appointment.

b. Now, format the date of appointment as day of the week, day of the month, month and year; eg. Monday, 01 January, 1901. Order the list by ascending date of appointment.

2. Find certain Leaders of the Opposition.

a. Find all Leaders of the Opposition and their date of appointment, who assumed their position after 01/01/1980.
b. For each Leader of the Opposition listed, add their wife's name and their date of marriage.

3. Find certain Governors General of Australia.
a. List the title, name, date of appointment for Governors General of Australia who were appointed between 01 January 1930 and 01 January 1960. Order by ascending date of appointment.
b. Now add to the results of q3a, the list of Prime Ministers who appointed them and all Leaders of the Opposition who served during their appointment as Governor General of Australia. Order by ascending date of appointment.

4. Who are the Opposition Leaders who subsequently became Prime Minister after 1930?

a. List their name, the date they were elected Opposition Leader and the date they were elected Prime Minister. The dates must be formatted as day of the week, day of the month, month in digits and year in four digits; eg. Monday, 01/01/1901. Order the list in ascending date of appointment as Prime Minister.

b. Now add their Deputy Prime Minister's name and the party that they led. Order the list by ascending date of appointment as Opposition Leader.

Part 2

 

2409_Database.jpg

The design of the Prime_Ministers database is now very old. You have been asked to review this design, as shown in the ERD below and advise how it could be updated. You are to complete the following tasks:

5. Advise how you would improve the ability to query information in this database. For simplicity, use only the tables prime_minister, governor_general, ministry and opposition in your answer.

a. What new integrity constraints would you use in each of these tables?

b. Why would you use these integrity constraints? Explain how your constraints would improve queries on the tables.
c. Write the DDL code that would implement your new integrity constraints for the following tables:
i. Prime_minister
ii. Governor General
iii. Ministry
iv. Opposition

(Note: You must keep all of the data attributes currently in these tables. Your implementation should include all existing data attributes and any new integrity constraints)

Rationale

This assessment will test your ability to:

be able to implement a database design using Structured Query Language (SQL); be able to query a database using SQL.

Presentation

You are required to submit:

1. The appropriate SQL statements for each query, which should be copied from your SQL code in MySQL and pasted into a single submission file, and

2. Screenshots of the resultant tables which are to be pasted into your submission file immediately after the SQL code for that query.

3. Typing or manually drawing the results is NOT acceptable

Assessment item 4

Rationale

Covering all topics, this assessment task has been designed to assess your ability to:

apply database theory to the design and implementation of relational databases;

analyse and model business database requirements using Entity Relationship Diagrams; analyse a database design and apply Normalisation theory and techniques;

implement a database design using Structured Query Language (SQL); query a database using SQL.

Requirements

The examination consists of:

Multiple choice questions,

short and long answer questions.

The examination is a Closed book examination.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91967671
  • Price:- $180

Guranteed 48 Hours Delivery, In Price:- $180

Have any Question?


Related Questions in DBMS

Assignmenta restaurant is designing a database to keep

Assignment A restaurant is designing a database to keep track of customer services. A customer is defined as a customer ID, name, address and a telephone number. Customers are served by employees. Each employee is define ...

In this section the student is required to develop a

In this section, the student is required to develop a technical debate based on his/her understanding using available scientific literature. The answer to this question should not exceed three A4 Pages. In the traditiona ...

Question 1 describe 1nf 2nf 3nf2 explain why 4nf is a

Question: 1: Describe 1NF, 2NF, 3NF. 2: Explain why 4NF is a normal form more desirable than BCNF. The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA format.

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

Suppose that we have a table of house prices and a table of

Suppose that we have a table of house prices and a table of zip codes: • hprices(hid (PK),address,bedrooms,price,zipcode) • zipcodes(zipcode (PK),state) Write a SQL query that finds the average, maximum, and minimum pric ...

Q1 given the following file for assignment workercom

Q1. Given the following file for assignment worker.com, identify data anomalies that must be removed before data can be loaded in data warehouse. Worker_assignment ← -----------------on course web site File is available ...

Answer the following question explain the difference

Answer the following Question : Explain the difference between a database management system (DBMS) and a database. Are Microsoft Access, SQL Server, and Oracle examples of databases or database management systems (DBMS)?

Case study problem 1 the case study company has experienced

Case Study: Problem 1 The case study company has experienced rapid growth in both the size of its client base and also in the services provided to clients. Unfortunately, the growth in data management policies, procedure ...

Sql assignmentin these exercises youll enter and run your

SQL Assignment In these exercises, you'll enter and run your own SELECT statements. You will use the MyGuitarShop database for these queries. If you do not already have the MyGuitarShop database, the SQL script and the i ...

Sqlwrite a select statement that returns one column from

SQL Write a SELECT statement that returns one column from the Vendor table named Full Name. Create this column from the VendorContactFName and VendorContactLName columns. Format it as follows: last name, comma, first nam ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As