Author: Doug Harper

CLAD 03-35

CLAD 03-35

Which of the following statements is true about the iteration terminal ?

  1. It returns the number of times the loop has executed.
  2. It returns the number of times the loop has executed, plus one.
  3. It returns the number of times the loop has executed, minus one.
  4. It returns a constant number.

CLAD 03-26

CLAD 03-26

Under which of the following conditions does a For Loop stop executing?

  1. When a true value is present at the conditional terminal and the conditional terminal is .
  2. When the value of the iteration terminal, , is one less than the value of the count terminal, .
  3. When the value of the iteration terminal, , is one more than the value of the count terminal, .
  4. None of the above.

CLAD 03-08

CLAD 03-08

Which of the following terminals controls how many times a For Loop will execute?

CLAD 03-06

CLAD 03-06

Which of the following statements is true about the following block diagram?

  1. The loop will execute once and the iteration terminal, , will output a value of one.
  2. The loop will execute once and the iteration terminal, , will output a value of zero.
  3. The loop will execute infinitely and the program will have to be aborted.
  4. The loop will not execute once and the iteration terminal, , will output a null value.

CLAD 04-39

CLAD 04-39

Which of the following terminals controls how many times a For Loop will execute?

CLAD 04-22

CLAD 04-22

Which of the following graphs matches the result in Comparison Values after the following code has executed?

CLAD 04-18

CLAD 04-18

Which of the following accurately describes the output that results from execution of the following loop?

  1. The last three values from DAQ Assistant will be displayed.
  2. A running average of all measurements will be displayed.
  3. An average of the last four measurements will be displayed.
  4. None of the above.

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 04-20

CLAD 04-20

Which of the following statements is TRUE?

  1. The default setting for a tunnel into or out of a For Loop has auto-indexing enabled if the data being passed is an array.
  2. The default setting for a tunnel into or out of a While Loop has auto-indexing disabled if the data being passed is an array.
  3. Both A and B are True.
  4. None of the above.

CLAD 03-33

CLAD 03-33

The most efficient method for creating an array is:

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