The best file organization in which one has to process all data records in a file called
Optym technical mcq question, verified with a worked answer. Free to practise - no sign-up.
The best file organization in which one has to process all data records in a file called
Show answer & explanation
Answer: B. B) Sequential
Sequential file organization is the most efficient when a batch operation must process all records in sequence without random disk seeking.
Step-by-step Derivation:
Step 1: Processing every record in a file requires visiting records in sequential order.
Step 2: Sequential file organization stores records contiguously, minimizing I/O head movements and maximizing disk throughput.
Step 3: Hence, Sequential file organization is the best choice.