Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Task Your task for this assignment is to complete a database design for the given case study. Model the system described in the case

The Task

Your task for this assignment is to complete a database design for the given case study. Model the system described in the case study and draw a Physical Data Model using MySQL Workbench. Your diagram must conform to the notation used in this subject (object notation = Workbench Simplified, relationships notation = Crows Foot, show data types). If you include sub-types, place them inside a Layer with a note explaining their relationship to the super-type. Your model should be in at least 3rd normal form. If you are uncertain about any aspect of the handout, seek clarification via GOOGLE CLASSROOM, in class, or at Office Hours. You may write down any assumptions you made when designing your model. (However, assuming without checking, may not be accepted, especially if it simplifies the assignment.

Scenario A newspaper is setting up a website where people can write, read and comment on news stories. Your job is to design a database that can record the information needed for the website to work. The website lists a number of stories, each classified within one of about 10 sections (Local news, World news, Opinion, Sport, Technology etc). Each content of each story consists of a piece of text (the manager would prefer there to be no limit on the size) as well as a headline and a short lede (a lede is a sentence of 10 to 20 words that summarizes the story). Each story is written by one or more of our authors, who submit the story to our database on a particular date. If a story is considered worthy, it is edited by one of our editors, assigned to a section, and then published on a particular date. Authors and editors are staff members. It is not possible to be both an author and an editor. About each staff member we store their name and when they join (and later leave) the newspaper. We want to organize the website so that readers can click on a section, or an authors name, and see a list of all the relevant stories. On the main page we list each storys title (shown as a headline) and lede. Then if the reader clicks on the headline, we display the entire story. Our readers, if they wish, can choose to register themselves in our database, recording a username and password (they do not need to record their real name). Readers who register can then comment on stories, and on other readers comments. They can also click Like on a story and if they change their mind later, they can Unlike it. When we display a story, we show the number of Likes the story has received and list out the comments below it. With each comment we show the username of the person who commented, and the time they commented. We aim for brevity in comments and restrict them to 1024 characters.

Assessment

This assignment is worth 10% of your marks in the subject. Your data model will be assessed on the correctness and completeness of your solution. Correctness refers to whether your model adheres to the rules and syntax of data modelling. Completeness refers to whether the model includes all of the required entities and relationships and can handle the data storage problem specified.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

Explain the chemical properties of acids with examples.

Answered: 1 week ago

Question

Write the properties of Group theory.

Answered: 1 week ago

Question

Have roles been defined and assigned?

Answered: 1 week ago