CLAD Sample Exam
Sample Exam Items:
1. For implementing state diagrams that allow future application scalability, the best choice for a base
structure is?
a. Sequence structure
b. Case structure
c. Formula node
d. Object-Oriented structure
2. Clicking on the _________ button allows you to bypass a node in the Block Diagram without
single-stepping through the node.
a. Step Into
b. Step Over
c. Step Out
d. Step Through
3. Which of the following apply to Property Nodes? (More than one answer may apply.)
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 can be used to programmatically generate a Value Change event.
4. You have a front panel control on a top-level VI that you must control from within a
subVI. What must you pass to the subVI?
a. The control's properties
b. The control's methods
c. The control's reference
d. The control's data type
Page 3 of 20
CLAD Sample Exam
5. What value does the Value Out indicator display after the VI executes?
a. 0
b. 4
c. 5
d. 6
6. You set a Breakpoint in the code contained within the False case of a Case structure. Will the
VI execution pause if the code in True case of the Case structure is being executed?
a. Yes
b. No
7. Which Property Node changes the text color attributes of any digital numeric control from a
subVI?
a.
b.
c.
d.
Page 4 of 20
CLAD Sample Exam
8. Which chart update mode should be used to show running data continuously scrolling
from left to right across the chart?
a. Strip Chart
b. Scope Chart
c. Sweep Chart
d. Step Chart
9. Which of the following does not conform to the Dataflow programming paradigm?
a. Shift Registers
b. Tunnels
c. SubVIs
d. Local variables
10. If possible, a Sequence structure should be replaced with a(n):
a. Event structure
b. For loop
c. State machine
d. While loop
11. Which of the following statements is TRUE about the following code segment?
a. The loop will execute once and the indicator Iteration will have a value of one
b. The loop will execute once and the indicator Iteration will have a value of zero
c. The loop will execute infinitely and the program will have to be aborted
d. The loop will not execute and the indicator Iteration will have a value of zero
Page 5 of 20
CLAD Sample Exam
12. Which equation is equivalent to the code?
a.
b.
c.
d.
13. A VI has Automatic Error Handling enabled. It calls a SubVI that has Automatic Error
Handling disabled. The Error Out terminal of the SubVI is unwired in the calling VI. The SubVI
returns an error to the calling VI. Will an error dialog be posted because of Automatic Error
Handling?
a. No, since the SubVI has Automatic Error Handling disabled
b. Yes, since he SubVI has Automatic Error Handling disabled
c. No, since the Error Out terminal from the subVI is not wired in the calling VI.
d. Yes, since the Error Out terminal from the subVI is not wired in the calling VI.
14. Which of the following statements is FALSE?
a. A SubVI connector pane defines where to wire inputs and outputs
b. The color of a SubVI connector pane terminal matches the data type it is connected to
c. You must have an icon/connector pane to use a SubVI
d. A SubVI icon can be edited from the functions palette
15. Which of the following cannot be used to transfer data?
a. Semaphores
b. Queues
c. Notifiers
d. Local variables
Page 6 of 20
CLAD Sample Exam
16. The Error list shows all of the following EXCEPT:
a. Items with errors
b. Errors and warnings
c. Details about the warnings
d. Error Codes
17. Auto-indexing at loop boundary is a feature that allows: (More than one answer
may apply.)
a. Arrays to be automatically traversed from one iteration to the next
b. Array functions to automatically index array elements
c. Functions that use arrays to automatically index them
d. Arrays to be automatically accumulated at loop boundaries
18. What is the output of the Initialize Array function after the following code has executed?
a. 1-D Array of [3, 3, 3, 3}
b. 1-D Array of [4, 4, 4}
c. 1-D Array of [3, 4}
d. 1-D Array of [4, 3}
19. Which of the following will cause an event to be captured by the LabVIEW Event Structure?
a. Changing a Front Panel control’s Value via a mouse click on the control
b. Changing a Front Panel control’s Value property via a property node
c. Changing a Front Panel control’s Value via a control reference
d. Changing a Front Panel control’s Value via a local variable
20. Which variable is commonly used to eliminate race conditions by preventing simultaneous
access to code or data?
a. Functional global variable
b. Local variable
c. Global variable
d. Shared variable
Page 7 of 20
CLAD Sample Exam
21. What is the value in Shift Register Answer after the following code has executed?
a. 16
b. 24
c. 32
d. 10
22. What is the result in subarray after the following code has executed?
a. 1-D Array of [8, 5, 7}
b. 1-D Array of [10, 8, 5}
c. 1-D Array of [10, 8, 5, 7}
d. 1-D Array of [7, 10, 8, 5}
23. How do you document a VI so that the description appears in the Show Context Help
popup window?
a. Use the VI Properties Documentation window
b. Type in the Show Context Help window
c. Create a free label on the front panel
d. Edit the LabVIEW help files
24. Which of the following terminals controls how many times a For loop executes?
a.
b.
c.
d.
Page 8 of 20
CLAD Sample Exam
25. Does this code snippet demonstrate an appropriate use of a Property Node?
a. Yes, because updating the value via a Property Node uses less memory than writing to
the terminal
b. Yes, because updating the value via a Property Node allows for error checking
c. No, because you should always wire data directly into indicators when possible
d. No, because Property Nodes should only be used with more complex data types
26. The Wait Until Next ms Multiple function:
a. Begins timing at program start and completes upon a multiple of the PC timer
b. Begins timing after the code in the loop has completed and expires when the multiple of
the (user) input time expires
c. Begins timing after the code in the loop has completed and expires when the
(user) input time completes
d. Begins timing at program start and waits until the code in the loop has completed
27. Which data synchronization mechanism ensures that no data is lost when an
application temporarily provides data faster than it is able to process it?
a. Notifier
b. Queue
c. Semaphore
d. Local Variable
28. Which of the following statements is NOT valid:
a. You can make a Cluster of Clusters.
b. You can make an Array of Arrays.
c. You can make a Cluster of Arrays.
d. You can make an Array of Clusters.
29. Which data type is not accepted by the case selector terminal on a case structure?
a. Arrays
b. Enumerated type values
c. Strings
d. Integers
Page 9 of 20
CLAD Sample Exam
30. How many bytes does LabVIEW write to the file when the code executes?
a. 9 Bytes
b. 11 Bytes
c. 13 Bytes
d. 17 Bytes
31. Why is the sequence local terminal displayed as unassigned in Frame 0 of the
stacked sequence structure?
a. The developer chose not to wire the value to any terminal in this frame
b. The value is available only to frames after frame 1
c. The data type of the terminal is incompatible with the data type of Value
d. The developer disabled the terminal
32. 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.
Page 10 of 20
CLAD Sample Exam
33. The data type of a Ring can be any of the allowable data types, whereas the numerical
representation of the data type of an Enum can only be of unsigned data type.
a. True
b. False
34. When the user clicks the Button control, how many times is the Increment function called?
a. 0
b. 1
c. 2
d. 3
35. Why is LabVIEW a data flow programming language?
a. It uses icons instead of text to create applications
b. The flow of data through nodes on the block diagram determines execution
c. It does not have a Goto function to control execution
d. The memory location in which data is stored changes each iteration
36. If the value in a is 2 and b is 128, what value does the Result indicator display after the VI
executes?
a. -128
b. 0
c. 255
d. 256
Page 11 of 20
CLAD Sample Exam
37. What VI is typically used to terminate an Error Cluster wire and to display any
error message?
a. Merge Errors
b. One Button Dialog/Two Button Dialog
c. Generate Front Panel Activity
d. Simple Error Handler
38. 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.
39. While the VI executes, the user presses and then releases Boolean Control with Switch Until
Released mechanical action. Assuming that the starting value of Boolean Control is FALSE,
what value does the Result indicator display after execution?
a. 0
b. 1
c. 2
d. 3
Page 12 of 20