What is the primary characteristic of a sequential file organization in COBOL?
- Records are stored in a consecutive order based on a key field
- Records are stored in a tree-like structure
- Records are stored randomly across the file
- Records can be directly accessed using an index
In a sequential file organization, records are stored in consecutive order based on a key field. This allows for easy retrieval of records in the order they were added to the file.
Loading...
Related Quiz
- What is the purpose of the GLOBAL clause in COBOL for variable declarations?
- In the Data Division, the ________ clause is used to specify the level of nesting for data items within a group.
- In Object-Oriented COBOL, what is an object?
- Your COBOL program processes student exam scores. If a student's score is below 40, they fail; if it's between 40 and 60, they pass; and if it's above 60, they excel. Which COBOL statement would you use to handle this situation efficiently?
- Which COBOL statement is used for subtracting one numeric value from another?