JavaScript Quiz

JavaScript Quiz

University

15 Qs

quiz-placeholder

Similar activities

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Week 5: Test your understanding part 1

Week 5: Test your understanding part 1

University

20 Qs

The AI Shield

The AI Shield

University

15 Qs

Unit 28 - Quiz #1

Unit 28 - Quiz #1

University

15 Qs

Javascript

Javascript

University

12 Qs

GIT Básico

GIT Básico

University

18 Qs

data structures1

data structures1

University

20 Qs

JavaScript Quiz

JavaScript Quiz

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Muhamad Gibran

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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{}

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?