NEW
Font size
WorksheetsJavascript Arrays
Total questions: 12
Worksheet time: 7mins
An array is;
A shape
A size
A series of numbers
A list of information
What is first index value of an array?
-1
0
1
undefine
In Javascript, what surrounds an array?
Quotations
Curly Brackets
Parenthesis
Square Brackets
What is the length of this array?
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.
What is proper syntax for declaring a array in JavaScript?
var arrayName =[ ];
var arrayName[ ] ={ };
array arrayName ={ };
obj var arrayName =[ ];
Which of the variables below is an array?
var names="array"
var names = array;
var names = [];
var names[];
What is the highest position in this array?
HINT: Remember arrays start at position 0!
How would you access the second element in an array?
nums.2
nums[2]
nums_1
nums[1]
