wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

tlepo

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

it determines the accessibility and visibility of a variable in your code.

a)

FUNCTION SCOPE

b)

GLOBAL

c)

FUNCTION

d)

SCOPE

2.

These variables are declared outside any function and can be accessed anywhere

in JavaScript.

a)

Function

b)

Global Scope

c)

Function Scope

d)

Scope

3.

A variable declared with __________ has the global scope.

a)

Const

b)

Let

c)

Scope

d)

Var

4.

It is anything between { }, an area within if, switch conditions

or for and while loops, which means that those variables exist only within the

corresponding block.

a)

Block Scope

b)

Global Scope

c)

Function Scope

d)

Scope

5.

A __________ is a set of statements that perform tasks and returns a value.

a)

Function

b)

Global Scope

c)

Function Scope

d)

Scope

6.

It determines the accessibility and visibility of variables in your code.

a)

fb

b)

scope

c)

ig

d)

ml

7.

It is anything between { }, an area within if, switch conditions

or for and while loops, which means that those variables exist only within the

corresponding block.

a)

Black scope

b)

Block scope

c)

local market

d)

PROBABILITY

8.

It behaves like a let keyword.

a)

VAR

b)

FB

c)

IG

d)

ML

9.

Set of rules

a)

let

b)

syntax

c)

local

d)

var

10.

Combination of values

variables, and

operators which

computes to a value.

a)

rule

b)

global

c)

facial

d)

expression