JavaScript Quiz

JavaScript Quiz

University

15 Qs

quiz-placeholder

Similar activities

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Introduction to Computers

Introduction to Computers

University

20 Qs

Topic 4-2: Multiple if-else and switch-case

Topic 4-2: Multiple if-else and switch-case

University

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

PHP Quiz - 1

PHP Quiz - 1

University

20 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

Basic on Operating System

Basic on Operating System

University

10 Qs

Enterprise development - JEE

Enterprise development - JEE

University

10 Qs

JavaScript Quiz

JavaScript Quiz

Assessment

Quiz

Computers

University

Easy

Created by

Muhamad Gibran

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is the output of the following code snippet?

print(NaN === NaN);

True

False

Undefined

Error

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

How to stop an interval timer in Javascript?

clearInterval

stopInterval

clear

clearTimer

3.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

What are variables? Choose two from the answers.

container for storing data

storing data values

A cupboard

hold a water in it

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What will be the output of the following code snippet?

console.log(typeof(NaN));

Number

String

Null

None of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which function is used to serialize an object into a JSON string in Javascript?

parsa()

convert()

stringify()

json()

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

where id the correct place to insert a JavaScript?

<body>

<head>

<body>, <head>

html

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

How to write a try-catch block in JavaScript?

try{}catch{}

catch{}try{}

try{}catch(e){}

try(e){}catch{}

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?