
Semester 1 Exam Review
Authored by Gerbert Dado
Computers
8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
63 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to declare a variable in JavaScript?
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()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?