LOOPS IN C++

Quiz
•
Computers
•
10th Grade - University
•
Medium
Hafiz Intsar
Used 169+ times
FREE Resource
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 --;
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Kuizi 14 - Web

Quiz
•
10th Grade - University
15 questions
C - Language Quiz

Quiz
•
12th Grade
12 questions
Arduino Uno R3

Quiz
•
11th Grade
10 questions
C Programming - Dia Aberto - EPC

Quiz
•
9th - 12th Grade
10 questions
Python Loops Quiz (for loop and while loop)

Quiz
•
10th Grade
11 questions
VISUAL PROGRAMMING

Quiz
•
11th Grade
10 questions
Pemrograman Berorientasi Objek

Quiz
•
10th Grade - University
14 questions
LA4.C4: Conditions and Loops

Quiz
•
9th Grade - 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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade