1. The repetition of a set – of – statements depending upon a condition test is known as –
- Selections
- Iteration
- Sequence
- None of these
2. A sequence of statements contained within a pair of braces and is called a :
- Brick
- Branch
- Blob
- Block
3. Which fram following is a jump statement?
- continue statement
- Switch statement to the monitor
- Break statement
- All of these
4. Which test can not be handle by switch statement –
- Character test
- Floating-point test
- Integer tested
- None of these
Answer
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
Answer
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
Answer
Statement Continue
7. Destination is specified by a label within statement is called :
- For each loop
- For loop
- Go to statement
- While loop V
Answer
A labelGo to statement
8. A loop containing another loop in its loop । body is called –
- Nested loop
- Combine loop for
- Loop ladder
- All of these
9. The braces are not necessary when the Joop body contains a :
- Double Statement
- Single Statement
- Botha and b
- Triple Statement
Answer
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
Answer
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
Answer
case in switch statement
13. The execution of statement (s ) depending upon condition test is known as-
- Selection
- Iteration
- Sequence
- None of these
14. Break statement is used in-
- For each loop
- Switch statement
- For loop
- None of them
Answer
Switch statement
15. For loop is a –
- Exist controlled loop
- Entry controlled loop
- Count controlled loop
- All of these
Answer
Count controlled loop
16. The go to statement causes control to go to :
- A function
- A variable
- A label
- On operator
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
19. Do while is a –
- Exist controlled loop
- Entry controlled loop
- Count controlled loop
- None of these
Answer
Exist controlled loop
20. At least how many time do while loop execute-
- Four-time
- Three-time
- Two 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
Answer
Jump statement
22. While is a :
- Exist controlled loop
- Entry controlled loop
- Count controlled loop
- None of these
Answer
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
Answer
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
Answer
Variable’s scope
25. Who changes the value of loop variables?
- Update Expression
- Test expression
- Value Expression
- Change Expression
Answer
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
27. Which keyword is used to come out of an executed loop only for that iteration?
- Continue
- Return
- Break
- None of the mentioned
28. Which keyword can be used for coming out of recursion?
- Return
- Break
- Botha and b
- Exit
29. How many choices are possible when using a loop of a single if-else statement?
30. In an if – else statement ( statement – 1 ) and ( statement – 2 ) both are executed at same time –
- No
- exected with condition
- Yes
- None of these