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
Quiz tentang Array dan String, knapsack dalam Pemrograman

Quiz
•
11th Grade
25 questions
arrays and strings in java

Quiz
•
12th Grade
25 questions
Q3 M3 A

Quiz
•
10th Grade
25 questions
PTS WEB DEV

Quiz
•
11th Grade
30 questions
Chpt 11: Programming with Pascal

Quiz
•
11th Grade
35 questions
SKT5 : Bab 3 : c) Standard Library, Subaturcara, Tatasusunan

Quiz
•
10th - 12th Grade
28 questions
PROGRAMACION WEB

Quiz
•
5th Grade - University
30 questions
Understanding Data Storage and APIs 2

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade