1 |
How many types of loop stricture are available in C? |
4
3
2
6
|
2 |
One execution of a loop is known as a: |
Cycle
Duration
Iteration
Test
|
3 |
This is a control structured that causes a statement or group of statements to repeat: |
Decision statement
Loop
Sequential
Logical
|
4 |
Which statement is used to move the control to the start of loop body? |
Continue
Break
Switch
Go to
|
5 |
The loop which never ends is called |
Infinite loop
Running loop
Continuous loop
Nested loop
|
6 |
A loop within a loop Is called |
Nested loop
Complex loop
Infinite loop
Dual loop
|
7 |
Which statement causes a loop to terminate early? |
Break
Terminate
Exit
A and b
|
8 |
This loop Is a good choice when you know how mane times you want the loop to Iterate in advance of entering the loop? |
While
Do-while
For
Nested
|
9 |
Which of the following loop is called counter loop? |
For
While
Do-while
All
|
10 |
In which loop the condition comes before the body of the loop? |
While loop
Do-while loop
For loop
B and c
|
11 |
In which loop the condition comes before the body of the loop? |
While loop
Do-while loop
For loop
B and c
|
12 |
Which loop,structure always executes at least once? |
Do-while
For
While
All
|
13 |
Where should be the loop control variable initialized? |
Before the loop starts
In the first statement of the loop body
In the last statement of the loop body
Anywhere in the loop body Which loop
|
14 |
A counter can be defined as |
The final value of a loop
A variable that counts loop iterations
The initial value of a loop
The step value of a loop
|
15 |
Which of the following loop is available In C language? |
While
Do-while
For
All
|