Google News
logo
Electronics and Communication Engineering (ECE) : Microprocessors - Quiz(MCQ)
In Pascal the repeat and while loops will terminate
A)
only when the logical expression controlling the loop becomes true for both repeat and while loops
B)
only when the logical expression controlling the loop becomes false for both repeat and while loops
C)
only when the logical expression controlling the loop becomes false for repeat loop and true for while loop
D)
only when the logical expression controlling the loop becomes true for repeat loop and false for while loop

Correct Answer : Option (D) :   only when the logical expression controlling the loop becomes true for repeat loop and false for while loop

Advertisement