Multiple choice

To have a file, which holds a list, it is necessary to

  1. identify the record in the list

  2. identify the name, width and type of the fields of each record

  3. identify the file in a record

  4. both (1) and (2)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To have a file holding a list, you need to: (1) identify which records belong in the list, and (2) identify the structure (name, width, type) of fields in each record. Option (3) about identifying a file in a record doesn't make semantic sense in this context. The correct answer combines (1) and (2) as both are necessary.