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

TLE Q3M5 QUIZ

Quiz
•
Computers
•
10th Grade
•
Easy

Reuell Isael Quiliza
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
10 questions
TLE Q3 M4

Quiz
•
10th Grade
10 questions
TLE Q3 M5

Quiz
•
10th Grade
10 questions
G5 10-ESTEBAN

Quiz
•
10th Grade
10 questions
kyle

Quiz
•
10th Grade
10 questions
Basics of Javascript

Quiz
•
9th - 12th Grade
10 questions
TLE Q3 MODULE 4 G16

Quiz
•
10th Grade
10 questions
TLE Q3 M5

Quiz
•
9th - 12th Grade
10 questions
TLE QUIZZIZ 2

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University