Search Header Logo

Blookly trắc nghiệm 9 - Phan Thủy

Authored by thuy phan

Computers

9th - 12th Grade

Used 5+ times

Blookly trắc nghiệm 9 - Phan Thủy
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the typeof NaN expression in JavaScript?

A. undefined

B.number

C. object

D.NaN

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods is used to convert a string to an integer?

A. Number()

B. parseInt()

C. parseFloat()

D. toFixed()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression [1, 2, 3].map(x => x * 2) in JavaScript?

A. [2, 4, 6]

B. [1, 2, 3]

C. 6

D. [2, 3, 4]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to create an object that inherits from another object in JavaScript?

A. Object.inherit()

B. Object.create()

C. Object.derive()

D. Object.extend()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, what does the this keyword in an object's method refer to?

A. Global object

B. Current object

C. Parent object

D. Child object

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

A. 2

B. 53

C.NaN

D. Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods is used to merge arrays in JavaScript?

A. concat()

B. push()

C. merge()

D. combine()

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?