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

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What will the output of the following code segment be?
int a = 1, b = 2;
System.out.println(++a+”,”+b++);
Back
2,2
2.
FLASHCARD QUESTION
Front
What will the following program segment display?
for(int a = 2; a <= 10; a += 3)
System.out.print(a+"");
Options: 2 5 8, 2 5, 2 5 8 11, 2
Back
2 5
3.
FLASHCARD QUESTION
Front
In the expression number++, the ++ operator is in what mode?
Back
postfix
4.
FLASHCARD QUESTION
Front
What is each repetition of a loop known as?
Back
iteration
5.
FLASHCARD QUESTION
Front
This is a variable that controls the number of iterations performed by a loop.
Back
loop control variable
6.
FLASHCARD QUESTION
Front
The while loop is this type of loop.
Back
pretest
7.
FLASHCARD QUESTION
Front
The do-while loop is this type of loop.
Back
posttest
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
10 questions
ReactJS Flashcards
Flashcard
•
KG
10 questions
DNA Flashcards
Flashcard
•
9th - 12th Grade
7 questions
Places
Flashcard
•
KG - University
7 questions
2025 S3/S4 CCKS Nutri in Humans Pt 2 Hormones
Flashcard
•
8th Grade - University
7 questions
CSS Rules Flashcard-unit 4 CodeHS
Flashcard
•
7th Grade - University
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