Search Header Logo

arrays1

Authored by Roberta Fabian

Computers

10th Grade

Used 8+ times

arrays1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

arr = ["red", "green", "blue", "orange", "pink"]

What is the value of arr[2]?

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

names = ["Jane", "Ana", "John", "Max", "Agnes"]

Write how you access value "Max":

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

marks = [30, 41, 32, 60, 75, 34]

What is the position of the highest value in the array?

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

arr = ["Hi", "Bye", "BRB", "See you", "Thanks", "No problem", "Later"]

How much is the length of the array?

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

We can store different types of data in one array.

TRUE

FALSE

6.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

arr = ["math", "physics", "cs"]

What data type are the elements stored in the array?

7.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

flavours = ["chocolate", "vanilla", "melon", "mango", "caramel", "blueberry", "lemon"]

How do you access the value "lemon"?

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?