José Miguel Gallardo
Quiz by , created more than 1 year ago

Computer Science Computer Science (Two Dimensional Arrays) Quiz on Two-Dimensional Arrays, created by José Miguel Gallardo on 12/02/2015.

8
0
0
José Miguel Gallardo
Created by José Miguel Gallardo almost 10 years ago
Close

Two-Dimensional Arrays

Question 1 of 3

1

How do you create a Two-Dimensional Array?

Select one of the following:

  • type nameOfArray [size][size];

  • type nameOfArray [size][size]

  • Array nameOfArray [size][size];

Explanation

Question 2 of 3

1

In what situation would you need a two-dimensional array?

Select one of the following:

  • When you want to arrange a set of values in a row

  • When you want to arrange a set of values in a grid (row and columns)

  • When you want to multiply 2x3

Explanation

Question 3 of 3

1

What is the definition of a two-dimensional array?

Select one of the following:

  • An array of an array

  • An array of an array of an array

  • An array with two different values for each position

Explanation