In COBOL, what type of file organization is suitable for random access to records?
- Indexed file organization
- Line sequential file organization
- Relative file organization
- Sequential file organization
Indexed file organization in COBOL is suitable for random access to records. It employs an index file that contains pointers to the actual records, enabling direct access based on the indexed key.
Loading...
Related Quiz
- How do you declare a global variable in COBOL?
- In a COBOL program for a bank, you need to determine the account type and apply specific rules based on the account type (e.g., savings, checking, or credit card). Which conditional statement is best suited for this complex decision-making process?
- In COBOL, what is a "multidimensional array" in the context of the OCCURS clause?
- In the context of COBOL file handling, what is "read-ahead" and how does it contribute to performance improvement?
- In the COBOL Procedure Division, which statement is used for making decisions and implementing conditional logic?