Category: Arrays and Clusters

CLAD 02-30

CLAD 02-30

In the figure below, the output of Array Size is…

  1. A 1-D Array of {-25, 25, 50}
  2. A 1-D Array of {-25, 25}
  3. A 2-D Array of {{-25, -50, -50}, {50, 25, 25}}
  4. A 1-D Array of {75, -50, 25}

CLAD 02-09

CLAD 02-09

In the figure below, the output of Array Size is…

  1. 1D Array of {2, 3}
  2. 1D Array of {3, 2}
  3. 2
  4. None of the above.

CLAD 02-05

CLAD 02-05

The most efficient method for creating an array is:

  1. Placing a Build Array function in a While Loop.
  2. Initializing an array and then replacing elements in a While Loop.
  3. Using a For Loop with Auto-Indexing.
  4. Using a While Loop with Auto-Indexing.

CLAD 01-28

CLAD 01-28

Which of the following statements is NOT valid?

  1. You can make a Cluster of Clusters.
  2. You can make an Array of Arrays.
  3. You can make a Cluster of Arrays.
  4. You can make an Array of Clusters.

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