
C++ quiz 6
Authored by cybernaut c++team
Professional Development
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many Types of loops are there?
1
4
3
2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
odd one out
while
dowhile
for
Switch
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct Syntax .
for(initialization,condition,increment/decrement)
for(initialization,condition,increment/decrement);
for(initialization;condition;increment/decrement)
for(initialization;condition;increment/decrement);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=0;i<5;i++)
{
cout<<"hello";
}
how many times does the loop runs.
4
5
6
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=1;i<5;i++)
{
if(i==3)
{
break;
}
cout<<i<<" ";
}
what is the output of the program?
1 2
1 2 3
1 2 3 4
1 2 3 4 5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is syntax of continue statement?
continue
continue;
cont;
cont
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the operation for break statement?
It skips the specific condition.
It terminates the loop when the specific condition is reached
It terminate the whole loop
No output
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
15 questions
EAL unit 4 revision 1
Quiz
•
Professional Development
10 questions
Trial TKD
Quiz
•
Professional Development
15 questions
Health Global Quiz
Quiz
•
Professional Development
10 questions
DC Circuits III MA 2 16 23
Quiz
•
Professional Development
15 questions
SQL Statements and Queries
Quiz
•
Professional Development
10 questions
SOAL PEDAGOGIK
Quiz
•
Professional Development
10 questions
SCRUM quiz
Quiz
•
University - Professi...
10 questions
Cardiopulmonary Resuscitation
Quiz
•
Professional Development
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade