JavaScript Basics: Introduction to Arrays

Quiz
•
Computers
•
9th Grade
•
Hard
Ivan Macaso
Used 4+ times
FREE Resource
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']
Create a free account and access millions of resources
Similar Resources on Wayground
49 questions
Code.org Unit 3

Quiz
•
5th - 11th Grade
55 questions
2024 Final Exam Review PFGT

Quiz
•
9th - 12th Grade
55 questions
Science & Technology

Quiz
•
8th - 12th Grade
54 questions
Introduction to Java - Questionwell

Quiz
•
9th - 12th Grade
46 questions
Adobe Animate 2015

Quiz
•
9th - 12th Grade
48 questions
9 класс 3 апрел

Quiz
•
9th Grade
45 questions
html -01

Quiz
•
9th - 12th Grade
51 questions
C# Review with Loops

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade