"77 A PIC X(10) VALUE IS “AABBCCDDEE”.In PROCEDURE DIVISION contains the statement EXAMINE A REPLACING ALL “ABC” BY “XYZ” .Indicate which one of the following is true "

  1. The EXAMINE statement is incorrect because A does not contain the character “ABC” in a continuous sequence

  2. The EXAMINE statement is incorrect as it can be used to replace a numeric literal by another numeric literal.

  3. The EXAMINE statement is incorrect as it is used to replace a single character by another single character but not a group of characters.

  4. The EXAMINE statement is incorrect as TALLYING OPTION is missing.


Correct Option: C

Find more quizzes: