Intro to Java Loops
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Why are loops used in programming?
Back
To run blocks of code repeatedly.
2.
FLASHCARD QUESTION
Front
Each time through a loop is called a(n) ______________.
Back
iteration
3.
FLASHCARD QUESTION
Front
What is the final value of x?
int x = 0;
while (x < 5)
x++;
Back
5
4.
FLASHCARD QUESTION
Front
What is the final value of x? int x = 4; while (x <= 5) x++;
Back
6
5.
FLASHCARD QUESTION
Front
What is the final value of x?
int x = 3;
while (x > 5)
x++;
Back
3
6.
FLASHCARD QUESTION
Front
What is the final value of x?
int x = 0;
for(int i = 1; i < 8; i += 3)
x += i;
Back
12
7.
FLASHCARD QUESTION
Front
What is the final value of x?
int x = 0;
for(int i = 5; i > 0; i --)
x ++;
Back
5
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
11 questions
H Chem: Chemical Analysis
Flashcard
•
KG
15 questions
English simple past vs. past continuous
Flashcard
•
10th Grade
15 questions
Мейоз
Flashcard
•
10th Grade
15 questions
Physical Science Term 1 Test Review number 2
Flashcard
•
9th - 12th Grade
15 questions
Math 3 Vocabulary Flashcard #8
Flashcard
•
9th - 12th Grade
15 questions
Function of the Week (4)
Flashcard
•
9th - 12th Grade
15 questions
Past Simple VS Prsent Perfect
Flashcard
•
KG - University
16 questions
💯Practice Exam
Flashcard
•
9th - 12th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade