clad sample exam paper – 9

1
How would you turn off the Debugging capabilities of a VI?
A
B
C
Make the VI a SubVI and then select Above Priority to automatically turn of debugging.
You cannot turn off debugging because it is an integral part of the LabVIEW environment.
Select VI Properties, and deselect Allow Debugging from the Execution sub-menu.
2 What is an advantage of using For Loops over While Loops when working with Arrays?
A
B
C
D
A For Loop can tell LabVIEW ahead of time how many elements to allocate in an output Array.
While Loops force LabVIEW to change the size of an output Array after every iteration of the loop.
Both A. and B.
None of the above.
3 Clusters provide a user with which of the following benefits?
A
B
C
D
E
Clusters group elements of mixed data types.
Clusters increase the number of Connector Pane terminals of SubVI's.
Clusters reduce wire clutter on the Block Diagram by bundling data elements together.
Both A. and B.
Both A. and C.
4 Which of the following only plots data in evenly distributed intervals along the x-axis?
A
B
C
D
E
Waveform Graph
Waveform Chart
XY Graph
Both A. and B.
Both B. and C.
5 The function of a Cluster is to:
A
B
present data on the Front Panel using charts or graphs.
provide a means of differentiating between data types on the Block Diagram.
C
D
separate data objects by data type on the Front Panel.
allow grouping of mixed data types into logical structures.
6 Which chart update mode compares old and new data separated by a moving vertical line (similar to
an EKG reading)?
A
B
C
D
Scope Chart
Step Chart
Strip Chart
Sweep Chart
7 What is the result in subarray after the following code has executed?
A
a 1-D Array of {2, 4, 6}
B
a 1-D Array of {8, 16, 32}
C
a 1-D Array of {6, 8, 10}
D
a 1-D Array of {4, 6, 8}
8 What are the results in max value and max index(es) respectively, after the following code has
executed?
A
B
C
D
7, 3
7, 4
1, 5
6, 0
9 Which of the graphs below matches the output in the Waveform Graph indicator after the following
code has executed?
A
B
C
D
10 What will happen when the following code executes?
A
B
C
D
The loop will continue iterating until the user presses the stop button.
The loop will execute 4 iterations and then stop if the user has not already pressed the stop button.
The loop will execute once and then stop.
None of the above.
11 Which of the following graphs matches the result in Array Graph after the following code has
executed?
A
B
C
D
12 Which answer matches the correct labels with their corresponding legend/palette on the following
Front Panel?
A
B
C
D
A - Cursor Legend; B - Graph Palette; C - Plot Legend; D - Scale Legend
A - Plot Legend; B - Graph Palette; C - Scale Legend; D - Cursor Legend
A - Plot Legend; B - Cursor Legend; C - Scale Legend; D - Graph Palette
A - Plot Legend; B - Scale Legend; C- Graph Palette; D - Cursor Legend
13 The DAQ Assistant can perform all of the following operations, EXCEPT:
A
B
C
D
Analog Input.
Arbitrary Waveform Generation.
Frequency Measurement.
Digital Input.
14 Comments should be added to the Block Diagram:
A
B
C
D
to describe unfamiliar functions.
to describe basic functions.
to describe every function.
comments are unnecessary as LabVIEW automatically adds them.
15 The Index Array function shown below:
A
B
C
D
returns the number of elements in each dimension of an Array.
may have a maximum of two index terminals.
returns a single element or sub-array of an n-dimensional Array starting at the specified index.
concatenates multiple Arrays or appends elements to an n-dimensional Array.
16 The main disadvantage(s) of using the VI architecture shown below is:
A
B
C
D
there is no way of shutting down the VI during execution.
you cannot use wires to pass data between case structures.
the block diagram can become very large and hard to read, edit, and debug.
All of the above
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
C
D
Both A. and B.
None of the above
18 Which of the following has a selector input terminal?
A
B
C
D
Event Structure
Case Structure
Formula Node
Sequence Structure
19 Which of the following statements is true regarding the figure below?
A
B
C
D
E
Auto-indexing is disabled.
Only the 10th value generated is passed out of the For Loop.
The output of the For Loop is a 1-D Array of 10 elements.
Both A. and B.
Both A. and C.
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?
A
B
C
D
Simple VI
General VI
State Machine
None of the above
21 What is the offset past match output node of Match Pattern VI?
A
B
C
D
Index of the next match relative to the previous match in input string if multiple matches exist
Index in input string of the first character of the after substring output node
Index in input string of the first character of the match substring output node
Index of the next match relative to the first character in input string if multiple matches exist
22 LabVIEW executes block diagram code based on what programming layout?
A
B
C
D
control flow, the sequential order of program elements determines the execution order of a program.
dataflow model, block diagram executes dependent on flow of data.
top to bottom, program executed starting at the top of the block diagram and moving downward.
left to right, program executed starting on the left and moving right on the block diagram.
23 What is the value in K after the following code has executed?
A
B
C
D
140
30
200
270
24 Where is the best place to adjust the gain for a DAQ channel?
A
B
C
D
Measurement and Automation Explorer (MAX)
the Gain input terminal of the DAQ Assistant
the Set Gain VI, located in the DAQmx palette
the Input Specifications when setting up the DAQ Assistant
25 All of the following statements regarding SubVIs are true, EXCEPT:
A
B
C
D
They require less memory.
They allow for easier debugging.
They allow you to use the same code for many future applications.
All of the above statements are true.
26 Which letter corresponds to the Probe tool in the figure below?
A
B
C
D
A
D
C
B
27 What is the value in XOR Result after the following code has executed?
A
B
C
D
False
True
1
0
28 What is the value in Result if the Formula Express VI is configured to execute the formula, W + X *
(Y - Z)?
A
B
C
D
20
22
34
52
29 Bold text in the Context Help window is used to represent terminal connections that are:
A
B
C
D
recommended
polymorphic
not used
required
30 To insert a SubVI into a top level VI, you must:
A
B
C
D
drag the SubVI icon onto the target Block Diagram.
navigate to Select a VI in the Functions Palette.
Both A. and B.
None of the above.
31 A Waveform Cluster contains each of the following elements:
A
B
C
D
t0, dt, Y.
X, Y, dt.
X, Y, t0.
None of the above.
32 A SubVI can hold up to how many terminals?
A
B
C
D
12
20
28
36
33 In the figure below, the value at H after the first iteration is:
A
B
3
1
C
D
2
4
34 To place an Express VI on the Block Diagram you would select it from the:
A
B
C
D
Functions Palette
Controls Palette
Icon Palette
Tools Palette
35 What VI is typically used to terminate an Error Cluster wire and to display any error message?
A
B
C
D
Generate Front Panel Activity
Merge Errors
Simple Error Handler
One Button Dialog/Two Button Dialog
36 Which of the following statements is true?
A
B
C
D
The default setting for a tunnel into or out of a For Loop has auto-indexing enabled if the data being
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
passed is an array.
Both A. and B.
None of the above.
37 What is the result in Array after the following code has executed?
A
a 1-D array of {3, 3, 4}
B
a 1-D array of {7, 3, 4}
C
a 1-D array of {5, 1, 7}
D
a 1-D array of {3, 5, 1}
38 Right clicking on the Block Diagram will cause which palette to display?
A
B
C
D
Controls Palette
Printing Palette
Functions Palette
Tools Palette
39 You can create a 2-D Array using any of the following methods, EXCEPT:
A
B
C
D
Right-click on an existing 1-D array on the Front Panel and select Add Dimension from the shortcut
menu.
Use two nested For Loops with auto-indexing enabled on both.
Use the Positioning Tool to resize the index display.
Place an Array on the Front Panel and drag another Array inside it.
40 What is the result in New String after the following code has executed?
A
HELLO WORLD!
B
C
D
hELLO wORLD!
HELLO WORLD1
Hello World!