Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

TLE Q3 M5

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

It behaves like a let keyword.

a)

CONST

b)

IF

c)

VAR

d)

LET

2.

The __________ keyword is a constant variable therefore it cannot be

reassigned.

a)

CONST

b)

IF

c)

VAR

d)

LET

3.

JavaScript const variables must be assigned a __________ when they are

declared.

a)

ELEMENT

b)

VALUE

c)

NAME

d)

PROPERTY

4.

Before ES2015 JavaScript have Block Scope already.

a)

TRUE

b)

FALSE

5.

Redeclaring or reassigning an existing var or let variable to const, in the same

scope, or in the same block, is __________.

a)

NOT ALLOWED

b)

ALLOWED

c)

DEFINED

d)

INITIALIZED

6.

A ______ variable means that the variable defined within a block will not be accessible from outside the block.

a)

FUNCTION SCOPE

b)

GLOBAL SCOPE

c)

LOCAL SCOPE

d)

BLOCK SCOPE

7.

When variables are declared within a function or a block, they are ______ scoped.

a)

GLOBALLY

b)

LOCALLY

c)

BLOCK

d)

FUNCTION

8.

JavaScript var variables must be assigned a value when

they are declared.

a)

TRUE

b)

MAYBE

c)

FALSE

d)

I DON'T KNOW

9.

If we assign a primitive value to a constant,

we cannot change the primitive value.

a)

TRUE

b)

MAYBE

c)

FALSE

d)

I DON'T KNOW

10.

In JavaScript, arrays use numbered indexes.

a)

FALSE

b)

TRUE

c)

MAYBE

d)

I DON'T KNOW