Category: Array Functions

CLAD 04-09

CLAD 04-09

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

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

CLAD 04-02

CLAD 04-02

Which of the following statements regarding Array constants is NOT true?

  1. When you create an Array constant on the Block Diagram, it is not visible on the Front Panel.
  2. You cannot resize an Array constant to include more than one element.
  3. You can copy or drag and existing Array on the Front Panel to the Block Diagram to create a constant of the same data type.
  4. All array operations can be performed on an Array constant.

CLAD 03-31

CLAD 03-31

What is the result of the following Array addition?

  1. A 1-D Array of {80, 20, 40, 10, -60}
  2. A 1-D Array of {120, 30, -60}}
  3. A 1-D Array of {120, 30}
  4. A 2-D Array of {{120, 90, 20}, {60, 30, -40}}

CLAD 03-14

CLAD 03-14

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

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

CLAD 03-13

CLAD 03-13

What is the output of the Build Array function in the following block diagram when Concatenate Inputs is selected?

  1. A 1-D Array of {1, -4, 3, 7, -2, 6}
  2. A 1-D Array of {1, 7, -4, -2, 3, 6}
  3. A 2-D Array of {{1, -4, 3, 0}, {7, -2, 6}}
  4. A 2-D Array of {{1, -4, 3}, {7, -2, 6}}

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.
Top