Multiple choice technology programming languages

In which of the following mode should a file be opened to write a record into it?

  1. OUTPUT & I/O

  2. EXTEND

  3. Both a & b

  4. NONE OF THESE

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

To write new records into a file, the file must be opened in OUTPUT (to write new records), I-O (to insert/modify), or EXTEND (to append records). Therefore, both options a and b are valid. The distractor claiming none of these is wrong because these modes directly support write operations.