JavaScript Quiz

JavaScript Quiz

University

15 Qs

quiz-placeholder

Similar activities

JavaScript Variables, Data Types, and Operators Quiz

JavaScript Variables, Data Types, and Operators Quiz

University

18 Qs

JavaScript

JavaScript

University

19 Qs

HTML, JAVASCRIPT,XML

HTML, JAVASCRIPT,XML

University

12 Qs

Lección1 - JavaScript

Lección1 - JavaScript

1st Grade - Professional Development

17 Qs

js basics

js basics

4th Grade - University

18 Qs

Interactivity with JavaScript

Interactivity with JavaScript

University

15 Qs

JavaScript Basic

JavaScript Basic

University

16 Qs

Recap on JavaScript and HTML

Recap on JavaScript and HTML

University

18 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?