Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For each exercise, you are required to build a set of tables normalized to 3NF.

ID: 3604737 • Letter: F

Question

For each exercise, you are required to build a set of tables normalized to 3NF. Tables should be described using the following notation: TABLE(field1, field2, field3, field4, field5, …) Using this notation, TABLE is the name of the table. Primary key fields are bold and underlined, like field1. Foreign key fields are italicized and required fields are in bold. Therefore, a required foreign key is in bold italics, like field2. An optional foreign key is in italics but not bold, as is field3. A primary key field that is also a foreign key is underlined, italicized, and bolded. Regular, non-key attributes are in bold when required, as is field4, and not in bold when optional, as is field5.

Exercise 2. FoundIT uses a table to keep track of all the computers used in the offices within the various buildings throughout the company. Each computer has a unique id. Each building has office numbers that begin at 101 and up depending on the number of rooms. COMPUTER ( ComputerID, ComputerDesc, BuildingID, BuildingName, BuildingManager, OfficeNum, EmployeeID, EmployeeName )

Explanation / Answer

COMPUTER ( ComputerID, ComputerDesc, BuildingID, BuildingName, BuildingManager, OfficeNum, EmployeeID, EmployeeName )

The table is supposed to have atomic values.So it is in 1NF.

2NF

Functional Dependencies

ComputerID -> ComputerDesc

BuildingID -> BuildingName

BuildingID -> BuildingManager

OfficeNum ->EmployeeID

Tables in 2NF

Computer(ComputerID , ComputerDesc)

Building(BuildingID , BuildingName , BuildingManager)

Office(OfficeNum , EmployeeID, EmployeeName)

3NF

Transitive Dependencies

EmployeeID -> EmployeeName

Computer(ComputerID , ComputerDesc,BuildingID,OfficeNum)

Building(BuildingID , BuildingName , BuildingManager)

Office(OfficeNum , EmployeeID)

Employee(EmployeeID,EmployeeName)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote