
Control Statement
Quiz
•
Education
•
Professional Development
•
Practice Problem
•
Hard
Farhan Mulla
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an arithmetic operator in C?
&&
=
%
|
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a conditional control structure in C?
for
while
if
continue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int i = 0;
while (i < 3) {
printf("%d", i);
i++;
}
0123
012
123
0 1 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to exit a loop immediately in c?
skip
exit
continue
break
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax for a for loop?
for (i = 0; i < 5; i++)
for (i < 5; i++; i = 0)
for (i = 0, i < 5, i++)
for i = 0 to 5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the continue statement in a loop?
Ends the program
Restarts the loop
Skips the current iteration and continues with the next one
Skips the loop entirely
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 5;
if (x > 3) {
printf("Yes");
}
Prints "No"
Prints "Yes"
Prints nothing
Gives error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Webinar Kecemerlangan SPM
Quiz
•
Professional Development
10 questions
KEMOTERAPI
Quiz
•
Professional Development
20 questions
Lomba Cerdas Cermat
Quiz
•
5th Grade - Professio...
10 questions
ATPC INOVA
Quiz
•
Professional Development
10 questions
NEGARAKU HARMONI
Quiz
•
Professional Development
20 questions
Mayer Çoklu Ortam Tasarımı İlkeleri
Quiz
•
Professional Development
11 questions
Confidence & Positive Attitude
Quiz
•
Professional Development
12 questions
Quiz_Inclusive_Education
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Education
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
