Logout

7.1.3 Outline sequential file organization on ordered records and how records can be retrieved by using sequential access via the key field.

(No teaching note for this one.)

Sample Question:

The account names and telephone numbers of individuals are stored in a sequential file.
It is important the data can be displayed alphabetically according to account name.

((a) Define the term sequential file organization. [2 marks])

(b) Suggest a suitable sequential file organization for this set of data. [2 marks]

(c) Outline how a telephone number can be retrieved from the file if the account
name is known (assume non-repeated account names). [2 marks]

A new telephone number and account name are to be added to the middle of the file.

(d) Given the organization you suggested in part (b), explain the steps that would
need to be undertaken to enable this new data to be added to the file. [3 marks]
Over time, the file becomes very large and there are a lot of additions and deletions
as new telephone numbers and account names are added to the file, and old ones
are deleted.

(e) Outline why sequential organization would not be an appropriate file organization
method in this case. [3 marks]


JSR Notes: