NAME

Question types


Start with


Question limit

of 8 available terms

Advertisement
Print test

3 Written questions

3 Multiple choice questions

  1. An index for "Hight", "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, if there was a 2 depth?
  2. (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 1", how would you reference that number?
    ie: ................................ {{ 1, 2, 3 } , { 4, 5, 6 }} ;
    (Note: the data type is an integer.)
  3. To reference a value from an array, with multiple indices (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 2", 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. int coords[1] [2] =To reference a value from an array, with multiple indices (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 2", how would you reference that number?
    ie: ................................ {{ 1, 2, 3 } , { 4, 5, 6 }} ;
    (Note: the data type is an integer.)

          

  2. \0The special ............ null character allows an array with a text string, to be counted in the syntax.