Javascript-WED201c

Javascript-WED201c

University

22 Qs

quiz-placeholder

Similar activities

JS_основи

JS_основи

University

20 Qs

WORKSHOP

WORKSHOP

University

20 Qs

Web Development Quiz

Web Development Quiz

University

19 Qs

quiz 2nd/3rd year

quiz 2nd/3rd year

University

21 Qs

JS/DOM/JQuery/HTML/CSS

JS/DOM/JQuery/HTML/CSS

University

18 Qs

C++ Assesment 1

C++ Assesment 1

University

20 Qs

Linux 3-4

Linux 3-4

University

20 Qs

SQL T2

SQL T2

University

23 Qs

Javascript-WED201c

Javascript-WED201c

Assessment

Quiz

Computers

University

Easy

Created by

Ngô Giang Thanh (FE FPTU DN)

Used 2+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of console.log(typeof NaN);?

"number"

"undefined"

"string"

"object"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

var

let

const

static

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the === operator check?

Value only

Type only

Value and type

Reference only

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a function in JavaScript?

function myFunc() {}

create myFunc() {}

func myFunc() {}

myFunc = function {}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will console.log(0 == '0'); output?

true

false

undefined

null

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to add an element to the end of an array?

push()

pop()

shift()

unshift()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of console.log(2 + "2");?

4

"22"

22

NaN

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?