
JS Quiz Full
Authored by Raja SK
Computers
12th Grade
Used 13+ 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
1 min • 1 pt
What is the correct way to declare a variable in JavaScript?
Using the 'function' keyword followed by the variable name
Using the 'if' keyword followed by the variable name
Using the 'let', 'const', or 'var' keyword followed by the variable name
Using the 'print' keyword followed by the variable name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a single line comment in JavaScript?
#
/*
//
${}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
map() will always return an array
True
False
neither True nor False
Both True and False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the option which is not an array method
push()
splice()
pop()
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add a new element (5) to an existing array in JavaScript?
array.insert(5)
array.append(5)
array.add(5)
array.push(5)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
let arr = [1,2,3,4]
Find the number of elements in arr
arr.length()
arr.length
length = arr
length(arr)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access a property of an object in JavaScript?
By using dot notation or bracket notation
By using arrow notation
By using semicolon notation
By using comma notation
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?
Similar Resources on Wayground
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Von Neumann Vs Harvard Architecture
Quiz
•
12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
11 questions
Youtube
Quiz
•
4th Grade - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade