Multiple choice technology programming languages

What COBOL construct is the COBOL II EVALUATE meant to replace?

  1. EXAMINE

  2. IF THEN ELSE

  3. EXHIBIT

  4. None of the above

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

The COBOL II EVALUATE construct was introduced to replace nested IF‑THEN‑ELSE logic, providing a clearer, multi‑way selection mechanism. It does not relate to EXAMINE or EXHIBIT statements, so the correct choice is IF THEN ELSE. It simplifies complex condition handling by allowing multiple WHEN clauses, thereby serving the same purpose as the traditional IF‑THEN‑ELSE chain.