Review JavaScript

Quiz
•
Computers
•
11th Grade
•
Easy
Wayground Content
Used 17+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Defines the condition for the loop to run
1st Expression
2nd Expression
3rd Expression
2.
FILL IN THE BLANK QUESTION
1 min • 2 pts
What is the correct way to declare a constant?
_____ example=10;
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Determine the output of this program:
for (let index = 5; index < 8; index++) {
document.write([index] + "<br>");
}
5
6
7
4
5
6
6
7
8
erorr
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The following "for" loop will execute 5 times.
for (let i = 0; i < 5; i++) {
console.log(i);
}
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the last number printed by the following loop?
for (let i = 2; i <= 10; i += 2) {
console.log(i);
}
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
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); }
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
C++ Quiz

Quiz
•
University
16 questions
Loops

Quiz
•
5th - 12th Grade
20 questions
Basic JavaScript Review

Quiz
•
9th - 12th Grade
16 questions
Javascript Basics

Quiz
•
9th - 12th Grade
15 questions
Javascript Quiz 2

Quiz
•
11th Grade
20 questions
QUIZZ 6/02/2024

Quiz
•
12th Grade
20 questions
Javascript Basic

Quiz
•
9th - 12th Grade
20 questions
Web Systems and Technologies

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade