JavaScript

JavaScript

University

20 Qs

quiz-placeholder

Similar activities

Telebort Prog E - Back End Web Development

Telebort Prog E - Back End Web Development

8th Grade - University

20 Qs

EBUS2-3

EBUS2-3

University

17 Qs

Partnership Operation

Partnership Operation

University

20 Qs

Bosch Rexroth IoT Training

Bosch Rexroth IoT Training

University

20 Qs

ÔN TẬP 1 - Digital Marketing Analytics

ÔN TẬP 1 - Digital Marketing Analytics

University

20 Qs

test

test

University

15 Qs

RB Battles Quiz (Roblox)

RB Battles Quiz (Roblox)

KG - Professional Development

15 Qs

Mimas

Mimas

University

16 Qs

JavaScript

JavaScript

Assessment

Quiz

Other

University

Medium

Created by

Son Nguyen

Used 4+ times

FREE Resource

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

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?