Search Header Logo

CodeHS Arrays

Authored by S Wines

Computers

9th - 12th Grade

Used 11+ times

CodeHS Arrays
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of looping through every element in an array?

iterating over the array

looping over the array

implementing over the array

stringing over the array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code do?

adds 1 to each element of the array

finds the sum of the array

prints the array to the screen and ends

throws an exception

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code do?

adds 1 to each element of the array

finds the sum of the array

prints the array to the screen and ends

throws an exception

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array is;

Shapes
Sizes
Options
Lists of data

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is first index value of an array?

-1

0

1

undefine

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What surrounds an array?

Quotations
Curly Brackets
Parenthesis
Square Brackets

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

5
4
0
125.4

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?