🎴 Flashcard Mode

UNISYS Mainframe and COBOL Programming

Card1 / 20
Mastered0
Review0
QuestionClick to flip

The COBOL perform loop is the equivalent of which of the following structures found in other languages, such as Java or C++

AnswerClick to flip back
A
do while loop
💡 Explanation:

The COBOL PERFORM loop is equivalent to a do-while loop found in languages like Java and C++. Both structures execute the loop body at least once before testing the continuation condition, making them different from while loops which test the condition before the first iteration.

Change Mode