
4th Cycle Exam (Part 1) - Grade 7
Authored by Eugene Castro
Computers
7th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the Boolean value true mean in JavaScript?
Off
No
On
Yes
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result of 5 > 3 in JavaScript?
True
False
error
undefined
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this comparison: 10 == "10"?
False
True
error
NaN
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this comparison: 10 === "10"?
True
False
undefined
null
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which keyword is used for a condition that is not true in if statements?
then
or
else
switch
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct syntax for an if statement in JavaScript?
if x > y then {}
if (x > y) {}
if x > y {}
if > x y () {}
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of a switch statement in JavaScript?
Repeat a block of code
Compare one value with many cases
Store multiple values
Handle errors
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?