
JavaScript Basics: Introduction to Arrays
Authored by Ivan Macaso
Computers
9th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What will be the output of the following JavaScript code: console.log(5 + '5')?
'55'
'5.5'
'10'
'25'
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to declare a variable in JavaScript?
int
let
const
var
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax for a single-line comment in JavaScript?
/* This is a single-line comment */
// This is a single-line comment
/* This is a comment */
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of using let keyword in JavaScript?
To declare global variables
To declare block-scoped variables
To define functions
To import external libraries
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When should you use const keyword instead of let in JavaScript?
When you want to declare a variable that will be reassigned frequently.
When you want to confuse other developers.
When you want to declare a variable that will not be reassigned.
When you want to make your code less readable.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of 10 % 3 in JavaScript?
1
5
2
0
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you access a property of an object in JavaScript?
objectName[propertyName]
objectName->propertyName
objectName.propertyName()
objectName.propertyName or objectName['propertyName']
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
48 questions
9.1.4 Python Quiz 🐍
Quiz
•
9th Grade
47 questions
IGCSE Computer Science - Hardware Quiz
Quiz
•
9th Grade
50 questions
TLE 9 (CSS) Second Quarter Examination
Quiz
•
9th Grade
50 questions
Latihan Informatika 9 2025
Quiz
•
9th Grade
50 questions
MIT App Inventor (Mobile Application)
Quiz
•
9th Grade
54 questions
Programming Concepts
Quiz
•
9th - 12th Grade
50 questions
Asas Sains Komputer Tingkatan 3
Quiz
•
9th - 12th Grade
46 questions
Domain 1 - Network Security
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade