Search Header Logo

TLE QUIZ

Authored by marie gerona

Other

9th - 12th Grade

10 Questions

Used 2+ times

TLE QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To make the script more readable, it is recommended to apply _______.

A. Break

B. Black Label

C. Line

D. White Space

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

A. Function

B. Global Scope

C. Function Scope

D. Scope

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

A. Function

B. Global Scope

C. Function Scope

D. Scope

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable declared with __________ has the global scope.

A. Const

B. Let

C. Scope

D. Var

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

A. Function

B. Global Scope

C. Function Scope

D. Scope

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It behaves like a let keyword.

A. Const

B. If

C. Var

D. Try

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?