
Review JavaScript
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
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
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?