Professional Documents
Culture Documents
ni.com/trainin
Navigating LabVIEW
ni.com/trainin
Quiz
a) Front panel
b) Block diagram
c) Project
d) Icon/Connector pane
3 ni.com/trainin
3
Quiz Answer
a) Front panel
b) Block diagram
c) Project
d) Icon/Connector pane
4 ni.com/trainin
4
Quiz
5 ni.com/trainin
5
Quiz Answer
6 ni.com/trainin
6
Quiz
a) Virtual folder
b) Logical folder
c) Auto-updating folder
d) Auto-populating folder
7 ni.com/trainin
7
Quiz Answer
a) Virtual folder
b) Logical folder
c) Auto-updating folder
d) Auto-populating folder
8 ni.com/trainin
8
Quiz
a) String
b) Boolean
c) Integer Numeric
d) Floating-Point Numeric
9 ni.com/trainin
9
Quiz Answer
a) String
b) Boolean
c) Integer Numeric
d) Floating-Point
Numeric
10 ni.com/trainin
10
Quiz
a) Control
b) Constant
c) Indicator
d) Connector Pane
11
ni.com/trainin
Quiz Answer
a) Control
b) Constant
c) Indicator
d) Connector Pane
12
ni.com/trainin
Quiz
a) Add
b) Subtract
c) Unknown
ni.com/trainin
Quiz Answer
a) Add
b) Subtract
c) Unknown
ni.com/trainin
Quiz
a) Sine
b) Divide
c) Unknown
ni.com/trainin
Quiz Answer
a) Sine
b) Divide
c) Unknown
ni.com/trainin
Quiz
a) Random Number
b) Divide
c) Add
d) Unknown
17
17 ni.com/trainin
Quiz Answer
a) Random Number
b) Divide
c) Add
d) Unknown
18
18 ni.com/trainin
Quiz
a) Random Number
b) Subtract
c) Add
d) Unknown
ni.com/trainin
Quiz
a) Random Number
b) Subtract
c) Add
d) Unknown
ni.com/trainin
Quiz
a) 55
b) 70
c) 65
d) Indeterminate
ni.com/trainin
Quiz Answer
a) 55
b) 70
c) 65
d) Indeterminate
ni.com/trainin
Quiz
What is the value in XOR Result after the
following code has executed?
a) 0
b) 1
c) True
d) False
ni.com/trainin
Quiz Answer
What is the value in XOR Result after the
following code has executed?
a) 0
b) 1
c) True
d) False
ni.com/trainin
Quiz
ni.com/trainin
Quiz Answer
ni.com/trainin
Troubleshooting and Debugging
VIs
ni.com/trainin
Quiz
a) A subVI is broken.
b) The diagram includes a divide by zero.
c) A required subVI input is unwired.
d) A Boolean terminal is wired to a numeric
indicator.
28
ni.com/trainin
Quiz Answer
a) A subVI is broken.
b) The diagram includes a divide by zero.
c) A required subVI input is unwired.
d) A Boolean terminal is wired to a numeric
indicator.
29
ni.com/trainin
Quiz
30
ni.com/trainin
Quiz Answer
31
ni.com/trainin
Quiz
32
ni.com/trainin
Quiz Answer
33
ni.com/trainin
Quiz
34
ni.com/trainin
Quiz Answer
35
ni.com/trainin
Quiz
a) Status: Boolean
b) Error: String
c) Code: 32-bit integer
d) Source: String
36
ni.com/trainin
Quiz Answer
a) Status: Boolean
b) Error: String
c) Code: 32-bit integer
d) Source: String
37
ni.com/trainin
Quiz
a) True
b) False
38
ni.com/trainin
Quiz Answer
a) True
b) False
39
ni.com/trainin
Quiz
a) True
b) False
40
ni.com/trainin
Quiz Answer
a) True
b) False
41
ni.com/trainin
Implementing a VI
ni.com/trainin
Quiz
If an input to a function is marked with a red dot
(known as a coercion dot), what does the dot
indicate?
43
ni.com/trainin
Quiz Answer
If an input to a function is marked with a red dot
(known as a coercion dot), what does the dot
indicate?
44
ni.com/trainin
Quiz
a) While Loop
b) For Loop
45
ni.com/trainin
Quiz Answer
a) While Loop
b) For Loop
46
ni.com/trainin
Quiz
some code
Which of the following
statements is TRUE
about the following
code segment?
a) The loop will execute once and ‘Iteration’ will have a value of one
b) The loop will execute once and ‘Iteration’ will have a value of zero
c) The loop will execute infinitely and the program will have to be
aborted
d) The loop will not execute and ‘Iteration' will have a value of zero
47
ni.com/trainin
Quiz Answer
some code
Which of the following
statements is TRUE
about the following
code segment?
a) The loop will execute once and ‘Iteration’ will have a value of one
b) The loop will execute once and ‘Iteration’ will have a value of zero
c) The loop will execute infinitely and the program will have to be
aborted
d) The loop will not execute and ‘Iteration' will have a value of zero
48
ni.com/trainin
Quiz
Which data type is not accepted by the case
selector terminal on a Case structure?
a) Arrays
b) Enumerated type values
c) Strings
d) Integers
49
ni.com/trainin
Quiz
Which data type is not accepted by the case
selector terminal on a Case structure?
a) Arrays
b) Enumerated type values
c) Strings
d) Integers
50
ni.com/trainin
Data Structures
ni.com/trainin
Quiz
The most efficient method for creating an array is:
52
ni.com/trainin
52
Quiz Answer
The most efficient method for creating an array is:
53
ni.com/trainin
53
Quiz
In the figure below, the output of Array Size is:
a) 1D Array of {2, 3}
b) 1D Array of {3, 2}
c) 2
d) None of the above
54
ni.com/trainin
54
Quiz Answer
In the figure below, the output of Array Size is:
a) 1D Array of {2, 3}
b) 1D Array of {3, 2}
c) 2
d) None of the above
55
ni.com/trainin
55
Quiz
What value is displayed in Result when the code
executes?
56
ni.com/trainin
56
Quiz Answer
What value is displayed in Result when the code
executes?
57
ni.com/trainin
57
Quiz
You can create an array of arrays.
a) True
b) False
58
ni.com/trainin
58
Quiz Answer
You can create an array of arrays.
a) True
b) False
59
ni.com/trainin
59
Quiz
You can create:
60
ni.com/trainin
60
Quiz Answer
You can create:
61
ni.com/trainin
61
Quiz
What is the value of the Iterations indicator
after running this VI?
62
ni.com/trainin
62
Quiz Answer
What is the value of the Iterations indicator
after running this VI?
4
63
ni.com/trainin
63
Quiz
Which of the following custom control settings
defines the data type of all instances of a
control but allows for different colors and font
styles?
a) Control
b) Type definition
c) Strict type definition
d) Cluster control
64
ni.com/trainin
64
Quiz Answer
Which of the following custom control settings
defines the data type of all instances of a
control but allows for different colors and font
styles?
a) Control
b) Type definition
c) Strict type definition
d) Cluster control
65
ni.com/trainin
65
Quiz
You have input data representing a circle: X Position, Y
Position, and Radius. In the future, you might need to
modify your data to include the color of the circle.
What data structure should you use to represent the
circle in your application?
a) Three separate controls for the two positions and the
radius
b) A cluster containing all of the data
c) A custom control containing a cluster R
d) A type definition containing a cluster
(X,Y)
e) An array with three elements
66
ni.com/trainin
Quiz Answer
You have input data representing a circle: X Position, Y
Position, and Radius. In the future, you might need to
modify your data to include the color of the circle.
What data structure should you use to represent the
circle in your application?
a) Three separate controls for the two positions and the
radius
b) A cluster containing all of the data
c) A custom control containing a cluster R
d) A type definition containing a cluster
(X,Y)
e) An array with three elements
67
ni.com/trainin
Developing Modular
Applications
ni.com/trainin
Quiz
Which of the following statements is FALSE?
69
ni.com/trainin
69
Quiz
Which of the following statements is FALSE?
70
ni.com/trainin
70
Quiz
If an input name on the Show Context Help
window is in bold for a subVI, which of the
following conditions are true? (Multiple answers
may apply.)
ni.com/trainin
Quiz
Consider the following code. The resulting Log
File Path contains a text file path in which
folder?
a) Same folder as VI that executed the code.
b) Same folder as the LabVIEW project.
c) Current user’s AppData directory.
d) Same folder as the Application Directory VI.
ni.com/trainin
Quiz Answer
Consider the following code. The resulting Log
File Path contains a text file path in which
folder?
a) Same folder as VI that executed the code.
b) Same folder as the LabVIEW project.
c) Current user’s AppData directory.
d) Same folder as the Application Directory VI.
ni.com/trainin
Quiz
a) Tab-delimited ASCII
b) Custom binary format
c) TDMS
ni.com/trainin
Quiz Answer
a) Tab-delimited ASCII
b) Custom binary format
c) TDMS
ni.com/trainin
Quiz
a) File
b) Channel Group
c) Channel
d) Value
ni.com/trainin
Quiz Answer
a) File
b) Channel Group
c) Channel
d) Value
ni.com/trainin
Programming Designs
ni.com/trainin
Quiz
a) True
b) False
ni.com/trainin
Quiz Answer
a) True
b) False
ni.com/trainin
Quiz
a) 0
b) 100 ms
c) Never time out
d) The input value of the Wait (ms) function that
exists in the same loop as the Event
structure
ni.com/trainin
Quiz Answer
a) 0
b) 100 ms
c) Never time out
d) The input value of the Wait (ms) function that
exists in the same loop as the Event
structure
ni.com/trainin
Quiz
When using a Sequence structure, you can
stop the execution in the middle of a
sequence.
a) True
b) False
ni.com/trainin
Quiz Answer
When using a Sequence structure, you can
stop the execution in the middle of a
sequence.
a) True
b) False
ni.com/trainin
Quiz
Which of the following are benefits of using a
state machine instead of a sequential
structure?
ni.com/trainin
Quiz Answer
Which of the following are benefits of using a
state machine instead of a sequential
structure?
ni.com/trainin
Quiz
ni.com/trainin
Quiz Answer
ni.com/trainin
Quiz
ni.com/trainin
Quiz
ni.com/trainin
Quiz
a) String
b) Numeric
c) Enum
d) Array of Booleans
e) Cluster of a String and a Numeric
ni.com/trainin
Quiz Answer
a) String
b) Numeric
c) Enum
d) Array of Booleans
e) Cluster of a String and a Numeric
ni.com/trainin
Quiz
Match the following:
ni.com/trainin
Quiz Answer
Match the following:
ni.com/trainin
Variables
ni.com/trainin
Quiz
You should use variables in your VI whenever
possible.
a) True
b) False
ni.com/trainin
98
Quiz Answer
You should use variables in your VI whenever
possible.
a) True
b) False
ni.com/trainin
99
Quiz
When controlling resources, which
combination of writers and readers reduces
chance of race conditions?
ni.com/trainin
100
Quiz Answer
When controlling resources, which
combination of writers and readers reduces
chance of race conditions?
ni.com/trainin
101
Quiz
Which of the following buffer data?
a) Queues
b) Events
c) Local Variables
ni.com/trainin
Quiz Answer
Which of the following buffer data?
a) Queues
b) Events
c) Local Variables
ni.com/trainin