Professional Documents
Culture Documents
CLAD Sample Exam-1
CLAD Sample Exam-1
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 20
Page 2 of 20
2. Clicking on the _________ button allows you to bypass a node in the Block Diagram without single-stepping through the node. a. b. c. d. Step Into Step Over Step Out 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 contained in a SubVI will always cause the front panel to be loaded in memory. 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. b. c. d. The control's properties The control's methods The control's reference The control's data type
Page 3 of 20
a. b. c. d.
0 4 5 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
9. Which of the following does not conform to the Dataflow programming paradigm? a. b. c. d. Shift Registers Tunnels SubVIs Local variables
10. If possible, a Sequence structure should be replaced with a(n): a. b. c. d. Event structure For loop State machine While loop
11. Which of the following statements is TRUE about the following code segment?
a. b. c. d.
The loop will execute once and the indicator Iteration will have a value of one The loop will execute once and the indicator Iteration will have a value of zero The loop will execute infinitely and the program will have to be aborted The loop will not execute and the indicator Iteration will have a value of zero
Page 5 of 20
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. b. c. d. No, since the SubVI has Automatic Error Handling disabled Yes, since he SubVI has Automatic Error Handling disabled No, since the Error Out terminal from the subVI is not wired in the calling VI. 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. b. c. d. A SubVI connector pane defines where to wire inputs and outputs The color of a SubVI connector pane terminal matches the data type it is connected to You must have an icon/connector pane to use a SubVI A SubVI icon can be edited from the functions palette
15. Which of the following cannot be used to transfer data? a. b. c. d. Semaphores Queues Notifiers Local variables
Page 6 of 20
a. b. c. d.
1-D Array of {3, 3, 3, 3} 1-D Array of {4, 4, 4} 1-D Array of {3, 4} 1-D Array of {4, 3}
19. Which of the following will cause an event to be captured by the LabVIEW Event Structure? a. b. c. d. Changing a Front Panel controls Value via a mouse click on the control Changing a Front Panel controls Value property via a property node Changing a Front Panel controls Value via a control reference Changing a Front Panel controls Value via a local variable
20. Which variable is commonly used to eliminate race conditions by preventing simultaneous access to code or data? a. b. c. d. Functional global variable Local variable Global variable Shared variable
Page 7 of 20
a. b. c. d.
16 24 32 10
22. What is the result in subarray after the following code has executed?
a. b. c. d.
1-D Array of {8, 5, 7} 1-D Array of {10, 8, 5} 1-D Array of {10, 8, 5, 7} 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. b. c. d. Use the VI Properties Documentation window Type in the Show Context Help window Create a free label on the front panel 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
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. b. c. d. Notifier Queue Semaphore Local Variable
28. Which of the following statements is NOT valid: a. b. c. d. You can make a Cluster of Clusters. You can make an Array of Arrays. You can make a Cluster of Arrays. You can make an Array of Clusters.
29. Which data type is not accepted by the case selector terminal on a case structure? a. b. c. d. Arrays Enumerated type values Strings Integers
Page 9 of 20
a. b. c. d.
31. Why is the sequence local terminal displayed as unassigned in Frame 0 of the stacked sequence structure?
a. b. c. d.
The developer chose not to wire the value to any terminal in this frame The value is available only to frames after frame 1 The data type of the terminal is incompatible with the data type of Value The developer disabled the terminal
32. The Wait function can be added to While Loops: a. b. c. d. To free up available memory. To allocate memory used by the CPU. To allow the processor time to complete other tasks. To reserve which processor the code is running on.
Page 10 of 20
a. b. c. d.
0 1 2 3
35. Why is LabVIEW a data flow programming language? a. b. c. d. It uses icons instead of text to create applications The flow of data through nodes on the block diagram determines execution It does not have a Goto function to control execution 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. b. c. d.
Page 11 of 20
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. b. c. d.
0 1 2 3
Page 12 of 20
Page 13 of 20
Page 14 of 20
Page 15 of 20
Page 16 of 20
Page 17 of 20
Page 18 of 20
Page 19 of 20
Page 20 of 20