Array

Array

9th Grade

8 Qs

quiz-placeholder

Similar activities

Programming

Programming

1st - 10th Grade

10 Qs

Java - arrays and String methods

Java - arrays and String methods

9th - 12th Grade

12 Qs

Arrays and Lists

Arrays and Lists

6th - 12th Grade

10 Qs

CodeHS 5.7 2D Arrays

CodeHS 5.7 2D Arrays

9th - 12th Grade

10 Qs

C++ Recursion

C++ Recursion

8th - 12th Grade

12 Qs

Introduction to Arrays

Introduction to Arrays

KG - University

10 Qs

Programming - Arrays

Programming - Arrays

2nd - 12th Grade

10 Qs

Arrays Review

Arrays Review

9th - 12th Grade

11 Qs

Array

Array

Assessment

Quiz

Computers

9th Grade

Easy

Created by

Mandy Tan

Used 21+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

which one is invalid?

myArray [0]

myArray [3]