More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
ECAT Computer Science Chapter 11 Loops Online Test MCQs With Answers
Question # 1
Which statement is used to move the control to the start of loop body?
Choose an answer
Continue
Break
Switch
Go to
Previous
Skip
Next
Question # 2
A counter can be defined as
Choose an answer
The final value of a loop
A variable that counts loop iterations
The initial value of a loop
The step value of a loop
Previous
Skip
Next
Question # 3
Semicolon is placed at the end of condition in:
Choose an answer
While loop
Do-while loop
For loop
All
Previous
Skip
Next
Question # 4
The body of while loop with multiple statements ends with:
Choose an answer
Right bracket 1
Right brace }
Comma ,
Semi-colon ;
Previous
Skip
Next
Question # 5
How many types of loop structure are available In C?
Choose an answer
4
3
2
6
Previous
Skip
Next
Question # 6
In which loop the condition comes before the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and c
Previous
Skip
Next
Question # 7
Which of the following loop is available in C language?
Choose an answer
While
Do while
For
All
Previous
Skip
Next
Question # 8
A counter can be defined as:
Choose an answer
The final value of a loop
A variable that counts loop iterations
The initial value of a lopp
The step value of a loop
Previous
Skip
Next
Question # 9
One execution of a loop Is known as a (n)
Choose an answer
Cycle
Duration
Iteration
Test
Previous
Skip
Next
Question # 10
This is a control structured that causes a statement or group of statements to repeat:
Choose an answer
Decision statement
Loop
Sequential
Logical
Previous
Skip
Next
Question # 11
When does the code block following while (x<100) execute?
Choose an answer
When x is less than one hundred
When x is greater than hundred
When x is equal to hundred
None
Previous
Skip
Next
Question # 12
A for statement contains three expressions: Initialization, test and:
Choose an answer
Assignment
Validation
Increment, decrement
Recalling
Previous
Skip
Next
Question # 13
Which of the following loop is called counter loop?
Choose an answer
For
While
Do-while
All
Previous
Skip
Next
Question # 14
While loop is also called:
Choose an answer
Conditional loop
Wend loop
Counter loop
Continuous loop
Previous
Skip
Next
Question # 15
Which loop structure always executes at least once?
Choose an answer
Do-while
For
While
All
Previous
Skip
Next
Question # 16
Which statement is used to move the control to the start of loop body?
Choose an answer
Continue
Break
Switch
Go to
Previous
Skip
Next
Back