Concept:A sequential file is created when records are arranged in sorted order by their key field.
Explanation:Sorting arranges records according to the key field.
This order is necessary because a sequential file depends on a logical sequence of keys.
When records are sorted, they can be placed one after another to form a sequential file.
Therefore, sorting alone is sufficient to build such a file.
A random file needs a hashing function, not sorting.
An indexed sequential file requires sorted records plus an additional index.
Thus, sorting is both necessary and sufficient only for a sequential file.
Answer:C. sequential file