Quiz 3
Quiz
•
Computers
•
University
•
Hard
MA CPC
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int count = 0;
while(count < 5) {
cout << count << " ";
count++;
if(count == 3) continue;
}
0 1 2 3 4
0 1 2 4
0 1 3 4
0 1 2 4 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int i = 1;
for( ; i < 3; ) {
cout << i << " ";
i++;
}
1 2
1 2 3
error
0 1 2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int x = 0; x < 5; x++) {
if(x == 3) break;
cout << x << " ";
}
0 1 2
0 1 2 3
0 1 2 3 4
0 1 2 4 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int sum = 0;
for (int i = 1; i <= 5; i++) {
sum += i;
}
cout << sum;
15
14
5
Syntax error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int i = 0;
for (i; i <= 5; i++)
cout << i;
cout << i;
001122334455
0123456
0123450
0123456
0123456
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for (int i = 1; i <= 2; ++i) {
cout << i ;
for (int j = 1; j <= 3; ++j) {
cout << j ;
}
}
11232123
112233
123123
12123
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=0;i++<5;){
cout<<i<<" ";
}
1 2 3 4
0 1 2 3 4
1 2 3 4 5
0 1 2 3 4 5
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Archivos y Colecciones
Quiz
•
University
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
วิทยาการคำนวณ p.5
Quiz
•
University
10 questions
Semiconductores
Quiz
•
University
10 questions
Pengantar Coding
Quiz
•
University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
15 questions
GPS
Quiz
•
9th Grade - University
10 questions
UTS Aplikasi Komputer 4C
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
