Which of the following is used to declare a variable in JavaScript?

Semester 1 Exam Review

Quiz
•
Computers
•
8th Grade
•
Medium
Gerbert Dado
Used 2+ times
FREE Resource
63 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var
let
const
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for single-line comments in JavaScript?
//
/*
*/
#
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does NaN stand for in JavaScript?
Not a Number
Not a Null
Not a Name
Null and None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will 5 == "5" return?
TRUE
FALSE
undefined
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will 5 === "5" return?
TRUE
FALSE
undefined
null
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator checks both value and type in JavaScript?
==
=
===
!==
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you convert a string to an integer in JavaScript?
parseInt()
toString()
Number()
stringify()
Create a free account and access millions of resources
Similar Resources on Quizizz
60 questions
OS, Utility Program, Computer memory

Quiz
•
8th Grade
67 questions
AV Tech Semester Review

Quiz
•
7th - 9th Grade
59 questions
Python CH1-3 Review

Quiz
•
8th Grade - Professio...
62 questions
Quiz Prep2

Quiz
•
8th Grade
60 questions
Scratch

Quiz
•
6th - 8th Grade
62 questions
HYKwCS-CH11-SocialMedia-S01-S02-S07

Quiz
•
8th Grade
60 questions
Digital Design 1 Review

Quiz
•
8th Grade
60 questions
ServiceNow Exam 2

Quiz
•
KG - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade