[Hall] Javascript Arrays

[Hall] Javascript Arrays

Assessment

Flashcard

Computers

5th Grade

Practice Problem

Hard

Created by

Wayground 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];

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?