66.2k views
3 votes
Record format variable length (fixed number of fields)

a) Sequential File
b) Indexed File
c) Random Access File
d) None of the above

User Farwa
by
8.0k points

1 Answer

4 votes

Final answer:

Variable-length records with a fixed number of fields can be used in sequential, indexed, and random access files, although they are more commonly associated with sequential files.

Step-by-step explanation:

When it comes to understanding different types of file organization, record format with variable length (but with a fixed number of fields) can be utilized in multiple file organizations. However, the use of the term 'record format variable length' typically pertains to a sequential file, where records are placed one after the other without any gaps, but the length of each record can vary. Nevertheless, indexed files and random access files also can support variable-length records.

An indexed file includes an index that allows for faster access to records by their key fields and can handle variable-length records. In contrast, a random access file allows for direct access of records using an address or position, irrespective of the length of the records.

User Pushpa Y
by
8.2k points