What is the order of divisions in Cobol?
-
Identification division, Data division, Environment division, Procedure division.
-
Identification division, File division, Data division, Procedure division.
-
Identification division, Environment division, Data division, Procedure division.
-
Identification division, Environment division, Working storage division, procedure division.
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.