Multiple choice technology mainframe

How many comparisons can a single COBOL if statement make?

  1. 1

  2. 2

  3. no limit

  4. 99

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

A single COBOL IF statement evaluates exactly one condition. To check multiple conditions, you must nest IF statements or use the EVALUATE statement (available in COBOL-85 and later versions). Traditional COBOL has no built-in multi-comparison syntax in basic IF.