for and while loops level 2
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
The x variable in the FOR LOOP starts at what value?
Back
0
2.
FLASHCARD QUESTION
Front
The x variable in the FOR LOOP ends at what value?
Back
30
3.
FLASHCARD QUESTION
Front
The x variable in the FOR LOOP increments by how much after each iteration of the loop?
Back
10
4.
FLASHCARD QUESTION
Front
The variable s is initialized before the FOR LOOP starts. What value is the starting value for s?
Back
0
5.
FLASHCARD QUESTION
Front
What LINE in the given code INITIALIZES s?
Back
int s = 0;
6.
FLASHCARD QUESTION
Front
What LINE in the given code INCREMENTS s? Options: int s= 0;, for(int x=0; x<=30; x=x+10){, s=s+x;, System.out.println(x+" "+s);
Back
s=s+x;
7.
FLASHCARD QUESTION
Front
What is the FIRST line of the output produced by this code? Options: 0 10, 0 0, x s, 10 30
Back
0 0
Create a free account and access millions of resources
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
Unit 1 | Topic 2 | Key Terms - Flashcards
Flashcard
•
9th - 12th Grade
8 questions
MAT_8_EF_QN01-QN08
Flashcard
•
8th Grade - University
10 questions
2025 S3/4 CCKS Enzymes
Flashcard
•
8th Grade - University
11 questions
Deklaracja dwuwymiarowej tablicy C++
Flashcard
•
10th Grade
10 questions
Twelfth Night
Flashcard
•
10th Grade
10 questions
Disney descendants flashcard
Flashcard
•
KG
10 questions
5.1 ΠΕΡΙΒΑΛΛΟΝ
Flashcard
•
9th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade