Multiple choice technology programming languages

From the below given options, select all those which are correct.

  1. VALUE clause is used to initialize the data items in the working storage section.

  2. INITIALIZE is used to initialize the data items in the procedure division.

  3. INITIALIZE clause is used to initialize the data items in the working storage section.

  4. VALUE is used to initialize the data items in the procedure division.

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

In COBOL, the VALUE clause is used in the DATA DIVISION (WORKING-STORAGE SECTION) to provide initial values for data items at compile time. The INITIALIZE verb is used in the PROCEDURE DIVISION to set data items to their default values at runtime, providing two distinct initialization mechanisms.