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

  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