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
What expression increases a value (i++) each time the code block in the loop has been executed?
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 Wayground
20 questions
CSP Unit 4 Review

Flashcard
•
9th - 12th Grade
15 questions
Java Casting & Booleans

Flashcard
•
10th - 12th Grade
20 questions
AP CSP Unit 6

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

Flashcard
•
9th - 12th Grade
15 questions
MANI

Flashcard
•
KG - University
21 questions
AP CSP Unit 4 Flashcard REVIEW

Flashcard
•
10th - 12th Grade
12 questions
JavaScript Programming Concepts

Flashcard
•
9th - 12th Grade
14 questions
Pseudocode Keywords

Flashcard
•
11th Grade - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade