JavaScript

JavaScript

Professional Development

10 Qs

quiz-placeholder

Similar activities

Excel

Excel

Professional Development

10 Qs

Junior Web Guideline

Junior Web Guideline

Professional Development

10 Qs

WEB DEVELOPMENT QUIZ

WEB DEVELOPMENT QUIZ

Professional Development

7 Qs

IoT และโหนด -Red

IoT และโหนด -Red

University - Professional Development

10 Qs

Database NoSQL (MongoDB)

Database NoSQL (MongoDB)

University - Professional Development

12 Qs

Basic JavaScript (Henry)

Basic JavaScript (Henry)

Professional Development

10 Qs

TEC-T96

TEC-T96

Professional Development

13 Qs

Web development 1

Web development 1

Professional Development

10 Qs

JavaScript

JavaScript

Assessment

Quiz

Other

Professional Development

Easy

Created by

Aladdin Amayreh

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you add an element to the end of an array?

You can add an element to the end of an array using the alt() method.

You can add an element to the end of an array using the get() method.

You can add an element to the end of an array using the push() method.

You can add an element to the end of an array using the array() method.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a JavaScript array?

"array = {}",

"array = []",

"array = ()",

"array = <>"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to compare both value and type in JavaScript?

==

<=

>=

===

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: '2' + 2 ?

22

4

NaN

TypeError

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

shift()

unshift()

push()

pop()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'typeof' operator in JavaScript return for an array?

array

object

array

undefined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet? console.log(2 + '2' - 1);

22

11

21

23

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?