Array

Array

9th Grade

8 Qs

quiz-placeholder

Similar activities

AP CS A Unit 7 Quiz PRACTICE

AP CS A Unit 7 Quiz PRACTICE

9th - 12th Grade

10 Qs

Y9 Microbit

Y9 Microbit

8th - 9th Grade

10 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

Two-Dimensional Array

Two-Dimensional Array

9th - 12th Grade

12 Qs

AP CS A Unit 6 Quiz PRACTICE

AP CS A Unit 6 Quiz PRACTICE

9th - 12th Grade

10 Qs

Examen Programación Avanzada

Examen Programación Avanzada

9th Grade

10 Qs

2-D Arrays in Java

2-D Arrays in Java

9th - 12th Grade

6 Qs

Introdução à Programação - PDF5

Introdução à Programação - PDF5

9th - 12th Grade

8 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]