Retrieve all of records of the file physically sequentially

Assignment Help Basic Computer Science
Reference no: EM131269970

Answer the following questions based on the following Happy Cruise Lines' data.

671_7676cbcb-0e23-445f-83ff-e6d53ce449eb.png

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 Member file 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?

Reference no: EM131269970

Questions Cloud

Discuss the difference between an import tariff : Discuss the difference between an import tariff and an import quota as methods of restricting trade. Which of the two methods would you recommend to your government and why?
Write a method to randomly populate the array : MIS 3023 - Business Programming Concepts - Write a method to randomly populate the array of 25 integers with an integer value between 1 and 365 for each slot.
Illustrating key economic concepts in economics : Discuss the production possibility frontier (PPF) and also highlight the importance of this model in illustrating key economic concepts in Economics. (Use diagrams and examples to motivate your answer)
What specific factors about police interrogative tactics : What type of personality assessment instrument will you want to use to either identify or rule out the characteristics listed in question 2? Be specific and support your answer: Identify at least one psychological test that can be used and include..
Retrieve all of records of the file physically sequentially : 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.
Find the total amount of the drug : Find the total amount of the drug that is assimilated into the bloodstream during the first 10 minutes after the pill is taken.
America used to export more than it imported : America used to export more than it imported. This has probably led to the economy changing and debt increasing. Any suggestions to reverse or correct this?
What are the four major dbms approaches : What expectation should there be for a database management system with regard to data independence? Why?
How many words per minute should be able to type : How long, to the nearest week, should it take the student to achieve the 70-word-per-minute level? How many words per minute should the student be able to type by the end of the course?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How often are network standards reviewed

1. How often are network standards reviewed? The standards are reviewed and updated approximately every 5 years. 2. What category of UTP cabling is the minimum for a telephone cable? Cat 5 is used for telephone cable, before Cat 5, Cat 3 was used.

  Is odc adaptable to your development environment

Is ODC adaptable to your development environment? If yes, list your defect attributes and attribute values. If not, justify yourself.

  Pervasiveness of international interconnected networks

Due to the pervasiveness of international interconnected networks, data from any source and from any country can cross borders with astonishing speed and can be stored and utilized in countries other than the originating country.

  Write short notes on client-server networking

1. Explain the different modes in which a file can be opened. 2. Explain the following functions in a c program fscanf(), fprintf(), fgets(), fputs(), fread(), fwrite(), feof() 3. Write short notes on Client-Server networking

  Nodes of a binary tree in level-order

1. Write a routine to list out the nodes of a binary tree in level-order. List the root, then nodes at depth 1, followed by nodes at depth 2, and so on. You must do this in linear time. Prove your time bound.

  Explain how the maxflow algorithm works

Explain how the maxflow algorithm works, elaborating on all cases and transitions that need to be considered during execution.

  Show how this can be implemented

An intuition of how to escape such a trap is that, when the robot hits a wall, it follows the wall until the number of right turns equals the number of left turns. Show how this can be implemented, explaining the belief state, the belief-state tra..

  Why recompacting and relocation of files are often avoided

Consider a file system that uses inodes to represent files. Disk blocks are 8 KB in size, and a pointer to a disk block requires 4 bytes. This file system has 12 direct disk blocks, as well as single, double, and triple indirect disk blocks. What ..

  Relationship between computer hardware and software

Collect, analyse, present and comment upon business data. · Identify the relationship between computer hardware and software.

  Briefly explain the main concept of a java virtual machine

Briefly explain the main concept of a Java Virtual Machine (JVM.)

  Which of the following best describes appliancelist

Which of the following best describes applianceList? Which of the following statements correctly initializes the component length of bigRect?

  Write an algorithm to decide which is cheaper car or bus

Write an Algorithm to decide which is cheaper car or bus for a travel

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd