Unit 4

advertisement
PT2520
Database Concepts
GRADED ASSIGNMENTS
Unit 4 Assignment 1: Homework


Evaluate an entity against the first three
normal forms.
Normalize a database in first normal form
(1NF).



Normalize a database in second normal
form (2NF).
Normalize a database in third normal form
(3NF).
Describe the importance of design review.
Required Resources - Textbook - Conger Chapter 5, Appendix D
Unit 4 Questions - Fill in the Blanks.
1) _____________ is the process of removing anomalies from database design.
2) Converting a _______________ into a relational database is a common task for database
developers.
3) An ___________ _______ occurs when you can’t enter data because some other data is
missing.
4) An __________ ________ occurs where the same information must be updated in several
places.
5) A __________ __________ occurs when you are unable to delete data in a primary key table
because a foreign key table contains records related to that data.
6) __________ __________ are sets of rules designed to reduce or eliminate anomalies from
database design.
7) The _______Normal Form removes all repeating groups and arrays.
8) The first ______ ________ _______ are the most critical for developing a working database.
9) ________ Normal Form removes functional dependencies.
10) _______________ ______________ consist of groups of related attributes that form subsets
within an entity.
11) An ____________ database can lead to numerous problems.
12) _________ Normal Form removes transient dependencies.
13) A _________ ________ is where an attribute depends on another attribute for its meaning and
not on the key.
14) Joining tables that were separated in the normalization process to improve performance is called
___________________.
15) The denormalization process should never be done _________.
16) Every act of denormalization reopens the possibility of various ___________.
17) Each individual _________ should represent only one type of value.
18) When documenting it is useful to keep __________ ________ of the entity diagram, noting
changes made to conform to normal forms.
1
PT2520
Database Concepts
GRADED ASSIGNMENTS
19) One way to think of __________ _______ is as separate themes in the same table or entity.
20) Normalization is about designing databases so they work well on the computer, not about
___________.
Submission Requirements

Submit your written answers to your instructor at the beginning of Unit 5.
Unit 4 Research Assignment 1
Assignment Requirements
Use the Internet and the ITT Tech Virtual Library to research the following questions:
1. Look up the definition of functional dependency. Define and give a good example.
2. Look up the definition of transitive dependency. Define and give a good example.
3. Look up “denormalization,” and provide information on why anyone would want to denormalize a
database.
Required Resources

Textbook and ITT Tech Virtual Library: http://library.itt-tech.edu
Submission Requirements

Submit your written answers to your instructor at the beginning of Unit 5.

Your answer to each question should be at least one paragraph (three to five complete
sentences), Times New Roman, 12-pt. font. Add URL references for a good grade.
2
PT2520
Database Concepts
GRADED ASSIGNMENTS
Lab Learning Objectives and Outcomes





Evaluate an entity against the first three normal forms.
Normalize a database in first normal form (1NF).
Normalize a database in second normal form (2NF).
Normalize a database in third normal form (3NF).
Describe the importance of design review.
Unit 4 Lab 4.1 – Normalize a Database Design
Step by Step
Patients1
PK
In this lab activity, you will complete an ERD by using MS
Visio.
PatientKey
FirstName
MiddleName
LastName
Address
City
State
ZipCode
PhoneNumber
Email
DoctorKey
Required Setup and Tools
See Lab Manual for Database Concepts for details on
required setup and tools for this lab.
Recommended Procedures
See Lab Manual for Database Concepts for details on
recommended procedures.
PatientVisit
PK,FK1
PK
PatientKey
VisitDate
DoctorName
BloodPressure
Weight
Pulse
DepressionLevel
Symptoms
DoctorNotes
ContinueOrDrop
DropReason
Deliverables
See Lab Manual for details on deliverables. And, print screen
shot of final Visio Diagram. Start with Diagram pictured.
Unit 4 Lab 4.2 – Normalize a Database From Scratch
Learning Objectives and Outcomes




Use the database modeling template in MS
PK
Visio.
Create entities and add attributes of a
database.
FK1
Define relationship between entities of a
database.
Create many-to-many relationships with a linking
table.
Required Setup and Tools
See Lab Manual for Database Concepts for details
on required setup and tools for this lab.
SoftwareKey
PK
PK
InstalledSoftwareKey
FK1
SoftwareKey
InstallDate
RemovalDate
CCVNumber
FK2
Recommended Procedures
See Lab Manual for Database Concepts for details on recommended procedures.
Deliverables
See Lab Manual for details on deliverables. And, print screen shot of final Visio
Diagram.
LicenseTypeKey
LicenseType
StartDate
EndDate
Terms
Pricing
PricingUnit
Name
Version
Company
LicenseTypeKey
Computer
InstalledSoftware
In this lab activity, you will normalize a database
from scratch by using MS Visio.
LicenseTypes
Software
PK
CCVNumber
Location
Assigned user
RequestedSoftware
PK
RequestKey
FK1
CCVNumber
Request Date
User
SoftwareRequested
Reason
Response
ResponseDate
Status
HINT: To denormalize, add two tables - RequestResponse and UninstalledSoftware.
3
Download