what is a for loop?
Javascript For loop and While Loop

Quiz
•
Other, Computers
•
12th Grade
•
Hard

Aref .
Used 171+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
loops through a number of block of code one time
loops through a block of code a number of times
loops through a block of code one time
many loops through a block of code a number of times
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
which is the correct code?
for (i = 0; i < 5 i++)
FOR (i = 0; i < 5; i++)
for (i = 0; i < 4; i++)
for (i = 0; i < 5; i++)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is a while loop?
loops through a block of code as long as a specified condition is false
loops through a block of code as long as a specified condition is true or false
loops through a block of code as long as a specified condition is true
loops through a number block of code as long as a specified condition is true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5
The number is 6
The number is 7
The number is 8
The number is 9
which code is correct?
while (i < 10) {
text += "<br>The number is " + i;
i++;
}
while (i < 9) {
text += "<br>The number is " + i;
i++;
}
while (i < 10) {
text += "<br>The number is " + i;
i++
}
while (i < 10)
text += "<br>The number is " + i;
i++;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var i = 0;
(i 10) {
console.log(i);
i++
}
fix the code using while loop and i is bigger then 10
WHILE , <
while , bigger
while , <
while , >
Similar Resources on Quizizz
10 questions
Coding - Computer Programming

Quiz
•
KG - University
6 questions
Loops In Java

Quiz
•
8th - 12th Grade
8 questions
Programming Basics

Quiz
•
KG - University
10 questions
Python IF Statements

Quiz
•
9th - 12th Grade
10 questions
Guided Note 5.3 For Loop and List

Quiz
•
9th - 12th Grade
8 questions
AP CSP Unit 3 Simple Review

Quiz
•
9th - 12th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
10 questions
C++ Programming Quiz

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Other
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University