Loops Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Benjamin EnloeHS
Used 68+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
int count = 0;
while (count < 10) {
System.out.println("Welcome to Java");
count++;
}
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
int x = 0;
while (x < 4) {
x = x + 1;
}
System.out.println("x is " + x);
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
int count = 0;
while (count < 100) {
// Point A
System.out.println("Welcome to Java!");
count++;
// Point B
}
// Point C
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
int count = 0;
do {
System.out.println("Welcome to Java");
count++;
} while (count < 10);
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
for (int count = 1; count <= 10; count++) {
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
}
System.out.println("Welcome to Java");
}
System.out.println("Welcome to Java");
}
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
for (int i = 1; i <= 10; i++) {
System.out.print(i + " ");
i++;
}
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
int y = 0;
for (int i = 0; i<10; ++i) {
y += i;
}
System.out.println(y);
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
20 questions
EXCEL
Quiz
•
10th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
20 questions
ตอบปัญหาคอมพิวเตอร์st
Quiz
•
9th - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
20 questions
Pengayaan Informatika
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
