Multiple choice technology mainframe

Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND.

  1. INDEXED

  2. RELATIVE

  3. SEQUENTIAL

  4. All of the above

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

In COBOL, INDEXED, RELATIVE, and SEQUENTIAL file organizations can all be opened in INPUT, I-O, OUTPUT, and EXTEND modes. Each file type supports these four access modes for different operations.