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.
code to be executed.
while
{
}
(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
10 questions
Python Basics

Quiz
•
University
12 questions
Quiz sobre desafio y motores

Quiz
•
University
10 questions
reFRESHIEr ICS2602 Quiz

Quiz
•
University
14 questions
Python L1

Quiz
•
8th Grade - University
10 questions
Minecraft coding basics

Quiz
•
5th Grade - University
10 questions
Test Project 1B Mekatronika Genap 21/22

Quiz
•
University
13 questions
PRF192 C Programming

Quiz
•
University
10 questions
ALGORITHM, PSEUDOCODE & FLOWCHART

Quiz
•
University
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
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University