Answer the following questions based on the following Happy Cruise Lines data. a. Regarding the Happy Cruise

Question:

Answer the following questions based on the following Happy Cruise Lines’ data.image text in transcribed

a. Regarding the Happy Cruise Lines Crew Member file.
i. Describe the file’s record type.
ii. Show a record occurrence.
iii. Describe the set or range of values that the Ship Number field can take.
iv. Describe the set or range of values that the Home Country field can take.

b. Assume that the records of the Crew Memberfile are physically stored in the order shown.
i. Retrieve all of the records of the file physically sequentially.
ii. Retrieve all of the records of the file logically sequentially based on the Sailor Name field.
iii. Retrieve all of the records of the file logically sequentially based on the Sailor Number field.
iv. Retrieve all of the records of the file logically sequentially based on the Ship Number field.
v. Perform a direct retrieval of the records with a Sailor Number field value of 27467.
vi. Perform a direct retrieval of the records with a Ship Number field value of 020.
vii. Perform a direct retrieval of the records with a Job Title field value of Captain.

c. The value 009 appears as a ship number once in the Ship file and four times in the Crew Member file.
Does this constitute data redundancy? Explain.

d. Merge the Ship and Crew Member files based on the common ship number field (in a manner similar to Figure 3.8 for the General Hardware database).
Is the merged file an improvement over the two separate files in terms of:
i. Data redundancy? Explain.
ii. Data integration? Explain.

e. Explain why the Ship Number field is in the Crew Member file.

f. Explain why ship number 012 appears three times in the Crew Member file.
g. How many files must be accessed to find:
i. The year that ship number 012 was built?
ii. The home country of sailor number 27941?
iii. The name of the ship on which sailor number 18535 is employed?
h. Describe the procedure for finding the weight of the ship on which sailor number 00536 is employed.
i. What is the mechanism for recording the one-tomany relationship between crew members and ships in the Happy Cruise Lines database above?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: