TLE Q3M5 QUIZ

TLE Q3M5 QUIZ

10th Grade

10 Qs

quiz-placeholder

Similar activities

TLE Q3 1-5

TLE Q3 1-5

10th Grade

10 Qs

JavaScript Fundamentals

JavaScript Fundamentals

9th Grade - Professional Development

10 Qs

kyle

kyle

10th Grade

10 Qs

MODULE 6 - QUIZ

MODULE 6 - QUIZ

10th Grade

11 Qs

tle 10

tle 10

10th Grade

10 Qs

Basics of Javascript

Basics of Javascript

9th - 12th Grade

10 Qs

TLE Q3 QUIZ MODULES 1-5

TLE Q3 QUIZ MODULES 1-5

10th Grade

10 Qs

Global and Local Scope

Global and Local Scope

10th Grade

10 Qs

TLE Q3M5 QUIZ

TLE Q3M5 QUIZ

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Reuell Isael Quiliza

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Declaring a const is similar to when it comes to Block Scope

let

var

variable

keywords

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The const keyword defines a the constant value

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If we assign a primitive value to a constant,

we cannot _______ the primitive value.

change

define

use

declare

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Redeclaring a JavaScript var variable is ________________ anywhere in a program.

restricted

available

not available

found

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Define the statement:

var x = 2; // Allowed

const x = 2; // Not allowed

{

let x = 2; // Allowed

const x = 2; // Not allowed

}

The properties of a constant object can be changed.

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

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

Redeclaring or reassigning an existing const variable, in the same scope, or in the same

block, is not allowed.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The __________ keyword is a constant variable therefore it cannot be reassigned.

Const

let

var

script

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of scope is the var variable

Function Scope

Block Scope

Local Scope

Global Scope

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?