Search Header Logo

JavaScript Quiz

Authored by Rita Mustafa

Information Technology (IT)

Professional Development

Used 2+ times

JavaScript Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of true && false || true?

false

true

undefined

null

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

One

Two

Default

null

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be logged?

Hello

World

undefined

null

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

1 2 3

0 1 2

0 1 2 3

0 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

John

25

undefined

null

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ! (NOT) operator do in JavaScript?

It converts a true value to false and vice versa

It performs an arithmetic operation

It is used for concatenation

It checks if a variable exists

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

array.add()

array.push()

array.append()

array.insert()

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?