Review JavaScript

Review JavaScript

11th Grade

20 Qs

quiz-placeholder

Similar activities

Python

Python

11th Grade

20 Qs

Explore JavaScript

Explore JavaScript

University

15 Qs

SEM 1 2021 QUIZ 1 (5%) - Chapter 1 - 7

SEM 1 2021 QUIZ 1 (5%) - Chapter 1 - 7

University

20 Qs

JavaScript Variables, Data Types, and Operators Quiz

JavaScript Variables, Data Types, and Operators Quiz

University

18 Qs

Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

10th - 12th Grade

20 Qs

Javascript, HTML & CSS revision

Javascript, HTML & CSS revision

University

20 Qs

Asas JavaScript

Asas JavaScript

1st Grade - University

18 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Review JavaScript

Review JavaScript

Assessment

Quiz

Computers

11th Grade

Easy

Created by

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

A JavaScript file has an extension name of
.jscp
.js
.css
.Jp

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);

}

6
10
8
12

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?