COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
While
A
To provide a response if a statement is not met
B
To provide a response if a statement is met
C
A loop with a condition set at the start
D
Used in a question as part of the decision process
Explanation: 

Detailed explanation-1: -The while loop starts by evaluating condition . If condition evaluates to true, the code in the code block gets executed. If condition evaluates to false, the code in the code block is not executed and the loop ends.

Detailed explanation-2: -You initiate the loop with the while keyword, then set the condition to be any conditional expression. A conditional expression is a statement that evaluates to True or False . As long as the condition is true, the loop body (the indented block that follows) will execute any statements it contains.

There is 1 question to complete.