Java For Loop basic syntax
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Brian Miller
Used 41+ times
FREE Resource
Enhance your content in a minute
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
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th Grade
15 questions
Aplikasi Perkantoran
Quiz
•
10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
20 questions
Google Docs Basics Quiz
Quiz
•
9th Grade
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
