You are on page 1of 4

College of Electronics Technology Bani-Walid

Oil & Gas Instrumentation Department


Virtual Instrumentation Course
Spring 2016

1) The following statements regarding Array constants are true, EXCEPT:


a) When you create an Array constant from the block diagram, it is not visible on the
Front Panel.
b) You cannot resize an Array constant to include more than one element,
c) You can copy or drag an existing Array on the Front Panel to the Block Diagram to
create a constant of the same data type.
d) All of the above statements are true.

2) For best performance when programming a sequence of functions or calculations, you


should use a:
A. Stacked Sequence structure.
B. Flat Sequence structure.
C. Both A and B. have the same performance.

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

A. The last three values from the DAQ Assistant will be displayed.
B. A running average of all measurements will be displayed.
C. An average of the last four measurements will be displayed.
D. None of the above.

Eng. Idrees Emhemed


College of Electronics Technology Bani-Walid
Oil & Gas Instrumentation Department
Virtual Instrumentation Course
Spring 2016

4) What is the result in initialized array after the following code has executed?

A. a 1-D Array of {4, 4, 4}


B. a 1-D Array of {3,3,3,3}
C. a1-D Array of {4,3}
D. a 1-D Array of {3, 4}

5) What is the value in Feedback Answer after the third iteration of the loop below?

A. 1
B. 2
C. 4
D. 8

6) What is the value in X after the following code has executed?

A. 9
B. 10
C. 11
D. None of the above

Eng. Idrees Emhemed


College of Electronics Technology Bani-Walid
Oil & Gas Instrumentation Department
Virtual Instrumentation Course
Spring 2016

7) You can create a 2-D Array using any of the following methods, EXCEPT:
a) Right-click on an existing 1-D array on the Front Panel and select Add Dimension
from the shortcut menu.
b) Use the Positioning Tool to resize the index display.
c) Use two nested For Loops with auto-indexing enabled on both.
d) Place an Array on the Front Panel and drag another Array inside it.

8) A SubVl can hold up to how many terminals?


a) 12
b) 20
c) 28
d) 36

9) How does the Match Pattern VI handle different letter cases (upper/lower)?
a) It is only case sensitive if offset is set at default value of 0.
b) It is always case sensitive.
c) It is never case sensitive.
d) If the regular expression is not found, it will ignore the case.

10) What is the result of the following subtraction?


a) a1-D Array of [14,7, 1, 14]
b) a1-D Array of[5,12,18,14]
c) a1-D Array of [14]
d) a1-D Array of [5,7,1,5]

11) A waveform Cluster contains each of the following elements:


a) t0, dt, Y
b) X, Y, dt.
c) X, Y, t0
d) None of the above

12) If the Error in terminal of a VI receives an error it will:


a) Freeze the program and wait for user interaction.
b) Execute normally.
c) Pass the error to the next node without executing the code in which the error
occurred.
d) Immediately display a pop-up window describing the error.

Eng. Idrees Emhemed


College of Electronics Technology Bani-Walid
Oil & Gas Instrumentation Department
Virtual Instrumentation Course
Spring 2016

13) All of the following statements concerning Sequence Structures are true, EXCEPT:
a) Sequence Structures guarantee order of execution.
b) Sequence Structures should be replaced with a While Loop containing Case
Structures whenever possible.
c) The use of a single Sequence Structure in a VI prohibits parallel operations.
d) Sequence Structures halt execution when an error occurs in one of the frames.

14) The Index Array function shown below:

a) Returns the number of elements in each dimension of an array.


b) Concatenates multiple Arrays or appends elements to an n-dimensional Array.
c) May have a maximum of two index terminals.
d) Returns a single element or sub-array of an n-dimensional Array starting at the
specified index.

15) All of the following statements about Arrays are true, EXCEPT:
a) Arrays may be used to store data generated in loops.
b) Array elements are nut ordered,
c) Arrays may contain ether Controls or Indicators, but not both.
d) Arrays group data elements of the same type.
e) All of the above statements are true.

16) Where can you change a Control to an Indicator?


a) Front Panel
b) Block Diagram
c) Both A and B.
d) None of the above

17) All of the following are correct ways to view a SubVI on a Block Diagram, EXCEPT:
a) Expanded Node
b) Modular Node
c) Icon
d) Expandable Nude

Eng. Idrees Emhemed

You might also like