Question

In: Computer Science

Bill Arrow of the PROPS airplane service business that we learned about for 1 also has...

Bill Arrow of the PROPS airplane service business that we learned about for 1 also has an auto rental business at that same small airport. He has been managing this part of his “empire” with a large, complicated spreadsheet. The spreadsheet has met his needs in the past, but with the success of the database you designed and implemented for the airplane storage and service parts of his business, he has recognized the value of the database to store, access, protect his data. He has asked you to develop a plan to incorporate his existing spreadsheet data into new database.

The spreadsheet contains data for the cars in the rental fleet. It tracks the maker, model, VIN number, body style, and number of doors for each car. It also tracks the dealers from whom Bill bought the cars with dealer name and address. (Most dealers have brick and mortar buildings and physical addresses. However, there are also some Tesla autos in the fleet. Bill buys these units directly from Tesla through a web site.)

The following table represents a portion of the spreadsheet. Using this table as a starting point, show the steps you would take to design a new, normalized table(s) that could be added to the existing PROPS database. There is no need to consider how this new table(s) would be actually be added to the PROPS database

PROPS Auto Rental Spreadsheet

Maker

Model

VIN Number

Body Style

Doors

Model Year

Dealer

Address

Ford (F)

Fusion (F)

123456789

Sedan (S)

4

2020

Valley Ford (VF)

123 Valley Road

Glenview, VA

F-150 (F-1)

234567890

Pickup (P)

2

2020

Escape (E)

34567891

SUV

5

2020

Ridgeline Ford (RF)

1515 Ridge Rd.

Crestview, SC

Tesla (TS)

Y

908070123

Hatch (H)

5

2020

Tesla (T)

Tesla.com

Toyota (T)

Camry (C)

987654321

Sedan (S)

4

2019

Mid-Town Toyota (MT)

321 Main St

Ridge City, NC

RAV4 (R)

678954321

SUV

5

2020

Ridgeline Ford (RF)

1515 Ridge Rd.

Crestview, SC

  1. Convert the PROPS Auto Rental spreadsheet into a 1NF relational database table(s). You may add fields to the table, if necessary. You may use the abbreviations from the spreadsheet in your table. Indicate prime key field(s).   Provide written justification for your solution, if necessary. Draw the table as a grid. (20 points)
  1. Put the 1NF table from Question 7 into 2NF. Provide written justification for your solution, if necessary. (20 points)

  1. Put the 2NF tables from Question 8 into 3NF. Provide written justification for your solution, if necessary. (20 points)

Solutions

Expert Solution

ORIGINAL DATABASE-

Maker Model VIN Number Body Style Doors Model Year Dealer Address

To normalize this data base -

What is normalization?

It is the process of simplifying the database or breaking the large table into small multiple tables to reduce data redundancy and to remove certain anomalies sucha as update , insert, delete anomaly.

There are 6 Normal Forms of the normalization, But here we have to do Upto 3rd Normal Form.

1. 1st NORMAL FORM-

In first normal form each attribute of the table should be atomic in value that is it should not have multiple values.

Since this table has all the atomic values in it so it is in 1NF already.

VIN Number Maker Model Body Style Doors Model Year Dealer Address

2. 2nd NORMAL FORM-

In second normal form it should follow these two rules-

a- It should be in 1st Normal Form.

b- And all the non-key attributes should be fully functional dependent on the primary key.
It should not have Partial Dependency.

Therefore after converting the table into 2NF we have two tables now-

Table 1- Vehichle info table-

This table has VIN number as the primary key and the maker, mode, dealer and address are fully functional dependent on it.

VIN Number Maker Model Dealer Address

Table 2- Model description table-

This table has model as a primary key and the body style , doors and model year are fully functional dependent on it.

Model Body Style Doors Model Year

3. 3rd NORM FORM-

In third normal form it should follow these two rules-

a- It should be in 2nd Normal Form.

b- And it can not contain any transitive partial dependency.

Therefore after converting the table into 3NF we have three tables now-

Table 1- Vehichle info table-

This table has VIN number as the primary key and the maker, mode, dealerID as foriegn key, dealer and address atrtributes are removed to remove any transitive partial dependency on it.

VIN Number Maker Model DealerID

Table 2-Dealer INfo Table-

This table has been created separately in order to store dealers personal info separately and to remove the transitive partial dependency of table 1. This has dealerID as primary key

DealerID Dealer Address

