Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

WGU C170 Objective Assessment Exam With Complete Solution | Latest Update 2026/2027 | Graded A+.

Beoordeling
-
Verkocht
-
Pagina's
18
Cijfer
A+
Geüpload op
09-05-2026
Geschreven in
2025/2026

WGU C170 Objective Assessment Exam With Complete Solution | Latest Update 2026/2027 | Graded A+. Second Normal Form – 3 Tables In order to achieve second normal form we need to split the first table into three separate tables so that all non-key attributes are functionally dependent on the entire primary key. I took the attributes that are partially dependent on the primary key, and placed them into separate relations. Donut Name, Donut Description, and Unit Price depend only on Donut Order ID. Donut Quantity and Item Total depend on both Donut Order ID and Donut ID. Third Normal Form – 4 Tables In order to achieve third normal form we need to eliminate any transitive dependency, meaning an attribute depends on another attribute that is not the primary key. For example, looking at our second normal form tables, Customer Last Name is dependent on Donut Order ID. (Each Donut Order ID has only one Customer Last Name value associated with it) To transform into third normal form we simply move any transitively dependent attributes to their own relation where they depend on only the primary key. Entity Relationship Diagram using tables from A1C: Both the Customer and Donut entities have a single primary key and related attributes that describe them. The orderDetails table is an associative entity that shows the interactive relationship between the Donut, and donutOrder entities. The DonutOrder entity has a primary key of DonutOrder_ID, and a foreign key consisting of Customer_ID to record the order date, notes, and totals that describe the interaction of the Customer and Donut purchase with corresponding foreign keys. The cardinality from customer to donutOrder is 1-to-many as a customer can place multiple orders, while the cardinality in the other direction will be manyto-1 because a donutOrder will have at most one customer per order. The donut to orderDetails cardinality is 1-to-many as one donut can fill multiple orderDetail records, while in the other direction, an orderDetails record will have 1 donut per record, representing a many-to-1 relationship. The donutOrder to orderDetails cardinality is 1-to-many as one donutORder may reference multiple orderDetail records, and in the other direction, one orderDetails record will only pertain to one donutOrder. The orderDetails table has a composite primary and composite foreign key key consisting of donutOrder_ID and Donut_ID which shows the intersection data of the Donut and donutOrder tables. C. Develop the SQL code to create each of the third normal form tables you designed in part A and refined in part B: CREATE TABLE `Customer` ( `Customer_ID` INT UNSIGNED NOT NULL, `First_Name` VARCHAR(25) NOT NULL, `Last_Name` VARCHAR(25) NOT NULL, `Address` VARCHAR(25) NOT NULL, `Apt` VARCHAR(4), `City` VARCHAR(25) NOT NULL, `State` VARCHAR(2) NOT NULL, `Zip` VARCHAR(5) NOT NULL, `Home_Phone` VARCHAR(12) NOT NULL, `Mobile_Phone` VARCHAR(12), `Other_Phone` VARCHAR(12), PRIMARY KEY (`Customer_ID`)

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

WGU C170 Objective Assessment Exam With Complete
Solution | Latest Update 2026/2027 | Graded A+.




First Normal Form – 1 Table

I gleaned this table from the unstructured data contained within the order form. I made sure not to
have any redundant groups, and each column in the table will contain atomic values. Donut ID, Donut
Name, Donut Quantity, Unit Price, and Donut Description are an example of a repeating group. As I
mentioned earlier, in order to achieve first normal form, we must eliminate repeating groups. This
requires the use of a composite key made up of Donut Order ID and Donut ID.

,Second Normal Form – 3 Tables


In order to achieve second normal form we need to split the first table into three separate tables so
that all non-key attributes are functionally dependent on the entire primary key. I took the
attributes that are partially dependent on the primary key, and placed them into separate relations.
Donut Name, Donut Description, and Unit Price depend only on Donut Order ID. Donut Quantity and
Item Total depend on both Donut Order ID and Donut ID. Third Normal Form – 4 Tables

In order to achieve third normal form we need to eliminate any transitive dependency, meaning an
attribute depends on another attribute that is not the primary key. For example, looking at our
second normal form tables, Customer Last Name is dependent on Donut Order ID. (Each Donut Order
ID has only one Customer Last Name value associated with it) To transform into third normal form we
simply move any transitively dependent attributes to their own relation where they depend on only
the primary key.

, Entity Relationship Diagram using tables from A1C:

Both the Customer and Donut entities have a single primary key and related attributes that describe
them. The orderDetails table is an associative entity that shows the interactive relationship between
the Donut, and donutOrder entities. The DonutOrder entity has a primary key of DonutOrder_ID, and
a foreign key consisting of Customer_ID to record the order date, notes, and totals that describe the
interaction of the
Customer and Donut purchase with corresponding foreign keys. The cardinality from customer to
donutOrder is 1-to-many as a customer can place multiple orders, while the cardinality in the other
direction will be manyto-1 because a donutOrder will have at most one customer per order. The donut
to orderDetails cardinality is 1-to-many as one donut can fill multiple orderDetail records, while in the
other direction, an orderDetails record will have 1 donut per record, representing a many-to-1
relationship. The donutOrder to orderDetails cardinality is 1-to-many as one donutORder may
reference multiple orderDetail records, and in the other direction, one orderDetails record will only
pertain to one donutOrder. The orderDetails table has a composite primary and composite foreign key
key consisting of donutOrder_ID and Donut_ID which shows the intersection data of the Donut and
donutOrder tables.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
9 mei 2026
Aantal pagina's
18
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$14.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
DRBRIGHT2026 Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
930
Lid sinds
3 jaar
Aantal volgers
696
Documenten
5683
Laatst verkocht
1 dag geleden
ALPHA STUDY CENTRE.

Alpha Academy is a dedicated study centre where you will find QUALITY & RELIABLE study resources that will help you prepare, revise and pass your examinations for all majors and modules in real TIME.. Good Luck from ALPHA ACADEMY.

3.7

183 beoordelingen

5
95
4
25
3
19
2
7
1
37

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen