Q1: You must include the option to cancel when a user attempts to interactively close the front panel by
selecting File>>Close.Which Event case allows this functionality?
A
B
C
Q1: Which of the following user interface events will allow your code to respond before LabVIEW
performs the default action associated with that event?A
Mouse DownB
Panel ResizeC
Panel Close?D
Value ChangeQ2: The Trigger control is configured with a switching mechanical action. The VI's requirement is to
display a Count value that tracks the number of "value change" events, for changes to TRUE, that occur for the Trigger.Which of the code snippets meets that requirement when the VI is run?
A
C
D
Q3: What is the value in the Result indicator after the VI completes execution?
A
16B
24C
32Q4: Which of the following terminals cannot control how many times a For loop executes?
A
B
C
D
Q5: Which of the following statements is TRUE regarding the execution of the following code?
The loop will iterate:A
51 timesB
50 timesC
49 timesQ6: The VI is open and run twice without being closed or modified.
What value is displayed in the Value Out indicator after the second execution of the VI?
A
3B
4C
5D
6Q7: What value is displayed in the Numeric indicator after the VI executes?
A
0B
4C
5Q8: What value will be displayed in the Out indicator when this VI completes execution?
A
Case0B
Case1C
Case2D
Case3Q9: Which code snippet is functionally equivalent to this sequence structure?
A
B
C
Q10: The Wait function can be added to While Loops:
A
To free up available memoryB
To allocate memory used by the CPUC
To allow the processor time to complete other tasksD
To reserve which processor the code is running onQ11: While the VI executes, the user presses and then releases Boolean Control with Switch Until
Released mechanical action. The starting value of Boolean Control is FALSE,What value is displayed in the Result indicator after execution?
A
0B
1C
2Q12: What value is displayed in the X+Y indicator after the code completes execution?
A
B
C
Q13: Why does an error occur when the code executes?
A
File path not wired to the input of the Open/Create/Replace File functionB
File opened with the incorrect accessC
File reference not closedD
File data type is incorrectQ14: Which equation is equivalent to the code?
A
B
C
Q15: What value will be displayed in the Numeric indicator when the VI completes execution?
A
0B
1C
2D
4Q16: You are creating a SubVI by selecting a portion of code from an existing VI. The selection
contains an implicitly linked property node and an implicitly linked invoke node for two different front panel controls.
What new items are placed on the block diagram of the existing VI when the SubVI is created?
A
Local variables are added for property and invoke nodesB
Global variables are added for the property and invoke nodesC
Control references are added for the property and invoke nodesD
Control Terminals are added for the property and invoke nodesQ17: What is the best choice for the case selector input for a Functional Global Variable design pattern?
A
B
C
D
Q18: Which component is not required for a state machine?
A
Case StructureB
While LoopC
EnumQ19: What is the name of this common design pattern?
A
State MachineB
Producer Consumer (data)C
Producer Consumer (events)D
Queued Message HandlerQ20: The VI begins execution with the value of Numeric as 1. At the end of the 3th loop iteration (i=2),
the user changes the front panel control Numeric to value 4.What will be the final value of the front panel Numeric Indicator after the VI completes execution?
A
2B
4C
5Q21: What value is displayed in the Output indicator when the fifth iteration (i=4) of Loop 2 completes?
A
Element1B
Element2C
Element3Q22: What is the behavior when the code executes?
A
Loop 1 and Loop 2 run simultaneouslyB
Both loops run one time and stopC
Loop 2 runs after Loop 1 stopsD
Loop 1 runs forever and Loop 2 never runsQ23: What does this function do?
A
Buffers multiple notifications to be read by a Wait on Notification functionB
Sends a notification to be read by Wait on Notification functionsC
Enqueues notifications in the Notifier QueueQ24: What is the purpose of these block diagram toolbar buttons?
A
To display the data flowing through wires as the VI runsB
To step through the block diagram when execution is pausedC
To start or skip SubVIsD
To run the VI in continuous or single run mode.Q25: When using single step debugging with a SubVI which of the following is not possible?
A
Step Into ( ) while the execution flow is paused on the SubVI iconB
Step Out ( ) while the execution flow is paused on a node inside the block diagram of the SubVI.C
Finish VI ( ) while the execution flow is paused on the block diagram of the SubVID
Finish Block Diagram ( ) while the execution flow is paused on a node inside the SubVIQ26: What value will be displayed in the Output indicator when the VI completes execution?
A
5B
7C
12D
IndeterminantQ27: Which Mechanical Action changes a Boolean when the button is pressed and returns it to its
default value after LabVIEW reads the value?A
Latch when pressedB
Switch when releasedC
Switch until releasedD
Latch when releasedQ28: Which of the following statements is TRUE about Numeric Array?
A
It is an indicatorB
It contains exactly 10 elementsC
It contains exactly 12 elementsD
It contains exactly 8 elementsQ29: Which of the following statements is true?
A
The output of the divide function will be a U64B
The output of the divide function will be a U32C
The output of the divide function will be a SGLD
A VI containing this diagram will have a broken run arrowQ30: What are the datatype and value at the output terminal of the Round Toward +Infinity function after
the VI completes execution?A
I32 with value -4B
I32 with value -3C
DBL with value -4D
DBL with value -3Q31: The "start index (0)" input terminal of Search 1D Array is unwired.
What value is displayed in the index of element indicator after this code runs?A
0B
2C
3Q32: Which block diagram produces the result in the Waveform Graph?
A
C
Q33: What will be the value of the concatenated string indicator after the VI completes execution?
A
B
C
D
Q34: The VI begins execution with the values of X = 127 and Y = 1.
What value will be displayed in the X+Y indicator after the VI completes execution?
A
0B
128C
-128D
-127Q35: What string is displayed in the Result indicator after the VI completes execution?
A
123B
0123C
1.00 2.00 3.00D
0.001.002.003.00Q36: What VI or function is typically used to display an error dialogue?
A
Merge Errors functionB
One Button Dialog functionC
Generate Front Panel Activity functionD
Simple Error Handler.viQ37: A VI takes an input error cluster. If the cluster contains an error or a warning with code = 1 or code
= 2, the VI should clear the error or warning.Which diagram implements this functionality?
A
B
C
Q38: The following VI has two parallel While Loops, and runs for 11 ms.
What color is the Stop Boolean when the VI completes execution?A
BlueB
GreenC
Both colors will be presentD
IndeterminateQ39: Which do you use to initialize all front panel objects to their default values?
A
Application ReferenceB
Invoke NodeC
User interface eventD
User eventQ40: What results from dragging a Numeric Control into a Control Refnum on the front panel?
A
An error is returned if the control is not initializedB
The Control takes on only generic propertiesC
The Control Refnum changes into that controlD
The Control Refnum becomes strictly typedQ2: You must generate code that responds to multiple value change events using a Boolean control
while maintaining a latching mechanical action.Which programming step is NOT required?
A
Including or reading the Boolean control terminal in a loopB
Including the Event Structure within a loopC
Configuring a Timeout case within the Event StructureD
Configuring a Value Change event case for the Boolean controlQ3: What value is displayed in the Value Out indicator after the VI completes execution?
A
0B
4C
5D
6Q4: How many errors does LabVIEW display at the end of execution?
A
No ErrorsB
One ErrorC
Two ErrorsD
Three ErrorsQ5: You have been asked to write a VI called CLAD505 that will generate a path to test.txt. This txt file
is in a folder called CLAD505_Support, and the folder is next to your VI. The VI must run on multiple platforms (Windows, Linux, etc.).Which diagram best illustrates how you should write the VI?
A
B
C
Q6: 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 oneB
The loop will execute once and the indicator Iteration will have a value of zeroC
The loop will execute continuously and the program will have to be abortedD
The loop will not execute and the indicator Iteration will have a value of zeroQ7: Why is a shift register used for the file refnum input on the For Loop?
A
If the Values to Write to File array is empty, the For Loop will run zero times, but the refnum value will be passed through to the shift register outputB
The Write to Text File function modifies the value of the refnum on each For Loop iterationC
It is the only way to prevent the For Loop from building an array at the refnum output terminalD
No reason. A regular tunnel would provide identical functionality to the shift registerQ8: The following SubVI is loaded into memory and then run. At some later time it is still in memory and
is run a second time.What is the value is displayed in the Sum indicator when the SubVI completes execution the second time it is run?
A
5B
10C
There is no way to knowD
0Q9: Which of the following is FALSE about File I/O using binary or TDMS file formats?
A
Binary files can accept any LabVIEW data typeB
TDMS can accept any LabVIEW data typeC
TDMS is generally faster in writing than binaryD
Binary file I/O can be used by all versions of LabVIEWQ10: How does a producer consumer design pattern process excessive amounts of data?
A
Using a single element queue the Producer Consumer processes only current data.B
Using a queue for storage the Consumer loop processes all data when it has time.C
The Producer loop will slow its cycle time to allow the consumer loop to catch up.D
The consumer loop will increase its processing time to match the producer loop.Q11: Unlike graphs, which display an entire waveform that ________ the data already displayed, charts
update periodically and __________ the data previously displayed.A
Maintains a history of; overwriteB
Overwrites; maintain a history ofC
Appends to; overwriteQ12: What value is displayed in the Result indicator after the VI completes execution?
A
3B
2C
1Q13: After the VI starts running, the user clicks the "Event1" button twice. The event structure has no
other event cases.What will be displayed in the "Time 1" indicator when the VI stops executing?
A
0B
1C
2Q14:
You have written a LabVIEW VI with three parallel code paths. All three error cluster wires are wired into a Merge Errors function.What error is reported to the user?
A
Error 1014, because Merge Errors outputs the first error to occur chronologicallyB
Error 7, because Merge Errors outputs the first error wired in to it from the top downC
Error 1, because Merge Errors outputs the most significant error of the errors wired in to itD
All three errors are reported, because Merge Errors concatenates the errors into a single errormessage to display to the user
Q15: Which timing function can result in logic errors when it rolls over to zero?
A
B
C
Q16: You select "Create SubVI" from LabVIEW's Edit menu with the code below selected.
What will the resulting block diagram look like?
A
B
C
Q17: What value will be displayed in the subarray indicator after the following code has executed?
A
B
C
D
Q18: Which of the following statements is NOT valid?
A
You can make a Cluster of ClustersB
You can make an Array of ArraysC
You can make a Cluster of ArraysD
You can make an Array of ClustersQ19: Which of the following cannot be used to transfer data between two parallel loops?
A
WiresB
QueuesC
NotifiersD
Local variablesQ20: The time out input terminal of the Dequeue Element function is wired with the value 1.
While the VI is running, how long does this Dequeue Element function wait to receive data?
A
1 millisecondB
1 secondC
IndefinitelyD
It does not wait. It returns immediatelyQ21: What does this function do?
A
Transfers the queue reference to other callersB
Sorts all queue elements in order and returns them as an arrayC
Clears all elements from the queueD
Removes one reference to the queue and returns any remaining elementsQ22: When a VI is paused, clicking on the _________ button allows you to bypass a node in the Block
Diagram without single-stepping through the node.A
Step IntoB
Step OverC
Step OutD
Step ThroughQ23: Which is a native debugging feature in LabVIEW?
A
Step BackB
Step OverC
Step AroundD
Step AboveQ24: Which data type is not accepted by the case selector terminal on a case structure?
A
ArraysB
Enumerated type valuesC
StringsD
IntegersQ25: Which statement about sequence structures is FALSE?
A
Sequence structures support parallel operations within frames.B
Terminating the execution of a sequence structure before the entire sequence is completed is not possible without aborting.C
Sequence structures execute frames in a sequential order.D
Sequence structures stop when an error is detected.Q26: Which equation is equivalent to the code?
A
B
C
D
Q27: When clicking a broken run arrow, the Error list window shows all of the following EXCEPT:
A
Items with errorsB
Errors and warningsC
Details about the warningsD
Error CodesQ28: How do you document a VI so that the description appears in the Show Context Help popup
window?A
Use the VI Properties Documentation windowB
Type in the Show Context Help windowC
Create a free label on the front panelD
Edit the LabVIEW help filesQ29: What is the output of the Initialize Array function after the following code has completed execution?
A
B
C
Q30: How many bytes does LabVIEW write to the file when the code executes?
A
5 BytesB
6 BytesC
12 BytesD
14 BytesQ31: The value in Control a is 2 and in Control b is 128.
What value does the Result indicator display after the VI executes?
A
-128B
0C
255Q32: A SubVI is created by selecting the code from a block diagram.
How many terminals will the SubVI have?A
3B
4C
5D
6Q33: What is the red dot called?
A
Coercion DotB
Data truncation DotC
Data typecast DotD
Buffer allocation DotQ34: What do coercion dots indicate?
A
Incompatible data typesB
A mathematical operation will be performed on the dataC
The input data will be copied and converted to a different data typeD
The location where an error will occurQ35: What settings should be selected for a custom control so that all copies of the control are of the
same data type yet have the flexibility to use different colors and styles?A
ControlB
Type Def.C
Strict Type Def.D
Flex Def.Q36: In a Simple State Machine design pattern, which of the following stores the state information?
A
Shift RegisterB
QueueC
NotifierQ37: You are required to use the Get Date/Time in Seconds function for timing in a state machine. The
state machine has an acquire state and must acquire for 5 seconds. If the hardware fails duringacquisition the state machine must be able to transition to the stop state.
Which of the following design patterns will provide timing for a state machine and allow responsiveness to acquire state requirements?