Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello I need some help with this assignment mostly with c. to i. MINICASES 1. Answer the following questions based on the following Happy Cruise

Hello I need some help with this assignment mostly with c. to i.

image text in transcribed

MINICASES 1. Answer the following questions based on the following Happy Cruise Lines' data. (a) Ship table Ship Ship Year Built Weight (Tons) Number Name 005 009 012 020 Sea Joy Ocean IV Prince Al Queen Shirley 1999 2003 2004 80,000 75.000 90,000 80,000 1999 (b) Crew Member table Sailor Number Sailor Name Ship Number Home Country Job Title 00536 John Smith 00732 Ling Chang 06988 Maria Gonzalez 16490 Prashant Kumar 18535 Alan Jones 20254 Jane Adams 23981 Rene Lopez 27467 Fred Jones 27941 Alain DuMont 28184 Susan Moore 31775 James Collins 32856 Sarah McLachlan 009 USA Purser 012 China Engineer 020 Mexico Purser 005 India Navigator 009 UK Cruise Director 012 USA Captain 020 Philippines Captain 020 UK Waiter 009 France Captain 009 Canada Wine Steward 012 USA Waiter 012 Ireland Cabin Steward 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 logi- cally sequentially based on the Sailor Number field. iv. Retrieve all of the records of the file logi- cally 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-to- many relationship between crew members and ships in the Happy Cruise Lines database above? 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. MINICASES 1. Answer the following questions based on the following Happy Cruise Lines' data. (a) Ship table Ship Ship Year Built Weight (Tons) Number Name 005 009 012 020 Sea Joy Ocean IV Prince Al Queen Shirley 1999 2003 2004 80,000 75.000 90,000 80,000 1999 (b) Crew Member table Sailor Number Sailor Name Ship Number Home Country Job Title 00536 John Smith 00732 Ling Chang 06988 Maria Gonzalez 16490 Prashant Kumar 18535 Alan Jones 20254 Jane Adams 23981 Rene Lopez 27467 Fred Jones 27941 Alain DuMont 28184 Susan Moore 31775 James Collins 32856 Sarah McLachlan 009 USA Purser 012 China Engineer 020 Mexico Purser 005 India Navigator 009 UK Cruise Director 012 USA Captain 020 Philippines Captain 020 UK Waiter 009 France Captain 009 Canada Wine Steward 012 USA Waiter 012 Ireland Cabin Steward 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 logi- cally sequentially based on the Sailor Number field. iv. Retrieve all of the records of the file logi- cally 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-to- many relationship between crew members and ships in the Happy Cruise Lines database above? 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

How do we organise for international logistics?

Answered: 1 week ago

Question

What are the logistics implications of internationalisation?

Answered: 1 week ago