• Home
  • Consider the following program PERFORM 10 TIMES IF A=B NEXT SENTENCE ELSE DISPLAY B END-IF END-PERFORM If after 5th iteration A becomes equal to B then what happens
Question 1:
Consider the following program
PERFORM 10 TIMES
IF A=B
NEXT SENTENCE
ELSE
DISPLAY B
END-IF
END-PERFORM
If after 5th iteration A becomes equal to B then what happens
A. Program will go into a loop
B. It will do the 6th iteration
C. It will come out of the perform loop
D. It will come out of the if loop and do the 6th iteration

These questions are from this test. Would you like to take a practice test?

COBOL Quiz 3 | Englishfreetest.com