Question: A database has been designed to store data about programmers and the programs they have developed. These facts help to define the structure of the

A database has been designed to store data about programmers and the programs they have developed.
These facts help to define the structure of the database:
– Each programmer works in a particular team.
– Each programmer has a unique first name.
– Each team has one or more programmer.
– Each program is for one customer only.
– Each programmer can work on any program.
– The number of days that each programmer has worked on a program is recorded.
The table ProgDev was the first attempt at designing the database.

FirstName Team WC NoofDays ProgramName TV control Customer Alice 3 SKM Ice

a) State why the table is not in first normal form (1NF).
b) The database design is changed to:
Programmer (FirstName, Team)
Program (FirstName, ProgramName, No Of Days, Customer)
Using the data given in the first attempt table (ProgDev), copy and complete these revised table designs to show how these data are now stored.

alert 2 WZP Digital camera 6 HNC Charles PC Oil flow 1

c) i) A relationship between the two tables has been implemented.
Explain how this has been done.
ii) Explain why the Program table is not in third normal form (3NF).
iii) Write the table definitions to give the database in 3NF.

FirstName Team WC NoofDays ProgramName TV control Customer Alice 3 SKM Ice alert 2 WZP Digital camera 6 HNC Charles PC Oil flow 1 GEB Rescue Pack BGF Ahmad QR TV control SKM Accounts 8 ARC Digital camera 4. HNC Test Pack GKN 3

Step by Step Solution

3.49 Rating (176 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The table ProgDev is not in first normal form 1NF because it contains repeating groups such as mul... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Cambridge International AS & A Level Computer Science Questions!