Sie sind auf Seite 1von 17

14.06.

2015

ANSWERS

1. What is an advantage of using a Strictly Typed VI refnum?


a. The data types of the target VI are known at compile time
b. The data types passed to the VI can change programmatically
c. You can flatten the data to a string to improve code performance
d. Causes dynamically loaded VIs to be loaded at the start of execution

2. A coercion dot indicates that:


a. The data types are consistent
b. A polymorphic operation will be performed on the data
c. A data buffer is created to handle data conversion
d. Data values are being coerced because they are out of range

3. You have a control on the front panel of a VI and you need to modify one of its
properties at run time. Which of the following is the best approach you would
take?
a. Create an implicit property node and select the property to modify
b. Create a control reference, pass the reference to a property node and select the
property to modify
c. Create a linked shared variable and select the property to modify the property
d. Create a local variable and select the property to modify

4. Which of the following is the best method to update an indicator on the front
panel programmatically?
a. Use a Value property node
b. Wire directly to the indicator terminal
c. Use a local variable
d. Use a functional global variable

5. What is the best method to stop a While loop on an error condition?


a. Compare the Status boolean of an error cluster with a constant and wire it to
the Stop terminal
b. Connect the error wire directly to the Stop terminal
c. Create an Event structure to handle the error event
d. Use the Error Handler VI to automatically handle the error

6. What mechanical action of a Boolean would you use to mimic a button on a


Windows
dialog?
a. Switch Until Released
b. Switch When Released
c. Latch Until Released
d. Latch When Released

7. In what instance would you use the Highlight Execution rather than Probe tool?
a. To see the flow of data
b. To see the value of a wire in real-time
c. To look into a SubVI, as the process is running
d. To slowdown the VI and show data values in wires

8. Which of the following does conform to data flow programming paradigm?


a. Shift Registers
b. Tunnels
c. SubVIs
d. Local Variables

9. You must store data that other engineers must analyze with Microsoft Excel.
Which file storage format should you use?
a. Tab-delimited ASCII
b. Custom binary format
c. TDM
d. Datalog

10. Which of the following apply to Property Nodes?


a. Property Nodes allow attributes of front panel objects to be programmatically
manipulated.
b. Property Nodes can be used to update the values contained in a front panel
object.
c. More than one Property Node can be used for a single front panel object.
d. Property Nodes contained in a SubVI will always cause the front panel to be
loaded in memory.
11. In the figure below, what will Result equal when this calculation is executed?

a. 55
b. 70
c. 65
d. Indeterminate

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

a. A 1-D array of {1, 4, 3, 2, 1, 0}


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

13. What is the result in new string after the following code has executed?
a. Hello to you!
b. Hello Wto you!
c. Hello to you!!
d. Helloto you!

14. Which of the following display options are available for strings on the Front
Panel?
a. \ Codes
b. Password
c. Hex
d. All of the above

15. In the figure below, the output of Array Size is

a. a 1-D Array of {2, 3}


b. a 1-D Array of {3, 2}
c. 2 and 3
d. None of the above

16. Which of the following produces this XY Graph?


a. A

b. B

c. C
d. D

17. Which of the graphs below matches the output in the Waveform Graph
indicator after the following code has executed?

a. A
b. B

c. C

d. D
18. The Wait function can be added to While Loops:
a. To free up available memory.
b. To allocate memory used by the CPU.
c. To allow the processor time to complete other tasks.
d. To reserve which processor the code is running on.

19. Which of the following methods is NOT a method to create a 1-D Array:
a. Place an Array Shell on the Front Panel and drag a Control into the shell.
b. Use a While Loop with auto-indexing disabled.
c. Use a For Loop with auto-indexing enabled.
d. Use the Initialize Array function.

20. Which of the following statements is true regarding the execution of the
following code?

a. The loop will stop after 50 iterations.


b. The loop will stop after 49 iterations.
c. The loop will stop after 51 iterations.
d. A For Loop that has a 50 wired to the count terminal will perform the same
operation

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

22. Which of the following statements is true regarding the use of Coercion Dots?
a. Coercion Dots improve program performance.
b. Coercion Dots represent a conversion from one data type to another.
c. Coercion Dots increases memory usage
d. Both A. and B.
e. Both B. and C.

23. Which of the following graphs matches the result in Comparison Values after
the following code has executed?
a. A

b. B

c. C
d. D

24. Which of the following will allow you to have multiple plots on a Waveform
Graph?
a. Bundle two 1D arrays of X and Y data together for each plot. Then build an array
of these clusters and wire it to the Waveform Graph indicator.
b. Build an n-dimensional array of data with each plot in a separate row (or
column) in the array, then wire the array to the Waveform Graph indicator.
c. Bundle the elements of each waveform into a cluster and build an array of these
clusters, then wire the array to the Waveform Graph indicator.
d. Both B. and C.

25. Which of the following is NOT a traditional debugging feature used to help find
errors in a VI:
a. Highlight Execution.
b. Single Stepping
c. Breakpoints
d. Stop Values

26. You can use all of the following data types as inputs to the case selector
terminal except:
a. Doubles
b. Enumerated type values
c. Strings
d. Integers

27. What is the value in XOR Result after the following code has executed?

a. 0
b. 1
c. True
d. False

28. Clusters provide a user with which of the following benefits?


a. Clusters allow a logical grouping of related data elements.
b. Clusters increase the number of Connector Pane terminals of SubVIs.
c. Clusters help to reduce wire clutter on the Block Diagram.
d. Both A. and C.

29. Which of the following methods will create an XY Graph with two plots?
a. Create a single cluster from two arrays of X values and two arrays of Y values in
an X,Y, X,Y pattern.
b. Bundle the X and Y array pairs together into two clusters and then create an
array of these two clusters.
c. Bundle the X and Y array pairs together into two clusters and create a cluster of
these two clusters.
d. Create a single array of each of the X arrays and Y arrays in an X,Y,X,Y pattern.
30. After the following code has executed,

a. The Y holds amplitude of sine waveform


b. The Y holds to of sine waveform
c. The Y holds dt of sine waveform
d. The VI will not stop until you press abort button
e. Undetermined

31. After the Second iteration of the code below, what will be the value in the
Shift Register Answer?

a. 30
b. 155
c. 0
d. 19,530
e. None of the above

32. What will be the values in the result?


a.

b.

c.
d. ANS: A

33. What will be the value in the Array?

a. 1D array of {0, 1, 1, 2, 3}
b. 1D array of {1, 1, 2, 3, 5}
c. 1D array of {1, 0, 1, 1, 2}
d. None of the above

34. What will be the value of the Boolean control at 1500ms after the following
code has started to run, when the user doesnt give any input?

a. True
b. False
c. Undetermined
d. No data is passed as Boolean is a control
35. Which of the following is the default case when you place a comparison VI on
your block diagram

a.

b.

c. both a and b

d. None of the Above

36. What is the Byte Size of a Complex double data type?

a.4
b.8
c.16
d.32

37. One of the objects in the control palatte donot have corresponding block
diagram terminals?

a. table control
b. navigation control
c. decorations

38. What is the default size for cluster?


a.2^15-1
b.2^31-1
c.9
d.4

39. What is the representation of the count terminal in for loop?

a. I32
b. U32
c. I8
d. U8

40. when will these two run buttons come

when the

a. (1) vi is in run mode (2) when the VI runs continiously.

b.(1)continous run (2)normal run.

c.(1)during PAUSE condition (1)during WAIT condition.

d.(1)sub VI run condition (2)normal VI run condition.

Das könnte Ihnen auch gefallen