Check sibling questions

Match the columns.


Nested loop

(i) Never editing loop
(b) Infinite loop (ii) indefinite loop
(c) For loop (iii) Loop inside another loop
(d) While loop (iv) Termination The loop
(e) Break (v) Definite loop



(a) Nested loop (i) Loop inside another loop
(b) Infinite loop (ii) Never editing loop
(c) For loop (iii) Definite loop
(d) While loop (iv) Indefinite loop
(e) Break (v) Termination The loop



  1. Nested loop - A loop inside a loop is called a nested loop.
  2. Infinite loop - A loop that never terminates is called an infinite loop.
  3. For loop - The for statement is used to iterate over a range of values or a sequence . Hence it is a definite loop.
  4. While loop - The while statement executes a block of code repeatedly as long as the control condition of the loop is true. Hence, it is an indefinite loop.
  5. Break - The break statement alters the normal flow of execution as it terminates the current loop and resumes execution of the statement following that loop.

Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class

Ask a doubt
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 13 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.