In COBOL, when is the UNTIL condition evaluated in a PERFORM UNTIL loop?
- After each iteration of the loop
- At the end of the program execution
- Before entering the loop for the first time
- Only if the loop encounters an EXIT statement
In a PERFORM UNTIL loop, the UNTIL condition is evaluated after each iteration. The loop continues executing as long as the condition is false, and it terminates when the condition becomes true.
Loading...
Related Quiz
- The _______ clause in a PERFORM statement is used to specify the condition for loop termination.
- Which data types can the OCCURS clause be applied to in COBOL?
- The _____ statement is used to transfer control to another paragraph in the Procedure Division.
- How can you access individual data items within a COBOL group data item?
- Which file processing technique is suitable when you need to read records in the order they were added to the file?