What is a deletion anomaly

Assignment Help Database Management System
Reference no: EM131799277

Question 1: ER Model (30 marks)

If you prefer to use something else you are more familiar with that is also ok. e.g. LucidChart, Visio, MS Paint, GIMP or even Google Drive.

Did you know you can create drawings in your Google drive?
Once you have created your diagram just insert it into your final document.

You have just been employed as a database designer in a well-established software development firm. Your first job is to design and implement a database system for a cooking website known as "Cookbook".

The key elements of the requirements for this website are detailed in the following dot points. Use this information to understand their requirements and draw an ER Diagram.

• Cookbook has a comprehensive listing of recipes on their website. Each recipe has its own unique identifier. Also recipes have a name to describe what is being created and a method which can be stored as a very long paragraph.

• Each recipe will require some ingredients in varying amounts. Each ingredient is given a unique name to identify it in addition to a description.

• A cuisine is defined as a unique style that which a recipe can be classed as having. E.g. Spaghetti Bolognese has a cuisine style of "Pasta". Each recipe can only be associated with at most, one cuisine. Each cuisine is recorded with style as its unique identifier and a country of origin.

• Each recipe is composed by at least one, but possibly several authors. Each author also needs to be recorded in the database. An author can be identified by their full name and further attributes include gender and date of birth.

• Anyone who registers an account on Cookbook is permitted to rate the recipes using the ratings system. They may also wish to leave a comment about the recipe. Each user can be identified by a user ID and further attributes include an email address and name.

According to the given description, construct an Entity Relationship (ER) diagram for the database, and make assumptions where necessary. You must represent entities, relationships and their attributes, and all applicable constraints in your ER diagram. Explain any concepts in the description that cannot be expressed in the ER diagram.

Question 2: The Relational Model (25 marks)

Convert the following ER diagram into a relational database schema.

877_ER Diagram.png

For each relation in your relational database schema, you should:

• Underline a primary key for each relation - each relation MUST have a primary key

• Denote any foreign keys with asterisks(*) in your relations
Make sure you create a relation for each entity and relationship you see.

Question 3: Short answer (10 marks)

What is a deletion anomaly and how can we avoid encountering one in our database design? Please use an example to explain.

Responses should be limited to no more than 2 or 3 sentences but this is not a strict requirement.

Reference no: EM131799277

Questions Cloud

Explain how ethical frameworks shape business decisions : Explain how ethical frameworks shape business decisions. Prompt: Acme, Inc. is a clothing manufacturer that employees 1,500 people in the state of New York.
Determine the size of the two replacement payments : Determine the size of the two replacement payments if interest is 4.1% compounded quarterly and the focal date is now
Explain the differences between leadership and management : Write a one-two sentence personal definition of organizational management. write about the differences between leadership and management.
How value chain helps companies become more competitive : How value chain helps companies become more competitive. You are presenting these to the administrative team from the production department.
What is a deletion anomaly : What is a deletion anomaly and how can we avoid encountering one in our database design? Please use an example to explain.
Determining the minimum dollar amount : If her required effective annual return is 15%, what is the minimum dollar amount for which Mrs. M. should sell her shares?
What led coke to make the packaging-branding move : Coca-Cola is launching a new soft drink packaging that essentially obscures the difference between various kinds of Coke.
Execute radical change within the organization : Which type of leadership is the most beneficial to execute radical change within the organization.
What is the relationship between pigovian taxes : What is the relationship between Pigovian taxes and market failure? How do Pigovian taxes internalize externalities?

Reviews

Write a Review

Database Management System Questions & Answers

  What is a relational database

What is a relational database-Write a 1500 word essay on the above question. Your response should include the evolution of 1st generation data models

  Write a script that uses a cursor and dynamic sql

Write a script that uses a cursor and dynamic SQL to output one row from each base user table in the AP database. Specifically exclude the tables named "dtproperties" and sysdiagrams" from the result set.

  Which object would you use to enter, delete, or modify data

Which object would you use to enter, delete, or modify data. Which object would you use to retrieve customers who live in Germany and the United States

  Explain and draw architecture of web-based data warehousing

Explain how decision style can effect on the decision makers think and react to a problem? Explain and draw the architecture of web-based data warehousing.

  The focus is to write sql queries that combine data

This is the final installment of the project! The focus is to write SQL queries that combine data from both Mondial and GapMinder (GM). For most queries you will need both Mondial and GM data, so you may need to use your bridge table(s).

  Discuss the different database types and dbms

Discuss the different database types and database management systems. Impact of Cloud Computing on individual consumers and Businesses.

  Steps in creating oracle non-predefined exception handlers

What are the differences between anonymous PL/SQL code and procedures (Oracle named blocks)? Explain the steps in creating Oracle non-predefined exception handlers and user defined exception handlers.

  Create a relational database schema

Draw the ER diagram for the database described above and create a relational database schema for this model assuming

  Prepare a high-level summary of the main requirements

Prepare a high-level summary of the main requirements to evaluate DBMS products for data warehousing.

  Build relatively well normalized relational database

If we added hats in 3 sizes and 3 colors and 3 styles, discuss briefly how many additional tables you 'uld add to the design.

  Methods that can be used to optimize database components

Evaluate at least two methods that can be used to optimize database components such as queries, reports SQL transaction processing, and data consumption

  Assignment of database design

Create a data dictionary that includes the following: a. A description of the content for each field b. The data type of each field ac. The format the data will be stored as in the field d. The range of value for the field e. A label, as required, i..

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