Search Header Logo

Q3 TLE M4

Authored by Claid Oiranyaj

Computers

10th Grade

Used 1+ times

Q3 TLE 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 CHOICE QUESTION

45 sec • 1 pt

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

JavaScript

Scope

Function

Variables

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Function

Global Scope

Function Scope

Scope

3.

MULTIPLE CHOICE QUESTION

45 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.

Block Scope

Global Scope

Function Scope

Scope

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

Function

Global Scope

Function Scope

Scope

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Variables declared with var and let are quite similar when declared inside a function. They will both have _____

Function

Global Scope

Function Scope

Scope

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Variables declared with the var keyword cannot have Block Scope

True

False

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Redeclaring a JavaScript variable with var is NOT allowed anywhere in a program.

True

False

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?