NI CLAD Practice Questions with Explanations

Free NI CLAD practice questions. 33 of them, each with the correct answer, a full explanation, and the reason every other option is wrong.

CLAD practice questions

Question 1

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
Show answer and explanation ▾

Correct answer: A

The VI Properties dialog has a Documentation page. Text entered there is what appears in the Context Help window when you hover over the VI.

Why the other options are wrong:

  • B. Context Help displays documentation, but you do not type the VI description into that window.
  • C. A free label on the front panel is just a note on the panel and does not feed Context Help.
  • D. The LabVIEW help files describe built-in functions, not your own VI.

Question 2

Can a wire be used to pass data between loops that are intended to run in parallel?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: B

A wire between two loops would make the second depend on data from the first, so the loops could not run in parallel. Parallel loops pass data by other means, such as queues or notifiers.

Why the other options are wrong:

  • A. Wiring between the loops creates a data dependency, which stops them from running truly in parallel.

Question 3

Which of the following describes a Tab Control?

  • A. A control that outputs ASCII values equal to the selected tab label
  • B. A type of enumerated control
  • C. A control that outputs a cluster of the controls / indicators on the tabs
  • D. A controls that outputs the tab order of the controls on the front panel
Show answer and explanation ▾

Correct answer: B

A tab control behaves like an enumerated control: its value is the number of the selected tab, which you can wire to a case structure or similar.

Why the other options are wrong:

  • A. It does not output ASCII values of the tab label.
  • C. A cluster is a different data type, and a tab control does not output the controls on its tabs.
  • D. It outputs the selected tab, not the tab order of the panel.

Question 4

What is an advantage of using a Strictly Typed VI ref num?

  • 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
Show answer and explanation ▾

Correct answer: A

A strictly typed VI reference carries the connector pane of its target, so the data types are known when the code is compiled and mismatches show up as broken wires.

Why the other options are wrong:

  • B. Passing different data types at run time is what a weakly typed reference allows.
  • C. Flattening data to a string is a separate technique and does not relate to VI reference type.
  • D. Loading dynamically called VIs at the start of execution is not what strict typing does.

Question 5

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
Show answer and explanation ▾

Correct answer: C

A coercion dot appears where LabVIEW converts a wire's data type to match the terminal it connects to. This conversion makes a copy of the data in a new buffer.

Why the other options are wrong:

  • A. Matching data types do not produce a coercion dot.
  • B. A polymorphic operation is not indicated by a coercion dot.
  • D. The dot is about type conversion, not out of range values.

Question 6

Which of the following can not be used to transfer data?

  • A. Semaphores
  • B. Queues
  • C. Notifiers
  • D. Local variables
Show answer and explanation ▾

Correct answer: A

A semaphore only limits how many tasks can access a shared resource at one time. It carries no data, so it synchronizes code without transferring any values.

Why the other options are wrong:

  • B. Queues pass data elements from one section of code to another.
  • C. Notifiers send a data value to any code waiting on the notification.
  • D. Local variables read and write the data of a front panel object from other places on the block diagram.

Question 7

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
Show answer and explanation ▾

Correct answer: A

An implicitly linked Property Node is created directly from the control and is already tied to it, so no reference wire is needed. It is the simplest way to change a property of a control on the same VI at run time.

Why the other options are wrong:

  • B. A control reference is meant for reaching a control from a SubVI and adds needless wiring inside the VI that owns the control.
  • C. Shared variables share data values between VIs and do not expose control properties.
  • D. A local variable reads or writes only the value of a control, not its properties.

Question 8

Formula nodes accept which of the following operations?

  • A. Basic programming language instructions Input and Print
  • B. Embedding of SubVIs within the Formula Node
  • C. Pre and post increment (++) and decrement (--) as in the C language
  • D. The use of nested Formula Node structures
Show answer and explanation ▾

Correct answer: C

The Formula Node uses a syntax similar to C and supports pre and post increment and decrement operators, along with assignments, conditionals and loops.

Why the other options are wrong:

  • A. The Formula Node has no input or print statements, because data enters and leaves through its input and output terminals.
  • B. SubVIs cannot be placed inside a Formula Node, which holds text expressions only.
  • D. Formula Nodes cannot be nested inside one another.

Question 9

Which of the following is the best method to update an indicator on the front panel?

  • A. Use a Value property node
  • B. Wire directly to the indicator terminal
  • C. Use a local variable
  • D. Use a functional global variable
Show answer and explanation ▾

Correct answer: B

Wiring directly to the indicator terminal is the fastest and most memory efficient way to update an indicator, and it keeps the block diagram within the dataflow model.

Why the other options are wrong:

  • A. A Value Property Node is much slower than a wire because each write is processed through the user interface.
  • C. A local variable makes an extra copy of the data and breaks dataflow, so it is not the best method.
  • D. A functional global variable stores data between calls and is not a way to update an indicator.

Question 10

Which of the following functions assembles Cluster elements by their owned labels?

  • A. Unbundle by Name
  • B. Unbundle
  • C. Bundle by Name
  • D. Bundle
Show answer and explanation ▾

Correct answer: C

Bundle by Name assembles or replaces cluster elements by referring to each element by its owned label, so the element order in the cluster does not have to be tracked.

Why the other options are wrong:

  • A. Unbundle by Name takes elements out of a cluster by name and does not assemble them.
  • B. Unbundle splits a cluster into its elements in cluster order.
  • D. Bundle assembles elements by cluster order, not by their labels.

Question 11

What is one disadvantage of using the State Machine VI architecture?

  • A. A State Machine can only traverse states in order
  • B. If two state changes occur at the same time, only the first state change will be handled and the second will be lost
  • C. The diagram becomes significantly larger when changing from a general architecture to a State Machine
  • D. State Machines cannot acquire data or use DAQ functions
Show answer and explanation ▾

Correct answer: B

A basic state machine passes only one next state value from iteration to iteration. If two state changes are requested at the same time, only one can be carried forward and the other is lost.

Why the other options are wrong:

  • A. A state machine can move to any state in any order, since each case selects the next state.
  • C. A state machine usually makes the diagram more compact and easier to maintain than a general architecture.
  • D. State machines can acquire data and call DAQ functions in any state.

Question 12

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
Show answer and explanation ▾

Correct answer: B

The conditional terminal of a While Loop accepts an error cluster directly. The loop then uses the status element of the cluster and stops as soon as an error occurs.

Why the other options are wrong:

  • A. Extra code to pull out the status and compare it is not the best method when the terminal accepts the error wire itself.
  • C. An Event structure responds to user interface and user events and is not the method for stopping a loop on an error.
  • D. An error handler VI reports errors to the user and does not by itself stop the loop.

Question 13

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
Show answer and explanation ▾

Correct answer: D

Latch When Released changes the Boolean value only when the mouse button is released inside the control, and the value resets after the VI reads it once. This is how buttons in Windows dialog boxes behave.

Why the other options are wrong:

  • A. Switch Until Released holds the new value only while the mouse button is held down.
  • B. Switch When Released keeps the new value until the user clicks again, like a toggle.
  • C. Latch Until Released changes the value on the press, not on the release as a dialog button does.

Question 14

Which combination of words correctly completes the following statement?

Unlike __________, which display an entire waveform that overwrites the data already stored, ___________ update periodically and maintain a history of the data previously stored.

  • A. Graphs; Charts
  • B. Charts; Plots
  • C. Plots; Graphs
  • D. C harts; Graphs
Show answer and explanation ▾

Correct answer: A

A waveform graph displays a complete set of data at once and overwrites what was shown before. A waveform chart appends new points to its display and keeps a history of earlier data in a buffer.

Why the other options are wrong:

  • B. Charts are the displays that keep a history, so they do not fit the first blank.
  • C. Graphs overwrite their data and do not maintain a history, so they do not fit the second blank.
  • D. This reverses the two terms, since charts keep history and graphs overwrite.

Question 15

In what instance would you use the Probe tool rather than Highlight Execution?

  • 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
Show answer and explanation ▾

Correct answer: B

A probe shows the value passing through a wire while the VI runs at normal speed. Highlight Execution animates the diagram and slows the VI down considerably.

Why the other options are wrong:

  • A. Showing the flow of data across the diagram is what Highlight Execution does.
  • C. Looking inside a SubVI while it runs is done by stepping into it, not with a probe on the calling diagram.
  • D. Slowing the VI and showing values moving along wires describes Highlight Execution.

Question 16

You customize a control, select Control from the Type Def. Status pull-down menu, and save the control as a .ctl file. You then use an instance of the custom control on your front panel window. If you open the .ctl file and modify the control, does the control on the front panel window change?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: B

A custom control saved with the Control status has no link to its .ctl file once placed. Each instance is an independent copy, so later edits to the file do not reach it. Only type definitions and strict type definitions update their instances.

Why the other options are wrong:

  • A. Instances update from the .ctl file only when it is saved as a type definition or strict type definition.

Question 17

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. Use the SubVI in a Sequence structure
  • B. Modify the SubVI to have dummy inputs that can be used from the calling VI
  • C. Modify the SubVI to have Error clusters that can be used from the calling VI
  • D. Modify the SubVI to have a global variable and use it from the calling VI
Show answer and explanation ▾

Correct answer: C

Adding error in and error out clusters gives the SubVI an input and output that can be wired in line with other nodes. The error wire then sets the execution order through dataflow and also carries error information.

Why the other options are wrong:

  • A. A Sequence structure forces order without dataflow and hides code, so it is not the best way.
  • B. Dummy inputs add terminals with no purpose and are not the recommended practice.
  • D. Global variables break the dataflow model and do not control when the SubVI executes.

Question 18

Which Chart update mode should be used to draw new data from left to right, then clear t he chart and draw new data again from left to right?

  • A. Strip Chart
  • B. Scope Chart
  • C. Sweep Chart
  • D. Step Chart
Show answer and explanation ▾

Correct answer: B

A scope chart plots data from left to right, and when the plot reaches the right border it clears the plot area and starts again from the left, like an oscilloscope.

Why the other options are wrong:

  • A. A strip chart scrolls continuously, with old data moving off the left as new data arrives on the right.
  • C. A sweep chart does not clear the plot area and instead moves a vertical line that separates old data from new.
  • D. Step chart is not one of the chart update modes.

Question 19

Which of the following illustrates an advantage of a global variable over a local variable?

  • A. A global variable can pass data between two independent VIs running simultaneously
  • B. Only the global variable can pass array data, local variables cannot
  • C. Global variables follow the dataflow model, and therefore cannot cause race conditions
  • D. Global variables do not require owned labels to operate
Show answer and explanation ▾

Correct answer: A

A global variable can be read and written from any VI in memory, so two independent VIs running at the same time can share data through it. A local variable works only inside the VI that owns the front panel object.

Why the other options are wrong:

  • B. Local variables can hold array data just as global variables can.
  • C. Global variables break the dataflow model and can cause race conditions.
  • D. Labels are not what separates the two, since both kinds of variable are identified by name.

Question 20

Which of the following will cause an event to be captured by the LabVIEW Event Structure?

  • A. Changing a value on a Front Panel control via a mouse click
  • B. Update of a Front Panel control using a property node
  • C. Programmatic update of a Front Panel control via a control reference
  • D. Using VI Server to update a Front Panel control
Show answer and explanation ▾

Correct answer: A

A Value Change event is generated when the user changes a control through the front panel, for example with a mouse click. Programmatic writes to a control value do not generate the event.

Why the other options are wrong:

  • B. Writing a control's Value property programmatically does not generate a Value Change event.
  • C. A programmatic update through a control reference is not a user action and does not generate the event.
  • D. Updating a control through VI Server is a programmatic change and does not generate the event.

Question 21

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

  • A. Shift Registers
  • B. Tunnels
  • C. SubVIs
  • D. Local Variables
Show answer and explanation ▾

Correct answer: D

Local variables read and write front panel data without a wire, so the order of access is not set by the flow of data. This breaks the dataflow model and can lead to race conditions.

Why the other options are wrong:

  • A. Shift registers pass data by wire from one loop iteration to the next, which follows dataflow.
  • B. Tunnels pass wired data into and out of structures, which follows dataflow.
  • C. SubVIs receive and return data through wired terminals, which follows dataflow.

Question 22

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. Data log
Show answer and explanation ▾

Correct answer: A

Tab-delimited ASCII text is human readable and opens directly in spreadsheet programs such as Microsoft Excel, with each tab starting a new column and each line a new row.

Why the other options are wrong:

  • B. A custom binary format can be read only by software written to match its layout.
  • C. TDM is an NI measurement data format that Excel does not open natively.
  • D. Datalog files store LabVIEW records in a binary form meant to be read back by LabVIEW.

Question 23

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 to use a SubVI
  • D. A SubVI icon can be edited from the functions palette
Show answer and explanation ▾

Correct answer: D

A SubVI icon is edited in the Icon Editor, which is opened from the icon in the upper right corner of the VI window. The Functions palette is used to place nodes on the block diagram, not to edit icons.

Why the other options are wrong:

  • A. This is true, since the connector pane assigns each input and output to a terminal position.
  • B. This is true, since each connector pane terminal takes the color of the data type assigned to it.
  • C. This is true, since a VI is called as a SubVI through its icon and connector pane.

Question 24

The most efficient method for creating an array is:

  • A. Using a For loop with Auto-indexing
  • B. Placing a build array function in a While loop
  • C. Initializing an array and then replacing elements in a While loop
  • D. Using a While loop with Auto-Indexing
Show answer and explanation ▾

Correct answer: A

A For Loop knows its iteration count before it starts, so with auto-indexing LabVIEW can allocate the memory for the output array once. No resizing is needed while the loop runs.

Why the other options are wrong:

  • B. Build Array inside a loop resizes the array on every iteration, which costs memory and time.
  • C. Initializing and then replacing elements in a While Loop takes more code and is not the most efficient way to create the array.
  • D. A While Loop cannot know the final size in advance, so the auto-indexed array has to be resized as it grows.

Question 25

Which of the following statements is true about the iteration terminal ?

  • A. It returns the number of times the loop has executed
  • B. It returns the number of times the loop has executed, plus one
  • C. It returns the number of times the loop has executed, minus one
  • D. It returns a constant number
Show answer and explanation ▾

Correct answer: C

The iteration terminal starts counting at zero, so during the first execution it returns 0. Its value is always the number of times the loop has executed, minus one.

Why the other options are wrong:

  • A. The count is zero based, so it is always one less than the number of executions.
  • B. The terminal never returns a value higher than the number of executions.
  • D. The value increases by one on every iteration, so it is not constant.

Question 26

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
Show answer and explanation ▾

Correct answer: B

A Case structure holds one case per state, and a new state is added simply by adding a case. Placed in a While Loop, it is the standard base for a scalable state machine.

Why the other options are wrong:

  • A. A Sequence structure runs its frames in a fixed order and cannot branch between states.
  • C. A Formula Node evaluates text based math and does not organize program states.
  • D. This is not a block diagram structure used as the base of a state machine.

Question 27

If an input name on the Show Context Help window is in bold for a SubVI, which of the following conditions are true? (Choose all apply)

  • A. Input values must be scalar.
  • B. An input is recommended, but not required.
  • C. An input is required.
  • D. A broken run arrow will result unless the input is wired.
Show answer and explanation ▾

Correct answer: C, D

The Context Help window shows required terminals in bold. A required input must be wired, and leaving it unwired breaks the calling VI, which shows a broken Run arrow.

Why the other options are wrong:

  • A. Bold text marks a terminal as required and says nothing about whether its data is scalar.
  • B. Recommended inputs appear in plain text, not bold.

Question 28

Which of the following apply to Property Nodes? (Choose all apply)

  • A. Property Nodes allow attributes of front panel objects to be programmatically manipulated.
  • B. Property Nodes can be used to u pdate 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.
Show answer and explanation ▾

Correct answer: A, B, C, D

Property Nodes read and write attributes of front panel objects programmatically, including the Value property, and any number of them can refer to the same object. A Property Node in a SubVI also forces that SubVI's front panel to load into memory.


Question 29

Which VI memory components are ALWAYS S resident for a SubVI? (Choose all apply)

  • A. Data Space
  • B. Front Panel
  • C. Block Diagram
  • D. Code
Show answer and explanation ▾

Correct answer: A, D

A VI has four memory components: front panel, block diagram, compiled code and data space. For a SubVI the compiled code and data space are always loaded, since both are needed to run it.

Why the other options are wrong:

  • B. The front panel of a SubVI is loaded only when it is needed, for example when it is opened.
  • C. The block diagram is loaded only when it is needed, for example when it is opened for editing.

Question 30

Which of the following statements regarding Array constants are NOT true?

  • A. When you create an Array constant on the block diagram, it is not visible on the Front Panel.
  • B. You cannot resize an Array constant to include more than one element.
  • C. You can copy or drag an existing Array on the Front Panel to the Block Diagram to create a constant of the same data type.
  • D. All array operations can be performed on an Array constant
Show answer and explanation ▾

Correct answer: B

An array constant can be resized on the block diagram to show and hold as many elements as needed, so the statement that it cannot include more than one element is the untrue one.

Why the other options are wrong:

  • A. This is true, since constants exist only on the block diagram.
  • C. This is true, since dragging or copying a front panel array to the block diagram creates a constant of the same data type.
  • D. This is true, since an array constant supplies ordinary array data that any array function accepts.

Question 31

The function of a Cluster is to:

  • A. Allow grouping of mixed data types into logical structures.
  • B. Present data on the Front Panel using charts or graphs.
  • C. Provide a means of differentiating between data types on the Block Diagram.
  • D. Separate data objects by data type on the Front Panel.
Show answer and explanation ▾

Correct answer: A

A cluster groups data elements of mixed types, such as a numeric, a Boolean and a string, into a single structure that travels on one wire.

Why the other options are wrong:

  • B. Presenting data as plots is the job of charts and graphs, not clusters.
  • C. Data types on the block diagram are told apart by wire and terminal color, not by clusters.
  • D. A cluster groups objects together and does not separate them by data type.

Question 32

Can Probes be attached to objects on the Front Panel?

  • A. Yes
  • B. No
Show answer and explanation ▾

Correct answer: B

Probes are placed on wires on the block diagram, where they show the data passing through as the VI runs. Front panel objects cannot be probed.

Why the other options are wrong:

  • A. Probes attach to block diagram wires, not to front panel objects.

Question 33

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
Show answer and explanation ▾

Correct answer: D

A front panel string can be shown in four display styles: Normal, '\' Codes, Password and Hex. All three listed options are available from the shortcut menu of the string.

Why the other options are wrong:

  • A. '\' Codes display is available, but it is only one of the listed styles that are all available, so it is incomplete on its own.
  • B. Password display is available, but it is only one of the listed styles that are all available, so it is incomplete on its own.
  • C. Hex display is available, but it is only one of the listed styles that are all available, so it is incomplete on its own.

That was 33 of 114.

The full NI CLAD pack has all 114 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. $39.00 USD, paid once, with free monthly updates and a pass-or-your-money-back guarantee.

Get the full pack

Not ready yet? Get the first 42 free as one PDF by email. Get the Half Pack →

About the CLAD exam

These 33 NI CLAD questions are free here. The free PDF has 42, free by email.

They are drawn from the same bank as the full CLAD pack, which has 114 questions in total.

Back to blog