Table 3- Model description table-

This table has model as a primary key and the body style , doors and model year are fully functional dependent on it and do not have any transitive partial dependency also, so it is in 3nf only.

Model Body Style Doors Model Year

ques- Where did you get Dealer ID from?

Answer- I created it separately in order to create a unique key in dealers info table. DealerID will be auto incremental from 1,2,3,4 and so on..

Here in these tables, The Primay key of each table is in bold and underlined the foriegn keys are italics and underlined.

If any doubt, please feel free to ask and comment, i would like to answer them.
Thank you


Related Solutions

We have learned about the components that make up the manufacturing costs also known as products...
We have learned about the components that make up the manufacturing costs also known as products costs (direct materials, direct labor, manufacturing overhead, and/or conversion costs). Of all the components that make up the manufacturing costs, which one do you think is most important and why? Please answer is 1 paragraph. (7-8 thorough sentences.) Include a few details. Thank you and enjoy your day!
This week you learned about mental health and law. You also learned about the case of...
This week you learned about mental health and law. You also learned about the case of Andrea Yates. Your discussion is two fold. Part A: Having read about Andrea Yates, answer the following questions keeping her in mind: How should judicial system prosecute a mentally disturbed offender who has committed a serious crime? When answering this question, think about jury selection (should the jury receive training in mental illness). Think about the judges presiding over these cases (should the judge...
1) What I learned about doing business in UAE and India?
1) What I learned about doing business in UAE and India?
We've learned about PHI and how important it is to protect patient information. We've also learned...
We've learned about PHI and how important it is to protect patient information. We've also learned how "loose talk" causes problems. But how many of us have put that into practice? Your challenge is to go out into the world this week (or your current home or work environment), sit for awhile, and count how many times in a day you hear others talking about someone behind their back. It can be good or bad, it doesn't matter for the...
Microorganisms give rise to... 1. Mitochondria (Not sure about this one. We learned about endosymbiosis and...
Microorganisms give rise to... 1. Mitochondria (Not sure about this one. We learned about endosymbiosis and how the mitochondria may have started out as a microbe that over time became integrated into cells, but I'm not sure if that counts) 2. DNA (I think this is a choice because microorganisms have DNA!) 3. Microorganisms (I think this is a choice because microorganisms reproduce and thus give rise to other microorganisms) 4. Proteins (I feel like this should be one because...
we learned about interest expense on notes payable. Interest expense is an actual expense. we learned...
we learned about interest expense on notes payable. Interest expense is an actual expense. we learned about bad debt expense.  Bad debt expense is an estimated expense. 1. What is the difference between an actual expense and an estimated expense? 2. Why do we have to record bad debt expense, which is an estimated expense?
1.Many of the traits we learned about in this lab have had a lasting effect on...
1.Many of the traits we learned about in this lab have had a lasting effect on our lineage, and as a human, you still bear their consequences today. For example, humans are at high risk of knee injuries, such as tears in the ligaments that support the knee joint between the femur and tibia. What adaptation that traces back to australopiths, like Lucy, might put additional strain on your knee? Why would a trait with such negative consequences have evolved?...
In chapter 1, we learned about the Canadian financial reporting environment, including the stakeholders for a...
In chapter 1, we learned about the Canadian financial reporting environment, including the stakeholders for a private, public, or government organization. Identify 3 major stakeholders that use financial accounting information and briefly explain how these stakeholders might use the information from financial statements.
1. We learned about each of the following experimental stories in class, which together led to...
1. We learned about each of the following experimental stories in class, which together led to the discovery of cell cycle regulation. For each one, list the model organism used, the major experimental steps that were taken, and the major result that was obtained (the significant piece of cell cycle regulation that was uncovered by the experiment) a. Identification of cyclin b. Identification of cell division cycle (CDC) mutants c. Identification of maturation promoting factor (MPF) 2. How did the...
We learned about PD-1 and CTLA4 under the topic - costimulation. Feel free to revisit that...
We learned about PD-1 and CTLA4 under the topic - costimulation. Feel free to revisit that topic. Now explain (with precise cellular and molecular processes related words) that how anti-PD1 and anti-CTLA4 antibodies are likely to treat cancer. "In the 1890s, oncologist William Coley began to inject cancer patients who had inoperable tumors with a mixture of killed bacteria. Coley reported success with the approach and “Coley’s toxins” were sold as a cancer therapy in the United States even into...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT