Category: Arrays

CLAD 01-17

CLAD 01-17

Auto-indexing at a loop boundary is a feature that allows:
(More than one answer may apply).

  1. Arrays to be automatically traversed from one iteration to the next.
  2. Array functions to automatically index array elements.
  3. Functions that use arrays to automatically index them.
  4. Arrays to be automatically accumulated at loop boundaries.

CLAD 04-06

CLAD 04-06

What is the result in Array after the following code has executed?

  1. A 1-D array of {1, 4, 3, 2, 1, 0}
  2. A 1-D array of {1, 8, 0, 1, 2, 3, 4, 6, 2}
  3. A 1-D array of {1, 4, 3, 2, 1, 0, 8, 6, 2}
  4. A 1-D array of {1, 8, 0, 1, 2, 2, 9}

CLAD 01-22

CLAD 01-22

What is the result in subarray after the following code has executed?

  1. 1-D Array of {8,5,7}
  2. 1-D Array of {10,8,5}
  3. 1-D Array of {10,8,5,7}
  4. 1-D Array of {7,10,8,5}

CLAD 01-18

CLAD 01-18

What is the output of the Initialize Array function after the following code has executed?

  1. 1-D Array of {3,3,3,3}
  2. 1-D Array of {4,4,4}
  3. 1-D Array of {3,4}
  4. 1-D Array of {4,3}
Top