JavaScript Arrays

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Bryan Campbell
Used 39+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is proper syntax for declaring a array in JavaScript?
var arrayName =[ ];
var arrayName[ ] ={ };
array arrayName ={ };
obj var arrayName =[ ];
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which definition below best describe an array?
An array is a function identifier that can hold more than one parameter.
An array is a beam of light.
An array is a special variable, which can hold more than one value at a time.
An array is a special function, which can hold more than one value at a time.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is first index value of an array?
-1
0
1
undefine
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The length() method for an array will return _____.
the number of elements in the array
the last index value of the array.
the length of the name of the array variable
the capacity of the array
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The push() method append to the _______ of the array.
beginning
middle
end
none of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The pop() method removes the _______ element of the array.
beginning
middle
end
none of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The push() method adds a new element to the beginning of an array.
true
false
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
[Week 10] The JavaScript Odyssey: History and Essentials

Quiz
•
10th Grade
26 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Quiz
•
9th - 12th Grade
31 questions
Unit #3 JavaScript

Quiz
•
12th Grade
25 questions
PTS Informatika Kelas XI 2024

Quiz
•
11th Grade - University
25 questions
Ôn tập học kì 1 tin 11

Quiz
•
11th Grade
32 questions
Javascript Quiz by Brandon and Amali

Quiz
•
11th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
30 questions
Pemrograman Perangkat Bergerak

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade