Arrays Javascript (CodeCademy)

Arrays Javascript (CodeCademy)

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

ArrayList Review

ArrayList Review

10th Grade

11 Qs

G10_C++_Arrays

G10_C++_Arrays

9th - 11th Grade

12 Qs

One Dimensional Array

One Dimensional Array

9th Grade - University

14 Qs

JAVA array

JAVA array

12th Grade - University

10 Qs

DATA STRUCTURE USING C

DATA STRUCTURE USING C

KG - University

15 Qs

AP Computer Science A

AP Computer Science A

12th Grade

10 Qs

Lecture 4.4 Part 1

Lecture 4.4 Part 1

12th Grade

10 Qs

Introduction to ArrayList

Introduction to ArrayList

10th Grade

11 Qs

Arrays Javascript (CodeCademy)

Arrays Javascript (CodeCademy)

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Thomas Maher

Used 19+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What surrounds an array?
Quotations
Curly Brackets
Parenthesis
Square Brackets

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

array = [2,0,3,5,4] What is the length of this array?

5

4

0

125.4

3.

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.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is proper syntax for declaring a array in JavaScript?

const arrayName =[ ];

let arrayName[ ] ={ };

array arrayName ={ };

obj var arrayName =[ ];

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How would you change the first element in an array?
nums[1] = "New!";
nums = "New!";
var nums[1] = "New!";
nums[0] = "New!";

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

array = [1,2,3,4,5];
What is the highest position in this array?
HINT: Remember arrays start at position 0!
4
5
0
125.7

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What property tells you how many items are in an array?
length
count
items
num

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?