NAME: ________________________

Question Types


Start With


Question Limit

of 8 available terms

Advertisement Upgrade to remove ads

3 Written Questions

3 Multiple Choice Questions

  1. If an array had:
    [3] time, [2] depth, [2] height and a [4] width,
    how many elements would there be? ie: 3 x 2 x 2 x 2
    (Note: Feel free to use a calculator.)
  2. The special ............ null character allows an array with a text string, to be counted in the syntax.
  3. (index), The grids dimensions need to be referenced with numbers starting at zero.
    If the array name was "coords", and you needed to reference "element 6", how would you reference that number?
    ie: ................................ {{ 1, 2, 3 } , { 4, 5, 6 }} ;
    (Note: the data type is an integer.)

2 True/False Questions

  1. 24If a 4th dimension with a [2] time, was added to an array,
    with [2] height, [3] width and a [2] depth, how many elements would there be? ie: 2 x 2 x 2 x 3
    (Note: The highest dimension starts first.)

          

  2. 6Arrays can have more then one index (or indices).
    An index for "Height", "Width" and "Depth", would create a grid with 3 dimensions. The highest dimension is placed first in order, and multiplies the one after it.

    If an array was [2] high and [3] wide, how many elements would there be? ie: 2 x 3

          

Create Set