Start learning →
Home › Olympiad (Class 11) › Computer Science › Models of Computation › Inside a while loop, the statements keep executi…

Inside a while loop, the statements keep executing only while the condition is:

ATrue
BLong
CShort
DTyped
Answer & Solution
Correct answer: A. True
1. A loop tests its condition each time round. 2. It stops as soon as the test fails. 3. So the condition must be true. _Source: OpenStax Introduction to Computer Science, Chapter 4, Models of Computation._
Practise this question with Quill — Olympiad (Class 11) →
Related questions