Search Header Logo

Javascript

Authored by Avakaza Technologies

World Languages

Professional Development

Used 1+ times

Javascript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

1. What keyword declares a globally-scoped variable in JavaScript?

let

const

var

static

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the scope of a variable declared with let?

Global

Function

Block

Static

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is not a primitive type in JavaScript?

Boolean

Array

String

Undefined

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if you try to reassign a const variable?

t gets reassigned

Returns undefined

Nothing happens

Throws an error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for strict equality?

==

===

=

!=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of console.log(10 % 3);?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logical operator returns true if at least one operand is true?

A) &&

B) ||


C) !

D) ==

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?