Documente Academic
Documente Profesional
Documente Cultură
Exam Details: Time allocated: 1 hour Type of exam items: Multiple choice Number of exam items: 40 questions Passing Grade: 70%
IMPORTANT: When you have completed this exam, place it in the provided envelope with you answer sheet and SEAL the envelope. Give the sealed envelope to your proctor.
Page 1 of 24
Page 2 of 24
a. b. c. d.
The loop will iterate 51 times. The loop will iterate 50 times. The loop will iterate 49 times. A For Loop that has a 50 wired to the count terminal will perform the same operation.
2. Which of the following will cause an event to be captured by the LabVIEW Event Structure? a. b. c. d. Changing a value on a Front Panel control via a mouse click Update of a Front Panel control using a property node Programmatic update of a Front Panel control via a control reference Using VI Server to update a Front Panel control
3. What value does the Result indicator display after the code snippet executes?
a. b. c. d.
The time elapsed in milliseconds during the execution of SubVI Zero Number of seconds elapsed since January 1, 1970 The time elapsed in milliseconds during the execution of the sequence structure
Page 3 of 24
6. Which timing function (VI) is the best choice for timing control logic in applications that run for extended periods of time?
a.
b.
c.
d.
Page 4 of 24
a. b. c. d.
Yes, each time the error from the Open/Create/Replace File function is returned Yes, each time a loop iteration completes Yes, but only once, not on each iteration of the loop No
8. If an input name on the Show Context Help window is in bold for a SubVI, which of the following conditions are true? (Multiple answers may apply) a. b. c. d. Input values must be scalar. An input is recommended, but not required. An input is required. A broken run arrow will result unless the input is wired.
a. b. c. d.
Page 5 of 24
a.
b.
c.
Page 6 of 24
d. 11. Which setting assigns specific keys or key combinations to a front panel control? a. b. c. d. Key Focus Key Navigation Radix Distribute Objects
12. What is the result in new string after the following code has executed?
a. b. c. d.
13. What functionality do Control References provide? a. b. c. d. Ability to add controls and indicators to a VI programmatically Access to the properties of Front Panel objects in SubVIs Control of multiple DAQ inputs through alias names Ability to wire from controls to functions and SubVIs
Page 7 of 24
a. b. c. d.
15. You develop a SubVI that only outputs a value and need to use this SubVI in a (calling) VI. Which of the following is the best way to enforce dataflow to control the execution of the SubVI? a. b. c. d. Use the SubVI in a Sequence structure Modify the SubVI to have dummy inputs that can be used from the calling VI Modify the SubVI to have Error clusters that can be used from the calling VI Modify the SubVI to have a global variable and use it from the calling VI
Page 8 of 24
a.
b.
c.
Page 9 of 24
d. 17. Can a wire be used to pass data between loops that are intended to run in parallel? a. Yes b. No 18. You need to programmatically update the value in a numeric control. Which is the most appropriate strategy? a. b. c. d. Use a Functional Global Variable Use a Local variable Set the desired value as the default value Use a Data Value Reference
19. Which of the following illustrates an advantage of a global variable over a local variable? a. b. c. d. A global variable can pass data between two independent VIs running simultaneously Only the global variable can pass array data, local variables cannot Global variables follow the dataflow model, and therefore cannot cause race conditions Global variables do not require owned labels to operate
Page 10 of 24
a. b. c. d.
Plot 1 because properties are executed top-down Plot 0 because properties are implemented in numeric order starting at zero Both plots will be updated simultaneously due to the multithreading of properties It cannot be determined because LabVIEW performs operations in dataflow format
21. 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 2D 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. 22. Which statement best describes a Notify event, such as the value change of a Boolean control? a. b. c. d. Indication that an event occurred and LabVIEW did NOT process the event Indication that an event occurred and was discarded by the user Indication that an event occurred and LabVIEW processed the event Indication that an event did NOT occur but specified Event timeout did occur
Page 11 of 24
a. b. c. d.
1 millisecond (default since unwired) 1 second (default since unwired) Indefinitely It does not wait, it returns immediately
25. What value does the Result F2 indicator display after the VI containing this Stacked Sequence structure executes?
a. b. c. d.
0 25 40 65
Page 12 of 24
a. b. c. d.
The last three values from the Random Number function will be displayed. A running average of all measurements will be displayed. An average of the last four measurements will be displayed. None of the above
27. In what instance would you use the Probe tool rather than Highlight Execution? a. b. c. d. To see the flow of data To see the value of a wire in real-time To look into a SubVI, as the process is running To slowdown the VI and show data values in wires
Page 13 of 24
a. b. c. d.
5 7 12 36
a. b. c. d.
Causes the VI to abort Causes the VI to pause Causes the VI to single step over the addition Causes the VI to single step over the indicator
Page 14 of 24
a. b. c. d.
A 1-D Array of {-25, 25, 50} A 1-D Array of {-25, 25} A 2-D Array of {{-25, -50, -50} , {50, 25, 25}} A 1-D Array of {75, -50, 25}
31. Which mechanical action of a Boolean would you use to mimic a button on a Windows dialog? a. b. c. d. Switch Until Released Switch When Released Latch Until Released Latch When Released
32. Which is not an important part of creating a Functional Global Variable? a. b. c. d. Using Shift Registers to store information Changing the VIs execution settings to Reentrant Setting the VI to inline into calling VIs Setting the While Loop to stop after one iteration
33. Which chart update mode should be used to compare old and new data separated by a vertical line? This chart will display similar to an electro-cardiogram (EKG). a. b. c. d. Strip Chart Scope Chart Sweep Chart Step Chart
Page 15 of 24
a. b. c. d.
35. The function of a Cluster is to: a. b. c. d. Grouping of mixed data types into logical structures. Present data on the Front Panel using charts or graphs. Provide a means of differentiating between data types on the Block Diagram. Separate data objects by data type on the Front Panel.
36. A coercion dot indicates that: a. b. c. d. The data types are consistent A polymorphic operation will be performed on the data A data buffer is created to handle data conversion Data values are being coerced because they are out of range
37. Which combination of words correctly completes the following statement? Unlike _____ Property Nodes, _____ Property Nodes require _____ as inputs in order to function correctly. a. b. c. d. Explicit; Implicit; Data Value References Implicit; Explicit; Data Value References Explicit; Implicit; Control References Implicit; Explicit; Control References
Page 16 of 24
a. count terminal,
d. conditional terminal,
40. Which statement best describes a LabVIEW Project (.lvproj) file? a. A specialized folder that contains all files pertaining to an application b. A file containing a front panel and block diagram where programming steps can be implemented c. A compiled version of code mostly used for final deployment of an application d. A file that contains references to, and provides organization for all files pertaining to an application
Page 17 of 24
Page 18 of 24
Page 19 of 24
Page 20 of 24
Page 21 of 24
Page 22 of 24
Page 23 of 24
Page 24 of 24