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
65 questions
J2 Assessment 4 2025

Quiz
•
8th Grade
59 questions
Year 8 - Term 2.2 Quiz

Quiz
•
8th Grade - University
60 questions
STAGE 8. ICT FINAL

Quiz
•
8th Grade
59 questions
Higher - SQA Lingo

Quiz
•
8th Grade
60 questions
UML Final

Quiz
•
KG - Professional Dev...
60 questions
Python Hwk Quiz

Quiz
•
8th Grade
60 questions
KIỂM TRA 45P TIN 8 L2K2

Quiz
•
6th - 8th Grade
61 questions
Computer Basics Test

Quiz
•
6th - 8th 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
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

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

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade