Question

In: Computer Science

This is all one question: A theater uses the following table/sheet to manage ticket sales, which...

This is all one question:

A theater uses the following table/sheet to manage ticket sales, which turned out to be a very bad practice. The manager of theater hires you to design a database to manage the ticket sale information.   

TICKET-SALES (InvoiceNumber, CustomerID, ShowTitle, SeatType, SeatLocation, TicketPrice, CustomerName, CustomerCell, ShowTime, Director_of_Show)

Note: A customer can purchase multiple seats in one order (with one InvoiceNumber). It is also the common sense that the price of a ticket/seat depends on the show, it’s showtime and seat location. Also note this theater may have multiple shows at the same time.  

To do your job, you need to answer the following questions:  

-List al Functional Dependencies

-List Multivalued Dependencies, if there is any.

-What is the key of original table (TICKET-SALES)?

-What normal form this table is in and Why? Give a clear justification/explanation

-How do you normalize it? Show the result of normalization

Solutions

Expert Solution

TICKET-SALES (InvoiceNumber, CustomerID, ShowTitle, SeatType, SeatLocation, TicketPrice, CustomerName, CustomerCell, ShowTime, Director_of_Show)

Functional Dependencies :

CustomerID -> CustomerName, CustomerCell ---------------- partial dependency

ShowTitle, ShowTime, SeatType, SeatLocation -> TicketPrice -------- transitive dependency

ShowTitle -> Director_of_Show ------- transitive dependency

Multivalued Dependencies:

InvoiceNumber , CustomerID ->-> SeatType

key of original table

Composite key ----------- InvoiceNumber , CustomerID

Normal form this table is in :

The given table is in 1NF because there exists partial dependency.

The result of normalization

Customer(CustomerID , CustomerName, CustomerCell)

Show(ShowTitle, ShowTime, SeatType, SeatLocation , TicketPrice)

Show(ShowTitle , Director_of_Show)

Seat(InvoiceNumber , CustomerID , SeatType)

bold attributes are primary keys and italicized are foreign keys.

Do ask if any doubt.


Related Solutions

A theater owner agrees to donate a portion of gross ticket sales to a charity •The...
A theater owner agrees to donate a portion of gross ticket sales to a charity •The program will prompt the user to input: −Movie name −Adult ticket price −Child ticket price −Number of adult tickets sold −Number of child tickets sold −Percentage of gross amount to be donated •Inputs: movie name, adult and child ticket price, # adult and child tickets sold, and percentage of the gross to be donated •The program needs to: 1.Get the movie name 2.Get the...
•A theater owner agrees to donate a portion of gross ticket sales to a charity •The...
•A theater owner agrees to donate a portion of gross ticket sales to a charity •The program will prompt the user to input: −Movie name −Adult ticket price −Child ticket price −Number of adult tickets sold −Number of child tickets sold −Percentage of gross amount to be donated •Inputs: movie name, adult and child ticket price, # adult and child tickets sold, and percentage of the gross to be donated •The program needs to: 1.Get the movie name 2.Get the...
This is all one question: 1.   Given the following table that is used by an investment...
This is all one question: 1.   Given the following table that is used by an investment firm to keep track of stock transactions (buy/sell) for clients Transaction (Stock Symbol, StockName, Trans-Date, Trans-time, Number_of_Shares, Transaction_type, Trans-Price, AccountNo, ClientName)   Note, The investment firm have many clients who may have multiple accounts. But each account only associates with one client. An account includes multiple stocks.   On a trading day, a client can buy or sell any number of stock in his/her account. A...
Question 110 pts Which One (1) of the following traits is not a trait which all...
Question 110 pts Which One (1) of the following traits is not a trait which all vertebrate animals possess or share? Group of answer choices Dorsal, Nerve Chord Four Pentadactyl (five-fingered) appendages or limbs (4 legs or 2 arms and 2 legs) Post-anal tail Notochord or internal support rod Gill Pouches Flag this Question Question 210 pts ___________ is the comparative study of the similarities and differences between similar structures of related organisms. Group of answer choices Molecular Biology Genetics...
Interest rate Swaps are useful to manage the following: Select one: a. All of these b....
Interest rate Swaps are useful to manage the following: Select one: a. All of these b. Credit risk c. Interest rate risk d. Liquidity risk
Complete the balance sheet and sales information in the table for Esther Industries using the following...
Complete the balance sheet and sales information in the table for Esther Industries using the following financial data. Total Assets Turnover: 3.5 Gross profit margin on sales: = 30% Debt ratio: 40%​ Quick ratio: 0.85 Days sales outstanding (based on 365-day year): 15 days Inventory turnover ratio: 6 Partial Income Statement Information Sales                                    _______ Cost of goods sold $12,801,250 Balance Sheet Cash                                    _______       Accounts payable $2,446,250 Accounts receivable       _______       Long-term debt    ________ Inventories _______    Common stock...
Question 1- The sales team How to design, set up and manage a sales team, this...
Question 1- The sales team How to design, set up and manage a sales team, this is one of our greatest missions as a sales manager. Therefore, please explain: 1) How to design a sales team; 2) What type of indicators to use when evaluating their performance? 3) The alignment of the sales team with the organization.
Balance Sheet Analysis Complete the balance sheet and sales information in the table that follows for...
Balance Sheet Analysis Complete the balance sheet and sales information in the table that follows for J. White Industries using the following financial data: Total assets turnover: 1.7 Gross profit margin on sales: (Sales - Cost of goods sold)/Sales = 20% Total liabilities-to-assets ratio: 50% Quick ratio: 0.80 Days' sales outstanding (based on 365-day year): 36.5 days Inventory turnover ratio: 3.25 Do not round intermediate calculations. Round your answers to the nearest whole dollar. Partial Income Statement Information Sales $...
Balance Sheet Analysis Complete the balance sheet and sales information in the table that follows for...
Balance Sheet Analysis Complete the balance sheet and sales information in the table that follows for J. White Industries using the following financial data: Total assets turnover: 1.2 Gross profit margin on sales: (Sales - Cost of goods sold)/Sales = 25% Total liabilities-to-assets ratio: 45% Quick ratio: 0.80 Days' sales outstanding (based on 365-day year): 36.5 days Inventory turnover ratio: 3.75 Do not round intermediate calculations. Round your answers to the nearest whole dollar. Partial Income Statement Information Sales $  ...
Balance Sheet Analysis Complete the balance sheet and sales information in the table that follows for...
Balance Sheet Analysis Complete the balance sheet and sales information in the table that follows for J. White Industries using the following financial data: Total assets turnover: 1.8 Gross profit margin on sales: (Sales - Cost of goods sold)/Sales = 20% Total liabilities-to-assets ratio: 45% Quick ratio: 1.00 Days' sales outstanding (based on 365-day year): 36.5 days Inventory turnover ratio: 3.75 Do not round intermediate calculations. Round your answers to the nearest whole dollar. Partial Income Statement Information Sales $  ...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT