Which of the following are the minimum requirements to compile a program without errors ?
-
Identification Division.
-
Program-ID.
-
Program-name.
-
All the above
D
Correct answer
Explanation
To compile a COBOL program without errors, the minimum requirements are: Identification Division (which contains the Program-ID paragraph) and the Program-ID paragraph itself (which specifies the program name). All these components are mandatory and must be present for the program to be syntactically valid and compilable.