
Introduction to files and filing
Multiple-choice test questions
1 An advantage of a serial file is that it:
(a) must use fixed length fields and records
(b) can use fixed length fields and variable length records
(c) can use both fields and records of variable lengths
(d) can use fixed length records with variable length fields
2 The main advantage of random-access filing is that it:
(a) can make use of tape more efficiently
(b) allows a single record to be read or written
(c) requires the memory to be filled from the disk
(d) allows records to be of any length
3 The use of an index file in association with a random-access main file
allows