Java Loops

Flashcard
•
Computers
•
9th - 12th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
AP CSA Unit 4 Review

Flashcard
•
11th Grade
6 questions
AP CSP - Vocab

Flashcard
•
9th - 12th Grade
15 questions
Positive and Negative Feedback Loops

Flashcard
•
9th - 12th Grade
8 questions
AP CS A Flashcard 4 Practice

Flashcard
•
9th - 12th Grade
10 questions
HOMEOSTASIS

Flashcard
•
10th - 11th Grade
10 questions
Code.org Flashcard

Flashcard
•
7th Grade - University
15 questions
AP Biology Unit 4 review

Flashcard
•
9th - 12th Grade
14 questions
Fingerprinting

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade