for and while loops level 2

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz 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
Similar Resources on Wayground
7 questions
C++ Structuri repetitive

Flashcard
•
8th Grade - University
9 questions
STRING MANIPULATION (PYTHON)

Flashcard
•
11th - 12th Grade
12 questions
Java Loops

Flashcard
•
9th - 12th Grade
10 questions
❄⛄AP CSA - Unit 6 Review

Flashcard
•
9th - 12th Grade
9 questions
عناوين العمليات بلغة جافا

Flashcard
•
10th Grade - University
8 questions
Python Casting & Data Types

Flashcard
•
9th - 12th Grade
10 questions
Ôn tập chủ đề F

Flashcard
•
KG
16 questions
Loops Flashcard

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade