JS-QUIZ

JS-QUIZ

Professional Development

25 Qs

quiz-placeholder

Similar activities

PHP QUIZ

PHP QUIZ

Professional Development

20 Qs

Mastering HTML and CSS Concepts

Mastering HTML and CSS Concepts

Professional Development

20 Qs

Automation test

Automation test

Professional Development

20 Qs

Laragon and Laravel 11

Laragon and Laravel 11

Professional Development

30 Qs

Java Inntro and Variables

Java Inntro and Variables

Professional Development

20 Qs

JavaScript Quizz

JavaScript Quizz

Professional Development

20 Qs

Chapter-1- Introduction to Web Development

Chapter-1- Introduction to Web Development

Professional Development

25 Qs

Frontend - CTO Cup

Frontend - CTO Cup

Professional Development

20 Qs

JS-QUIZ

JS-QUIZ

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Asma Fathima

Used 5+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a variable in JavaScript?

var

let

const

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does typeof null return?

null

object

undefined

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to convert a string into an array?



arrayify()

slice()

join()

split()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a single-line comment in JavaScript?

// comment

<!-- comment -->

/* comment */

# comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will 2 + "2" evaluate to in JavaScript?

4

22

undefined

NaN

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to parse a string into an integer?

parseInt()

parseFloat()

Number()

toInt()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does NaN stand for?

No Argument Needed

Not a Number

Number at Null

Non-Accessible Node

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?