Multiple choice technology programming languages

Which of the following set of statements is correct as per standards?

  1. MOVE 1 TO A.

  2. MOVE 1 TO A

  3. Both of the above.

  4. None of the above

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

The correct COBOL statement is MOVE 1 TO A without a period at the end (B). The period in option A makes it a complete sentence, which is incorrect when it is part of a larger paragraph or procedure. COBOL sentences end with periods, but individual statements within a sentence do not.