Looping in C Programming

Quiz
•
Computers
•
University
•
Medium
Mohammad Nor Ihsan bin Md Zin
Used 58+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What statement we have learned toay?
Input Statement
Looping Statement
Selection Statement
Array Statement
2.
DRAG AND DROP QUESTION
10 sec • 3 pts
for ( (a) ; (b) ; (c) ){ //code to be executed; }
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In for statement, if the comparison is FALSE, what happen next?
execute the code in the loop body.
restart the loop.
exit the loop
update the variable's value.
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the first value of i to be printed on the output?
0
1
5
10
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the last value of i to be printed on the output?
1
2
4
5
6.
REORDER QUESTION
10 sec • 5 pts
Reorder the following to be the correct while loop syntax.
while
code to be executed.
(test expression)
{
}
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Predict the output of the code.
100 101 102 103 104 105 106
101 102 103 104 105
101
102
103
104
105
100
101
102
103
104
105
8.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What makes the loop end?
user input number 0
The sum become 0
The sum is not 0
The loop never ends.
9.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What happen when the loop end?
It print the last number input by user.
It prints the sum of the numbers input by user.
It print the first number input by user.
The loop never ends.
Similar Resources on Wayground
12 questions
javaquizvivek

Quiz
•
University
10 questions
Algorithms

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
10 questions
Understanding Pseudocode Basics

Quiz
•
6th Grade - University
12 questions
Python Functions and Docstrings Quiz

Quiz
•
University
10 questions
Mastering Python Fundamentals

Quiz
•
University
10 questions
Control

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University