Machine-translated by Google. Questions are authored in English.
Top

Discussion

Loop which is tested at least once in case condition does not fulfilled is classified as

  • A.GO loop
  • B.FOR loop
  • C.REPEAT loop
  • D.REPEAT UNTIL loop

Answer: D

Correct answer: REPEAT UNTIL loop

REPEAT … UNTIL tests its condition at the end of the body, so the body always runs at least once, even if the condition is already satisfied. A WHILE loop tests first and so may run no times at all.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.