LOOPS IN C++
Quiz
•
Computers
•
10th Grade - University
•
Practice Problem
•
Medium
Hafiz Intsar
Used 174+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many loops are there in C++
2
3
4
1
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is currect syntax of for loop?
for(initialization;condition; increment/decrement)
for(increment/decrement; initialization; condition)
for(initialization, condition, increment/decrement
None of These
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Can a for loop contain another for loop?
No
Yes
Compilation Error
Runtime Error
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Each pass through a loop is called a/an
pass through
enumeration
iteration
culmination
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which looping process checks the test condition at the end of the loop?
for
while
do-while
no looping process checks the test condition at the end
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In a group of nested loops, which loop is executed the most number of times?
the outermost loop
the innermost loop
all loops are executed the same number of times
cannot be determined without knowing the size of the loops
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The statement i++; is equivalent to
i = i + i;
i = i + 1;
i = i - 1;
i --;
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
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
10 questions
WN-CELLULAR CONCEPT
Quiz
•
University
10 questions
MIL March 8, 2023
Quiz
•
12th Grade
10 questions
UTB - FCNS 221PB
Quiz
•
University
15 questions
Firewall and Network Security
Quiz
•
University
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
15 questions
ADVACOMT-Quiz No.1 (final term)
Quiz
•
University
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
