Computer Science, asked by ritikkkkk, 1 year ago

3. Tick the correct option:
(a) Which of the following is an exit controlled loop?
(i) While
(ii) Do-while
(iii) None of these
(iv) For
b) in which of the following the control variable is initialise using assignment statement
(i)For
(ii) Do-while
(iii) none of these
(iv)while
c) Which of the following is entry controlled loop ?
(i) DO
(ii) For
(iii) Do-while
(iv) None of these
d) Which of the following statement stops the execution of loop?
(i) Stop
(ii) Start
(iii) For
(iv) Break​

Answers

Answered by abheeksingh06
3

Answer:

a) 2

b) 2

c) 2

d) 4

Explanation:

please mark me the brainiest

hope it helps

Answered by MotiSani
2

The correct answer to the mentioned questions are:

a) The correct answer is OPTION (ii) Do-while.

  • Entry controlled loops include the for, for-each, and while loops, while exit controlled loops include the do-while loop.

b) The correct answer is OPTION (ii) Do-while.

c) The correct answer is OPTION (ii) For.

d) The correct answer is OPTION (iv) Break.

  • A break command stops a for or while loop from running.
  • After the break statement, the loop's statements are not executed.
  • Break exits only the loop in which it occurs in nested loops.
  • The control is passed to the statement that comes after the loop's end.

Similar questions