Multiple choice technology mainframe

What is the order of divisions in Cobol?

  1. Identification division, Data division, Environment division, Procedure division.

  2. Identification division, File division, Data division, Procedure division.

  3. Identification division, Environment division, Data division, Procedure division.

  4. Identification division, Environment division, Working storage division, procedure division.

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

COBOL programs must have four divisions in a specific order: IDENTIFICATION DIVISION (program identification), ENVIRONMENT DIVISION (external environment configuration), DATA DIVISION (data definitions), and PROCEDURE DIVISION (executable logic). Option C shows the correct sequence. Options A and B misorder the divisions, and option D incorrectly substitutes Working-Storage (a section within Data Division) for a full division.