Java For Loop basic syntax
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Brian Miller
Used 40+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This FOR loop starts counting at x = ___
10
0
x
1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This FOR will keep repeating up through and including the x value of ___
10
0
x
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each time through the FOR loop the value of x will increase by ___
10
0
x
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This loop will output
0
1
2
3
4
5
6
7
8
9
10
1 10
x
0 1 2 3 4 5 6 7 8 9 10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
(Assuming no variables have been declared) What goes in the blank to make the x value start at 1?
x = 1
int x == 1
int x = 1
x == 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
(Assuming no variables have been declared) What goes in the blank to make the x value start at -10?
int x = -10
x = x - 10
int x = x - 10
x = -10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
(Assuming no variables have been declared) What goes in the blank to make the x value start at 5?
x <= 5
int x = 5
int x <= 5
x = 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
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
15 questions
CIW
Quiz
•
9th - 12th Grade
21 questions
Y9 Creative iMedia RO81 Quiz Part 1
Quiz
•
9th Grade
20 questions
Primary storage
Quiz
•
9th - 11th Grade
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
20 questions
CSS 10 - QUIZ
Quiz
•
10th Grade
18 questions
BTT 3.1. Anakartlar
Quiz
•
9th Grade
20 questions
BAB BK
Quiz
•
10th 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
