[Hall] Javascript Arrays

[Hall] Javascript Arrays

Assessment

Flashcard

Computers

5th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is first index value of an array?

Back

0

2.

FLASHCARD QUESTION

Front

What symbol surrounds the data in an array? Options: Quotations "..", Curly Brackets {..}, Parenthesis (...), Square Brackets [...]

Back

Square Brackets [...]

3.

FLASHCARD QUESTION

Front

What is the length of myArray? var myArray = [1,2,3,4,5]

Back

5

4.

FLASHCARD QUESTION

Front

What is proper syntax for declaring a array in JavaScript?

Back

var arrayName =[ ];

5.

FLASHCARD QUESTION

Front

What is the highest index in myArray?
var myArray = [1,2,3,4,5];

Back

4

6.

FLASHCARD QUESTION

Front

What property tells you how many items are in an array? Options: .length, .count, .items, .num

Back

.length

7.

FLASHCARD QUESTION

Front

Which of these lines of code show how to validly store an array with 3 items? Options: var nums = [42, 3, 7];, var nums = 3, 42, 7;, var nums = [3];, var nums = (3, 42, 7);

Back

var nums = [42, 3, 7];

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers