Search Header Logo

Array

Authored by Mandy Tan

Computers

9th Grade

Used 21+ times

Array
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Choose the correct syntax for Array.

Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The first element in Array is

int i [0]

int i [1]

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The second element in Array is

int i [1]

int i[2]

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which one is an Array

int Shape

int Shape[ ]

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Given array

int myPins [ ] = {2, 4, 8, 3, 6};

The last element is:

2

6

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Given array

int myPins [ ] = {2, 4, 8, 3, 6};

myPins[1] = 2

myPins[0] = 2

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

int myArray [ ] = {8, 9, 11};

myArray[1] contains which number?

8

9

10

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?