Which of the following is not a loop structure in C?
unit 4 : loops

Quiz
•
Computers
•
University
•
Easy
Abhishek Pandey
Used 3+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for
do while
while
switch
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the following loop run?
int i = 1;
while(i <= 5) {
printf("%d ", i);
i++;
}
1
2
5
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is best when the number of iterations is known?
for
while
do while
for each
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an infinite loop?
for(;1;)
while(1)
do {} while(1);
for(i = 0; i < 10; i++)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the break statement do in a loop?
Skips one iteration
Terminates the loop
Goes to next loop
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the use of continue statement?
Exit the loop
Repeat the loop entirely
Skip rest of the code and continue to next iteration
Stop the program
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword transfers control to a labeled statement?
goto
break
continue
switch
Similar Resources on Quizizz
10 questions
Java Quiz 2 based on loop and if else

Quiz
•
University
10 questions
Conditional and Iterative Statements

Quiz
•
University
10 questions
Java MCQ Test on Control Statements

Quiz
•
University
10 questions
CIS1101-programming practice2

Quiz
•
University
10 questions
Python with DataScience

Quiz
•
7th Grade - University
10 questions
The OOP Quiz

Quiz
•
University
10 questions
Java Conditional Statements Quiz

Quiz
•
University
7 questions
Java Programming Game

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade