Question: 1 . How many records does the above file contain? How many fields are there per record? Ans ) As per the file above we
How many records does the above file contain? How many fields are there per record?
Ans As per the file above we have seven records as they are from Z to P There are
fields in the above file and they are; PROJECTCODE, PROJECTMANAGER,
MANAGERPHONE, MANAGERADDRESS, PROJECTBIDPRICE.
What problem would you encounter if you wanted to produce a listing by city? How
would you solve this problem by altering the file structure?
Ans If we list by city the problem we encounter is having common identifier to link the
records. To help solve the problem is to Add a separate field for "CITY": This would
allow you to easily query and sort data by city without parsing the address field
If you wanted to produce a listing of the file contents by last name, area code, city, state,
or zip code, how would you alter the file structure?
Ans Similar to the city issue, to easily list by any of these criteria, you'd need to add separate
fields for each:
A LASTNAME: Extract the last name from the "PROJECTMANAGER" field.
B AREACODE: Extract the area code from the "MANAGERPHONE" field.
C STATE: Extract the state from the "MANAGERADDRESS" field.
D ZIPCODE: Extract the ZIP code from the "MANAGERADDRESS" field.
What data redundancies do you detect? How could those redundancies lead to
anomalies?
Ans There's redundancy in the "MANAGERADDRESS" field, as it includes city, state, and
ZIP code information already captured in separate fields. This redundancy could lead to
anomalies if:
A The city, state, or ZIP code in the address field doesn't match the corresponding dedicated
fields. For example, if the address has "Gainesville, FL but the city field is "Nashville,
TN that's an inconsistency.
B The address field is updated, but the corresponding individual fields city state, ZIP
code aren't updated simultaneously, creating discrepancies.
Identify the attributes in Figure P What would you name this tablethe name of the
entity
Ans
A The attributes are:
PROJECTCODE
PROJECTMANAGER
MANAGERPHONE
MANAGERADDRESS
CITY proposed addition
STATE proposed addition
ZIPCODE proposed addition
LASTNAME proposed addition
AREACODE proposed addition
PROJECTBIDPRICE
B I would name this table as MANAGERINFO
FIGURE P The File Structure for Problems
Identify and discuss the serious data redundancy problems exhibited by the file structure
shown in Figure P
Ans The data redundancy problems exhibited by the file are:
The TEACHERINITIAL column holds two different initials for the teacher, Maria
Cordoza, which are I and L
This would lead to inconsistency and inaccuracy of data regarding the identification of
the teacher Maria Cordoza. Both the initials would retrieve only partial and incomplete
details of her classes.
The DAYSTIME column holds two classes, one with Horace Willingston and the other
with Maria Cordoza, on the same days and timings MWF ::
This would lead to inconsistency of data regarding the lecture on MWF ::
Given the file structure shown in Figure P what problems might you encounter if building
KOM were deleted?
Ans Deletion of building KOM would lead to the belowmentioned consequences:
Details of the teacher Maria Cordoza would be deleted from the database.
Details of classes on MWF would be deleted from the database.
This would lead to a lack of data integrity in the database as the data would no longer be
accurate and consistent with the reallife scenario.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
