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
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
9 questions
Classical and Medieval Art
Flashcard
•
KG
15 questions
paměť + pozornost
Flashcard
•
9th - 12th Grade
7 questions
International Yoga Day Quiz
Flashcard
•
KG - University
4 questions
5.2. Asymptotes Verticales
Flashcard
•
9th - 12th Grade
8 questions
Tablet Parts
Flashcard
•
KG
6 questions
Konektory
Flashcard
•
9th - 12th Grade
6 questions
SISTEMA DE ECUACIONES DE PRIMER GRADO CON DOS INCÓGNITAS
Flashcard
•
10th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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