Multiple choice technology programming languages

Select the sections which are main sections in DATA DIVISION?

  1. FILE SECTION

  2. LINKAGE SECTION

  3. WORKING-STORAGE SECTION

  4. REPORT SECTION

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

The DATA DIVISION in COBOL has four main sections: FILE SECTION (describes file records), WORKING-STORAGE SECTION (defines non-file data items), LINKAGE SECTION (for parameters in called programs), and REPORT SECTION (for report generation). FILE SECTION and WORKING-STORAGE SECTION are the primary sections used in most programs.