# Loop Control Structure

1. The repetition of a set – of – statements depending upon a condition test is known as –

• Selections
• Iteration
•  Sequence
•  None of these
Iteration

2. A sequence of statements contained within a  pair of braces and is called a :

• Brick
•  Branch
• Blob
• Block
Block

3. Which fram following is a jump statement?

• continue statement
• Switch statement to the monitor
• Break statement
• All of these
All of these

4. Which test can not be handle by switch statement –

•  Character test
• Floating-point test
•  Integer tested
• None of these
Floating-point test

5. The exit ( ) function breaks out of :

• The program appears in
•  The block it appears in
• The loop appears in
• The function appears in
The program it appears in

6. Who gives the instruction to the computer to for performing any kind of action?

•  Iteration
• Selection al
•  Sequence
• Statement Continue
Statement Continue

7. Destination is specified by a label within statement is called :

•  For each loop
•  For loop
• Go to statement
• While loop V
A labelGo to statement

8. A loop containing another loop in its loop । body is called –

• Nested loop
•  Combine loop for
•  All of these
Nested loop

9. The braces are not necessary when the Joop body contains a :

• Double Statement
• Single Statement
•  Botha and b
•  Triple Statement
Single Statement

10. The break statement causes an exit :

•  From the innermost loop or switch
•  From all loops and switch
• Only from the innermost switch
•  Only from the innermost loop
Only from the innermost switch

11. Which operation can be used as an alternative to the if statement?

• &&
•  ;
• ?:
•  ,
?:

12. Label in go to statement is same like –

• Initilization in for loop
•  case in switch statement
• continuation condition in for loop
•  All of the above
case in switch statement

13. The execution of statement (s ) depending upon condition test is known as-

• Selection
•  Iteration
•  Sequence
•  None of these
Selection

14. Break statement is used in-

•  For each loop
•   Switch statement
•   For loop
• None of them
Switch statement
15. For loop is a –
•  Exist controlled loop
• Entry controlled loop
• Count controlled loop
•  All of these
Count controlled loop

16. The go to statement causes control to go to :

• A function
•  A variable
•  A label
•  On operator
A label

17.  If a loop does not contain any statement in its loop – body, it is said to be an :

• Empty loop
•  Entry loop
•  Infinite loop
•  None of these
Empty loop
19. Do while is a –
•  Exist controlled loop
•  Entry controlled loop
•  Count controlled loop
•   None of these
Exist controlled loop
20. At least how many time do while loop execute-
• Four-time
•   Three-time
•  Two time
• One time
One time
21. Statement that causes the control program to jump Over other statements, is called-
• Go to statement
•   Spaghetti statement
•  Jump statement
• None of them
Jump statement
22. While is a :
•  Exist controlled loop
•  Entry controlled loop
• Count controlled loop
•   None of these
One Entry controlled loop
23. An item declared in a conditional statement  Selection cannot be access-
• Middle of that statement
• Outside of that statement
• Inside that statement
•  None of these
Outside of that statement
24. The program area inside which a variable can None of them be accessed, is called :
• Floating scope
•  Character’s scope
• Integer’s scope by
•  Variable’s scope
Variable’s scope
25. Who changes the value of loop variables?
• Update Expression
• Test expression
• Value Expression
• Change Expression
Update Expression

26. The keyword ” break cannot be simply used its loop – body, it is said to be an: within :

•  Whilc
• For
•  Infinite loop
• None of these
Infinite loop
27. Which keyword is used to come out of an executed loop only for that iteration?
• Continue
• Return
• Break
•  None of the mentioned
Continue
28. Which keyword can be used for coming out of recursion?
• Return
• Break
•  Botha and b
•  Exit
Return
29. How many choices are possible when using a loop of a single if-else statement?
• 4
• 3
• 2
•  1