Intro to Java Loops

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

Flashcard
•
9th - 12th Grade
16 questions
Loops Flashcard

Flashcard
•
9th - 12th Grade
10 questions
Fundamentos de PSeInt

Flashcard
•
9th - 12th Grade
10 questions
TIN 10 CHỦ ĐỀ F CẤU TRÚC LẶP

Flashcard
•
11th Grade
14 questions
Javascript Control Structures Practice

Flashcard
•
9th - 12th Grade
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
15 questions
Flashcard Review

Flashcard
•
9th Grade - University
11 questions
Java Boolean Statements

Flashcard
•
11th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade