Bonanza Offer FLAT 20% off & $20 sign up bonus Order Now
HS2021
AU
Holmes Institute
Figure 1: entity relationship diagram
Normalization involves eliminating data redundancy thus enforcing data integrity on a relational database through restructuring the database through the following stages;
To describe the normalization process, the first step is to identify relations in UNF.
UNF
Criminals (Name, address, phoneNO, violentOffenderStatus, probationStatus, aliases)
1NF
The name attribute is a composite attribute and can be split to firstName and lastName.
Criminals (firstName, lastName, address, phoneNO, violentOffenderStatus, probationStatus, aliases)
2NF
Partial dependencies exist in the relation because there is no unique attribute thus to eliminate the partial dependencies a primary key criminalNumber is introduced.
Criminals (CriminalNumber,FirstName,lastName, address, phoneNO, violentOffenderStatus, probationStatus, aliases)
3NF
Criminals (CriminalNumber,FirstName,lastName, address, phoneNO, violentOffenderStatus, probationStatus, aliases)
UNF
Crime (classifification, dateCHarged, appealStatus, hearingDate, appealCutOffDate,CrimeCodes, criminals,AmountFile,charges, CourtFile,amountPaid, paymentDate,chargesStatus,arrestingOfficers)
1NF
Normalization to 1NF involves eliminating all multivalued attributes. The following multivalued attributes can be derived from the relation in UNF
Eliminating the mutivalued attributes results to the following relations;
CrimeCase (CrimcaseNumber, crimeClassification, detail, chargedDate, Hearingdate, applicationCutOffDate, NoOfFiles, courtFee, amountPaid, paymentDueDate, chargeStatus)
CrimeCaseCriminals (CrimeCaseNumber, criminalNumber)
CriminaCaseCharges (CrimeCaseNumber, CrimeCode, crimeDetail)
CrimeCaseOfficer (CrimeCaseNumber, officerBadgeNumber)
2NF
CrimeCase (CrimcaseNumber, crimeClassification, detail, chargedDate, Hearingdate, applicationCutOffDate, NoOfFiles, courtFee, amountPaid, paymentDueDate, chargeStatus)
3NF
CrimeClassfication determines the detail attribute and this is a transitive depencency which can be removed to form a new table;
CrimeClassfication (crimeClassification, detail)
CrimeCase (CrimcaseNumber, crimeClassification, chargedDate, Hearingdate, applicationCutOffDate, NoOfFiles, courtFee, amountPaid, paymentDueDate, chargeStatus)
UNF
Appeal(appealFilingDate, appealhearingDate, status, noOfTImesAppeal)
1NF
No mutilvalued attributes
Appeal(appealFilingDate,appealhearingDate, status, noOfTImesAppeal)
2NF
Partial dependency exist because there is no unique attribute so to eliminate this, a key attribute appealNumber is introduced.
Appeal (AppelNumber, appealFilingDate, appealhearingDate, status, noOfTImesAppeal)
3NF
Appeal (AppelNumber, appealFilingDate, appealhearingDate, status, noOfTImesAppeal)
UNF
CrimeCharges (CrimeCode, Crime, Detail)
1NF
No mutivalued attributes.
CrimeCharges (CrimeCode, Crime, Detail)
2NF
No partial dependencies exist
CrimeCharges (CrimeCode, Crime, Detail)
3NF
No transitive dependencies exist
CrimeCharges (CrimeCode, Crime, Detail)
UNF
criminalSentence(Startdate, endDate, numberOf Violations, typeOfSentence,sentenceType,Details)
1NF
No multivalued attributes thus relation is already in 1NF
criminalSentence(Startdate, endDate, numberOf Violations, typeOfSentence,sentenceTypeDetails)
2NF
Relation has no candidate key thus there are partial dependencies existing in the relation.
criminalSentence(criminalCaseNumber, criminalNumber, Startdate, endDate, numberOfViolations, typeOfSentence, sentenceType, Details)
3NF
There exists a transitive dependency because the sentenceType determines the details of the sentence thus this can be decomposed to form a new attribute.
criminalSentence(criminalCaseNumber, criminalNumber, Startdate, endDate, numberOfViolations, typeOfSentence, sentenceType)
SentenceType (Type, Details)
UNF
PoliceOffice(Name, precint, badgeNumber, phoneContact, Status)
1NF
Name is a multivalued attribute which can be decomposed into firstName and lastName
PoliceOffice(FirstName, lastName, precint, badgeNumber, phoneContact, Status)
2NF
BadgeNumber is nominated as the candidate key thus there are no partial dependencies.
PoliceOffice(FirstName, lastName, precint, badgeNumber, phoneContact, Status)
3NF
PoliceOffice(FirstName, lastName, precint, badgeNumber, phoneContact, Status)
The following assumptions were made;
Are you in dire need of assignment help in the UK? Can't figure out who can help you whenever you find yourself thinking, "Wouldn't it be great if I could pay someone to do my assignment?" With Myassignmenthelp.co.uk, you can fulfil your desires without any hassle.
Send us your requirements, and our paper writers will take care of your assignment worries quickly. So now, you don't have to worry about, "Where can I find someone to do my assignment for me in the UK?" Instead, let our experts provide you with the best assignment help in London, Bristol, Manchester, Liverpool and more!
Upload your Assignment and improve Your Grade
Boost Grades