
untitled
Authored by kollin vos
Computers, Science, Mathematics
6th - 8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Make this code loop three times:
in tries= 0;
while(_________ ) {
cin>> “Looping!”;
tries++;
}
tries < 3
answer == 3
tries > 0
tries < 0
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Make this code stop looping when you get the right answer or have no more tries left
string answer;
int tries = 5;
while(_________) {
cin>> answer;
if (answer == “the right answer”){
cout<<“correct”<<endl;
break;
}
tries - - ;
}
tries == answer
tries > 0
tries >= 3
tries <= 5
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these statements stops a while loop?
stop;
break;
loop pause;
do { }
4.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Fill in the blank with the right symbol to make this code print Tacos 4 times
int tacos = 4;
while(tacos ___ 0){
cout<<“Tacos”<<endl;
tacos - - ;
}
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fill in the blank to make this code print Go Heat!
3 times
int loop = 0;
while(__________){
cout<<“Go Heat”<<endl;
loop ++ ;
}
loop < 3
answer == 3
loop = 0
loop == 3
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fill in the blank to make this code print Go Heat!
3 times
int loop = 0;
while(__________){
cout<<“Go Heat”<<endl;
loop ++ ;
}
loop < 3
answer == 3
loop = 0
loop == 3
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Select all of the statements properly increments an int variable by one?
variable++;
variable += 1;
variable + 1;
variable = variable * variable;
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
18 questions
Conjunto Q, relación de orden, suma
Quiz
•
8th Grade
20 questions
Sepsis et choc septique (CVFM)
Quiz
•
1st - 12th Grade
20 questions
ULANGAN HARIAN RELASI DAN FUNGSI
Quiz
•
8th Grade
20 questions
ÔN TẬP HỌC KỲ 2 - TIN HỌC 8
Quiz
•
8th Grade
17 questions
ÔN TẬP CUỐI KỲ II TIN 8
Quiz
•
8th - 11th Grade
20 questions
Računalno razmišljanje i programiranje 2. dio 2025.
Quiz
•
7th Grade
17 questions
Math Review on Ratios
Quiz
•
6th Grade
19 questions
Whole and negative numbers
Quiz
•
7th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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