COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A loop which may not be carried out if the condition is met on first being tested.
A
Test-Last Loop
B
Test-First Loop
C
For
D
None of the above
Explanation: 

Detailed explanation-1: -The “While” Loop A “While” Loop is used to repeat a specific block of code an unknown number of times, until a condition is met.

Detailed explanation-2: -With a do while loop the condition is not evaluated until the end of the loop. Because of that a do while loop will always execute at least once.

There is 1 question to complete.