JavaScript

JavaScript

University

20 Qs

quiz-placeholder

Similar activities

pokemon gen 1-8

pokemon gen 1-8

1st Grade - Professional Development

20 Qs

UDL3612 1910 ONLINE QUIZ 1

UDL3612 1910 ONLINE QUIZ 1

University

20 Qs

Le choix d'un statut juridique chapitre 20 éco gestion

Le choix d'un statut juridique chapitre 20 éco gestion

1st Grade - Professional Development

21 Qs

MINECRAFT

MINECRAFT

University

20 Qs

Test de culture générale-Atlantique

Test de culture générale-Atlantique

10th Grade - University

20 Qs

Steering Gear Testing Quiz

Steering Gear Testing Quiz

University

15 Qs

World Book Day 2022

World Book Day 2022

7th Grade - University

15 Qs

Huiswerk wwsp 11 april

Huiswerk wwsp 11 april

KG - University

20 Qs

JavaScript

JavaScript

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

Son Nguyen

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a primitive data type in JavaScript?

number

string

boolean

array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to compare two values and return true if they are not equal in value and data type?

!=

==

!==

===

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression true && false in JavaScript?

true

false

undefined

null

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? console.log(2 + "2");

"4"

4

"22"

22

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a variable that cannot be reassigned in JavaScript?

const

let

var

none of all the answers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression "5" - 2 in JavaScript?

3

"3"

NaN

undefined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to remove the last element from an array in JavaScript?

pop()

push()

shift()

unshift()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?