
JavaScript Quiz
Authored by Rita Mustafa
Information Technology (IT)
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of true && false || true?
false
true
undefined
null
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
One
Two
Default
null
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be logged?
Hello
World
undefined
null
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1 2 3
0 1 2
0 1 2 3
0 1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
John
25
undefined
null
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ! (NOT) operator do in JavaScript?
It converts a true value to false and vice versa
It performs an arithmetic operation
It is used for concatenation
It checks if a variable exists
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add an element to the end of an array?
array.add()
array.push()
array.append()
array.insert()
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?