Search Header Logo

Arrays recap

Authored by nadeem asghar

Computers

9th Grade

Used 1+ times

Arrays recap
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What value is at index 1 in this array?  String[] names = {"Mack", "Dennis", "Dee", "Charlie"};

Mack
Dennis
Dee
Charlie

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Arrays always have the same...

data types
text types
numbers
types of data

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Values in arrays cannot be changed.

False
True

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

var groceries = ["milk", "sugar", "eggs", "cake"];
What is the value of groceries[2] in the above array?

"milk"
"sugar"
"eggs"
"cake"

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is printed by the following lines of code?

eggs
bread
2
sugar

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

var arr = [1, 4, 55, 23, 11, 2];
What is the value of arr.length?

5
6
9
2

7.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

How many types of arrays are there?

One-Dimension Array

Two-Dimension Array

Three Dimension Array

five Dimension Array

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?