
Control Statement

Quiz
•
Education
•
Professional Development
•
Hard
Farhan Mulla
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
QUIZZ ASESSMENT FORMATIF SUMATIF

Quiz
•
Professional Development
12 questions
Conjunctions - English Functional Skills Entry 2/3

Quiz
•
4th Grade - Professio...
19 questions
Flemings Left Hand Rule

Quiz
•
Professional Development
16 questions
Quizz functions & pointers

Quiz
•
Professional Development
20 questions
Programming Knowledge Quiz (Easy)

Quiz
•
5th Grade - Professio...
10 questions
CLUB DAY 2K23

Quiz
•
Professional Development
10 questions
Organic and Eco Friendly Textiles

Quiz
•
Professional Development
15 questions
like, prefer, hate, love + verb-ING

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade