recategorized by
3,717 views
1 votes
1 votes

Which one of the following sentences is true ?

  1. The body of a while loop is executed at least once.
  2. The body of a do … while loop is executed at least once.
  3. The body of a do … while loop is executed zero or more times.
  4. A for loop can never be used in place of a while loop.
recategorized by

2 Answers

0 votes
0 votes

Ans: B

  1. The body of a while loop is executed at least once.  F
  2. The body of a do … while loop is executed at least once.  T
  3. The body of a do … while loop is executed zero or more times.  F
  4. A for loop can never be used in place of a while loop.  F

Related questions

3 votes
3 votes
1 answer
1
makhdoom ghaya asked Sep 11, 2016
2,132 views
One of the distinguished features of super-computer over other category of computer isParallel processingHighest accuracy levelMore speedMore capacity
2 votes
2 votes
2 answers
2
makhdoom ghaya asked Sep 11, 2016
1,589 views
The basic concepts of ethics in information society is/areResponsibilityAccountabilityLiabilityAll of the above
1 votes
1 votes
1 answer
3
makhdoom ghaya asked Sep 11, 2016
2,490 views
E-Choupal refers toCalling meeting of Surpanches electronically.Conducting Panchayat meeting using latest electronic gadgets.Providing window of information to villagers ...