Multiple choice technology mainframe

What are the various sections in Data Division?

  1. Input Output

  2. Working Storage

  3. Linkage Sction

  4. File section

Reveal answer Fill a bubble to check yourself
B,C,D Correct answer
Explanation

In COBOL, Data Division contains sections for handling file operations and data storage. Working Storage Section holds program variables and temporary data, File Section describes files used by the program, and Linkage Section contains data passed to/from subprograms. Input Output Section does not exist as a standard section in COBOL Data Division.

AI explanation

COBOL's Data Division is organized into File Section (describes record layouts of files), Working-Storage Section (program variables/constants), and Linkage Section (parameters passed from a calling program). 'Input-Output' is not a Data Division section — it's the Input-Output Section, which belongs to the Environment Division (where file assignments like SELECT...ASSIGN are made), not the Data Division. So Working Storage, Linkage Section, and File Section are correctly marked, and Input Output is correctly excluded.