What COBOL construct is the COBOL II EVALUATE meant to replace?
-
EXAMINE
-
IF THEN ELSE
-
EXHIBIT
-
None of the above
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.