Search Header Logo

TLE Q3 M4

Authored by Sophia Acode

Computers

10th Grade

Used 4+ times

TLE Q3 M4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

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

Expression

VAR

Scope

Value

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Before ES215, there are only two types of scope. Which of the following are the two types?

Global Scope and Local Scope

Function Scope and Block Scope

Block Scope and Local Scope

Global Scope and Function Scope

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

TRUE or FALSE? Variables declared with the var keyword can have Block Scope.

TRUE

FALSE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The main difference between let and var is that scope of a variable defined with var is limited to the block in which it is declared while variable declared with let has the global scope.

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables declared with

the _ keyword can have Block Scope.

const

var

let

none of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _ variable declared in the loop redeclares the variable

outside the loop.

let

var

const

the * sign

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

___ variables defined with the var keyword

belong to the window object.

Global

Local

Loop

Block

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?