What expression increases a value (i++) each time the code block in the loop has been executed?
Review JavaScript

Flashcard
•
Computers
•
11th Grade
•
Easy
JUSILDA VREKA
Used 1+ times
FREE Resource
Student preview

22 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
3rd Expression
2.
FLASHCARD QUESTION
Front
Sets a variable before the loop starts.
Back
1st Expression
3.
FLASHCARD QUESTION
Front
Defines the condition for the loop to run
Back
2nd Expression
4.
FLASHCARD QUESTION
Front
Determine the output of this program:
for (let index = 5; index < 8; index++) {
document.write([index] + "<br>");
}
Back
5
6
7
5.
FLASHCARD QUESTION
Front
Complete the missing part of this JavaScript "for" loop so it correctly prints numbers from 1 to 5.
for (_____; i <= 5; i++) { console.log(i); }
Back
let i=1
6.
FLASHCARD QUESTION
Front
The following "for" loop will execute 5 times.
for (let i = 0; i < 5; i++) {
console.log(i);
}
Back
True
7.
FLASHCARD QUESTION
Front
What will be the last number printed by the following loop?
for (let i = 2; i <= 10; i += 2) {
console.log(i);
}
Back
10
Create a free account and access millions of resources
Similar Resources on Quizizz
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
15 questions
Lesson 10: JavaScript Coding for the Touch Interface, Device and Operating System Resources, and More

Flashcard
•
12th Grade
15 questions
AP CSP Unit 4

Flashcard
•
10th - 12th Grade
18 questions
Javascript Basics Flashcard Review

Flashcard
•
12th Grade
18 questions
Code.org CSP Unit 4 Review (23-24)

Flashcard
•
9th - 12th Grade
20 questions
Unit 5 Flashcard - Loops & Lists (code.org)

Flashcard
•
10th - 12th Grade
12 questions
Code.org - Unit 6 Lists, Loops, and Traversals

Flashcard
•
10th Grade - University
23 questions
CSP Unit 6 Review

Flashcard
•
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 Computers
17 questions
Chapter 12 - Doing the Right Thing

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

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

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