Array

Array

9th Grade

8 Qs

quiz-placeholder

Similar activities

SIK Lessons 3-9

SIK Lessons 3-9

9th - 12th Grade

10 Qs

Basics of C Quiz

Basics of C Quiz

9th - 12th Grade

8 Qs

Programming basics

Programming basics

9th - 12th Grade

10 Qs

AP CSA Unit 1 & 2 Review

AP CSA Unit 1 & 2 Review

9th - 12th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

CodeHS 5.4 & 5.5 ArrayList Stuff

CodeHS 5.4 & 5.5 ArrayList Stuff

9th - 12th Grade

10 Qs

T3_PC6.1 & PC6.2

T3_PC6.1 & PC6.2

9th Grade

10 Qs

Java1

Java1

6th - 11th 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]