Question

In: Computer Science

The manager of a company dinner club would like to have an information system that assists...

  1. The manager of a company dinner club would like to have an information system that assists him to plan the meals and to keep track of who attends the dinners, and so on.

Because the manager is not an IS expert, the following table is used to store the information. As a member can attend many dinners and a member will not attend more than 1 dinner on the same date, the primary key of the following table is Member ID and Dinner ID. Dinners can have many courses, from one-course dinner to as many courses as the chef desired.

MemberID

MemberName

MemberAddress

DinnerID

DinnerDate

VenueCode

VenueDescription

FoodCode

FoodDescription

214

Peter Wong

325 Meadow Park

D0001

02/02/2020

L01

Grand_Ball_Room

EN3

Stu ed crab

DEB

235

Mary Lee

D0002

02/02/2020

L02

Café

EN5

DEB

250

Peter Wong

D0003

03/03/20

L01

Grand_Ball_Room

SO1

Marinated Steak

EN5

Chocolate Mousse

DE2

Key Lime Pie

235

Mary Lee

D0003

03/03/2020

L02

Café

S01

Pumpkin Soup

SA2

Marinated Steak

DE2

Apple Pie

300

Paul Lee

D0004

03/03/2020

L03

Petit_Ball_Room

SA2

Apple Pie

  1. Transform the table above into first normal form 1NF. (To do this, check if there are multivalued attributes and transform the table to get rid of them)
    1. Identify the dependencies and which type they are (full dependencies, partial dependencies, transitive dependencies
  2. Transform the table above into second normal form 2NF. (To do this separate partial dependencies into separate tables).
  3. Transform the table above into third normal form 3NF. (To do this, remove the transitive dependencies by creating separate tables and relate them with the common attribute)

Solutions

Expert Solution

a) The multivalued dependency here is "Food Cod"

this is how the table will look in 1NF

b) the dependencies are :

MemberID --> Member name,Member Address,DinnerID,VenueCode,VenueDescription,FoodCod (PARTIAL DEPENDECY)

DinnerID --> DinnerDate(PARTIAL DEPENDENCY)

MemberID--> VenueCode,VenueDescription (TRANSITIVE DEPENDENCY)

MemberID,DinnerID --> Member name,Member Address,DinnerDate,VenueCode,VenueDescription,FoodCod

MemberName --> VenueCode,VenueDescription (FULL DEPENDENCY)

Therefore Primary Key is [MemberID,DinnerID] since from these two we can find all other attributes.

dependecy No.2 is a partial dependency since dinnerID is part of candidate key

c) To convert to 2NF we need to remove the two partial dependecies

d) to convert to 3NF we need to remove the transitive dependency

so the final table are as follows :


Related Solutions

A club serves dinner to members only. They are seated at 12-seat tables. The manager observes...
A club serves dinner to members only. They are seated at 12-seat tables. The manager observes over a long period of time that 95 percent of the time there are between six and nine full tables of members, and the remainder of the time the numbers are equally likely to fall above or below this range. Assume that each member decides to come with a given probability p, and that the decisions are independent. How many members are there? What...
Blake’s college does not currently have an investment club on campus. Blake would like to establish...
Blake’s college does not currently have an investment club on campus. Blake would like to establish an investment club to learn more about buying and sellling stocks. He also wants to help his housemates learn more about stocks and start aggressively saving toward some of their long term goals. 1) What are the benefits to establishing an investment club? 2) How should Blake convince his housemates that they should go in together to start up an investment club?
A company would like to implement a management information system that integrates all functional areas within...
A company would like to implement a management information system that integrates all functional areas within an organization to allow information exchange and collaboration among all parties involved in business operations. Which of the following systems is most effective for this application? A. Microsoft Access B. Data Analytics C. An office automation system D. ERP
The plant manager at a company would like to perform an analysis for a new $125,000...
The plant manager at a company would like to perform an analysis for a new $125,000 machine. If she estimates benefits of $20,000 in the first year, and benefits are increasing by 10% per year a. What is the payback period for the machine? (Hint: The Payback Period is the length of time required to recover the initial cash outflows through the successive cash inflows, thus find the time when Cumulative PW (at 0%) becomes positive) b. Suppose that the...
A manager of the company would like to determine average delivery time of the products. A...
A manager of the company would like to determine average delivery time of the products. A sample of 25 customers is taken. The average delivery time in the sample was four days with a standard deviation of 1.2 days. Suppose the delivery times are normally distributed. Provide a 95 % confidence interval for the mean delivery time. The manager claims that the average delivery time of their products does not exceed 3 days. Write the null and alternative hypothesis regarding...
Suppose we would like to determine if the typical amount spent per customer for dinner at...
Suppose we would like to determine if the typical amount spent per customer for dinner at a new restaurant in town is more than $20.00. A sample of 49 customers over a three-week period was randomly selected and the average amount spent was $22.60. Assume that the standard deviation is known to be $2.50. Using a 0.02 level of significance, would we conclude the typical amount spent per customer is more than $20.00?
2. What type of information would you like to have in the “Other Information” column on...
2. What type of information would you like to have in the “Other Information” column on the receiving sheet? Why? 3. Many operators feel that the receiving sheet is useful in calculating daily food, beverage, and nonfood costs. How do you think the receiving sheet is helpful in this matter? 4. What should a receiver do when a question arises regarding the quality of merchandise received? 5. What should a receiver do if a delivery is made without an accompanying...
The manager of a door-making company would like to estimate the amount of time it takes...
The manager of a door-making company would like to estimate the amount of time it takes for a piece of wood to be moved, cut, and packaged at two different plants. At Plant A, the manager observed 21 pieces that processed with an average time of 14.2 minutes and standard deviation of 2.6 minutes. At the second plant, the manager observed 19 pieces with an average time of 13.1 minutes with a standard deviation of 1.9 minutes. a. Test whether...
As manager of the Best Drinks Company in Hayward, you would like to sell drinks at...
As manager of the Best Drinks Company in Hayward, you would like to sell drinks at a booth during the major celebration in the Hayward’s Central Park. The following table provides information about the drinks that you will be selling: You estimate labor cost to be $600 (2 people, $300 dollars each per day at the booth). Even if nothing is sold, your labor cost will be still $600, so you decide to consider this a fixed cost. Booth rental,...
1. Suppose we would like to determine if the typical amount spent per customer for dinner...
1. Suppose we would like to determine if the typical amount spent per customer for dinner at a new restaurant in town is more than $20.00.  A sample of 49 customers over a three-week period was randomly selected and the average amount spent was $22.60.  Assume that the standard deviation is known to be $2.50. •Using a 95% confidence level of significance, would we conclude the typical amount spent per customer is more than $20.00? •Discuss your interpretation of your findings. 2....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT