Array Indexing Quiz

Array Indexing Quiz

Assessment

Interactive Video

Computers

4th - 6th Grade

Hard

Created by

Jennifer Brown

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the starting index for arrays in most programming languages?

10

2

0

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the example with bananas, what index is used to access the first banana?

0

3

1

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many bananas are in the array in the example provided?

Four

One

Two

Three

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the beaver example, if the first beaver steps 4 and the second steps 8, how many steps will the third beaver take?

4

8

12

16

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a useful tip for moving code around as mentioned in the beaver example?

Use keyboard shortcuts for cut and paste

Rewrite the code manually

Use a mouse to drag and drop

Use a voice command