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
11 questions
Grouping and iteration review

Flashcard
•
9th - 12th Grade
15 questions
PCS Typing Questions MC

Flashcard
•
9th - 12th Grade
13 questions
AP Performance Task Rubric Review

Flashcard
•
9th - 12th Grade
10 questions
Portrait Lighting

Flashcard
•
9th - 12th Grade
11 questions
Intro to Python Unit 6: Test Review

Flashcard
•
9th - 12th Grade
6 questions
Photography Lighting

Flashcard
•
9th - 12th Grade
11 questions
Feedback Loops

Flashcard
•
10th - 12th Grade
15 questions
CodeHS 3.1 Boolean Expressions-4.2 For Loops Review

Flashcard
•
9th - 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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

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

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade