You are on page 1of 15

1 How would you turn off the Debugging capabilities of a VI?

Make the VI a SubVI and then select Above Priority to automatically turn of debugging.
A
You cannot turn off debugging because it is an integral part of the LabVIEW environment.
B
Select VI Properties, and deselect Allow Debugging from the Execution sub-menu.
C

2 What is an advantage of using For Loops over While Loops when working with Arrays?

A For Loop can tell LabVIEW ahead of time how many elements to allocate in an output Array.
A
While Loops force LabVIEW to change the size of an output Array after every iteration of the loop.
B
Both A. and B.
C
None of the above.
D

3 Clusters provide a user with which of the following benefits?

Clusters group elements of mixed data types.


A
Clusters increase the number of Connector Pane terminals of SubVI's.
B
Clusters reduce wire clutter on the Block Diagram by bundling data elements together.
C
Both A. and B.
D
Both A. and C.
E

4 Which of the following only plots data in evenly distributed intervals along the x-axis?

Waveform Graph
A
Waveform Chart
B
XY Graph
C
Both A. and B.
D
Both B. and C.
E

5 The function of a Cluster is to:

present data on the Front Panel using charts or graphs.


A
provide a means of differentiating between data types on the Block Diagram.
B
separate data objects by data type on the Front Panel.
C
allow grouping of mixed data types into logical structures.
D

6 Which chart update mode compares old and new data separated by a moving vertical line (similar to
an EKG reading)?

Scope Chart
A
Step Chart
B
Strip Chart
C
Sweep Chart
D

7 What is the result in subarray after the following code has executed?

a 1-D Array of {2, 4, 6}


A
a 1-D Array of {8, 16, 32}
B
a 1-D Array of {6, 8, 10}
C
a 1-D Array of {4, 6, 8}
D

8 What are the results in max value and max index(es) respectively, after the following code has
executed?
7, 3
A
7, 4
B
1, 5
C
6, 0
D

9 Which of the graphs below matches the output in the Waveform Graph indicator after the following
code has executed?
A

C
D

10 What will happen when the following code executes?

The loop will continue iterating until the user presses the stop button.
A
The loop will execute 4 iterations and then stop if the user has not already pressed the stop button.
B
The loop will execute once and then stop.
C
None of the above.
D

11 Which of the following graphs matches the result in Array Graph after the following code has
executed?
A

C
D

12 Which answer matches the correct labels with their corresponding legend/palette on the following
Front Panel?

A - Cursor Legend; B - Graph Palette; C - Plot Legend; D - Scale Legend


A
A - Plot Legend; B - Graph Palette; C - Scale Legend; D - Cursor Legend
B
A - Plot Legend; B - Cursor Legend; C - Scale Legend; D - Graph Palette
C
A - Plot Legend; B - Scale Legend; C- Graph Palette; D - Cursor Legend
D

13 The DAQ Assistant can perform all of the following operations, EXCEPT:
Analog Input.
A
Arbitrary Waveform Generation.
B
Frequency Measurement.
C
Digital Input.
D

14 Comments should be added to the Block Diagram:

to describe unfamiliar functions.


A
to describe basic functions.
B
to describe every function.
C
comments are unnecessary as LabVIEW automatically adds them.
D

15 The Index Array function shown below:

returns the number of elements in each dimension of an Array.


A
may have a maximum of two index terminals.
B
returns a single element or sub-array of an n-dimensional Array starting at the specified index.
C
concatenates multiple Arrays or appends elements to an n-dimensional Array.
D

16 The main disadvantage(s) of using the VI architecture shown below is:


there is no way of shutting down the VI during execution.
A
you cannot use wires to pass data between case structures.
B
the block diagram can become very large and hard to read, edit, and debug.
C
All of the above
D

17 A While Loop stops iterating when:

A a true value is present at the conditional terminal and the conditional terminal is

B a false value is present at the conditional terminal and the conditional terminal is
Both A. and B.
C
None of the above
D

18 Which of the following has a selector input terminal?

Event Structure
A
Case Structure
B
Formula Node
C
Sequence Structure
D

19 Which of the following statements is true regarding the figure below?

Auto-indexing is disabled.
A
Only the 10th value generated is passed out of the For Loop.
B
The output of the For Loop is a 1-D Array of 10 elements.
C
Both A. and B.
D
Both A. and C.
E
20 Which type of VI is best for saving code that performs a function (i.e. calculation, conversion,
modification of data) as a SubVI for use in larger applications?

Simple VI
A
General VI
B
State Machine
C
None of the above
D

21 What is the offset past match output node of Match Pattern VI?

Index of the next match relative to the previous match in input string if multiple matches exist
A
Index in input string of the first character of the after substring output node
B
Index in input string of the first character of the match substring output node
C
Index of the next match relative to the first character in input string if multiple matches exist
D

22 LabVIEW executes block diagram code based on what programming layout?

control flow, the sequential order of program elements determines the execution order of a program.
A
dataflow model, block diagram executes dependent on flow of data.
B
top to bottom, program executed starting at the top of the block diagram and moving downward.
C
left to right, program executed starting on the left and moving right on the block diagram.
D

23 What is the value in K after the following code has executed?

140
A
30
B
200
C
270
D
24 Where is the best place to adjust the gain for a DAQ channel?

Measurement and Automation Explorer (MAX)


A
the Gain input terminal of the DAQ Assistant
B
the Set Gain VI, located in the DAQmx palette
C
the Input Specifications when setting up the DAQ Assistant
D

25 All of the following statements regarding SubVIs are true, EXCEPT:

They require less memory.


A
They allow for easier debugging.
B
They allow you to use the same code for many future applications.
C
All of the above statements are true.
D

26 Which letter corresponds to the Probe tool in the figure below?

A
A
D
B
C
C
B
D

27 What is the value in XOR Result after the following code has executed?
False
A
True
B
1
C
0
D

28 What is the value in Result if the Formula Express VI is configured to execute the formula, W + X *
(Y - Z)?

20
A
22
B
34
C
52
D

29 Bold text in the Context Help window is used to represent terminal connections that are:

recommended
A
polymorphic
B
not used
C
required
D

30 To insert a SubVI into a top level VI, you must:

drag the SubVI icon onto the target Block Diagram.


A
navigate to Select a VI in the Functions Palette.
B
Both A. and B.
C
None of the above.
D

31 A Waveform Cluster contains each of the following elements:

t0, dt, Y.
A
X, Y, dt.
B
X, Y, t0.
C
None of the above.
D

32 A SubVI can hold up to how many terminals?

12
A
20
B
28
C
36
D

33 In the figure below, the value at H after the first iteration is:

3
A
1
B
2
C
4
D

34 To place an Express VI on the Block Diagram you would select it from the:

Functions Palette
A
Controls Palette
B
Icon Palette
C
Tools Palette
D

35 What VI is typically used to terminate an Error Cluster wire and to display any error message?

Generate Front Panel Activity


A
Merge Errors
B
Simple Error Handler
C
One Button Dialog/Two Button Dialog
D

36 Which of the following statements is true?

The default setting for a tunnel into or out of a For Loop has auto-indexing enabled if the data being
A passed is an array.
The default setting for a tunnel into or out of a While Loop has auto-indexing disabled if the data being
B passed is an array.
Both A. and B.
C
None of the above.
D

37 What is the result in Array after the following code has executed?
a 1-D array of {3, 3, 4}
A
a 1-D array of {7, 3, 4}
B
a 1-D array of {5, 1, 7}
C
a 1-D array of {3, 5, 1}
D

38 Right clicking on the Block Diagram will cause which palette to display?

Controls Palette
A
Printing Palette
B
Functions Palette
C
Tools Palette
D

39 You can create a 2-D Array using any of the following methods, EXCEPT:

Right-click on an existing 1-D array on the Front Panel and select Add Dimension from the shortcut
A menu.
Use two nested For Loops with auto-indexing enabled on both.
B
Use the Positioning Tool to resize the index display.
C
Place an Array on the Front Panel and drag another Array inside it.
D

40 What is the result in New String after the following code has executed?

HELLO WORLD!
A
hELLO wORLD!
B
HELLO WORLD1
C
Hello World!
D

You might also like