
1. What is a loop or iterative structure? Why it is necessary in a program?
Ans: Loop or iterative structure is the execution of statements repeatedly until a particular condition
is true. It is necessary in the programming to include loop statements when we want to execute the set
of statements a number of times until some condition is true.
2. Name the two types of loops.
Ans: The loops are of two types as follows.
1. Counter-controlled repetition and
2. Sentinel-controlled repetition.
3. What do you mean by counter-controlled loops?
Ans: This is also called definite repetition actions, because in advance, the number of iterations to be ...