JavaScript Arrays
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Bryan Campbell
Used 39+ times
FREE Resource
Enhance your content in a minute
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
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
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
