CLAD 100questions, LabVIEW
[ Pobierz całość w formacie PDF ]
1) Which chart update mode compares old and new data separated by a moving vertical line (similar to an EKG
reading)?
A Sweep Chart
B Step Chart
C Strip Chart
D Scope Chart
2) All of the following statements are true, EXCEPT:
A You must have an icon/connector when using a SubVI.
B A SubVI icon can be edited from the Functions Palette.
C A SubVI's Connector Pane terminals have colors that correspond with the data types to which they are connected.
D A SubVI Connector Pane defines where to wire inputs and outputs.
3) How would you turn off the Debugging capabilities of a VI?
A Select VI Properties, and deselect Allow Debugging from the Execution sub-menu.
B Make the VI a SubVI and then select Above Priority to automatically turn of debugging.
C You cannot turn off debugging because it is an integral part of the LabVIEW environment.
4) What feature does LabVIEW include in order to allow a fast programming start from a common VI architecture?
A VI Guides
B VI Starters
C VI Templates
D VI Patterns
5) In the detailed context help window, a SubVI's terminals:
A appear in bold for required terminals.
B appear as plain text for optional terminals.
C appear dimmed for recommended terminals.
D All of the above.
6) The best method to pass data within the same VI is by using a:
A Wire
B Global variable
C Local variable
D All of the above are identical
7) How does changing a DAQ board from a 0-10 volt range to a -10 to 10 volt range, affect the minimum voltage
change that can be detected?
A The minimum voltage change that can be detected will be doubled.
B The minimum voltage change that can be detected will be split in half.
C The minimum voltage change that can be detected will depend inversely with the resolution of the board.
D There will be no effect on the minimum voltage change that can be detected.
11) Which of the following can contain a mixture of Controls and Indicators?
A Arrays
B Clusters
C Both A. and B.
D None of the above
12) You can document your LabVIEW programs by using all of the following methods, EXCEPT:
A Right-click on the Front Panel object and select Description and Tip.
B Double click on the SubVI icon, and select Documentation.
C Select VI Properties >> Documentation.
D Select the properties page of the Front Panel object.
13) In LabVIEW, you may print to all of the following, EXCEPT:
A Printer
B HTML
C Plain Text
D All of the above are possible printing options
14) Which DAQ board will allow for the detection of a 2.6 mV change in a signal if a 0-10 volt range was selected?
A 12-bit board
B 16-bit board
C Both A. and B.
D None of the above.
15) To insert a SubVI into a top level VI, you must:
A drag the SubVI icon onto the target Block Diagram.
B navigate to Select a VI in the Functions Palette.
C Both A. and B.
D None of the above.
16) What is one disadvantage of using the State Machine VI architecture?
A If two events occur at the same time, only the first event will be handled and the second will be lost.
B The diagram becomes significantly larger when changing from a General VI to a State Machine VI.
C State Machines cannot acquire data or use DAQ functions.
D A State Machine VI can only traverse states in order.
17) VI Templates reduce programming time by:
A providing a starting point for several common VI types.
B automatically generating code for the user.
C allowing the user to save portions of their own code for use in later applications.
D Both A. and B.
E Both A. and C.
19) LabVIEW executes block diagram code based on what programming layout?
A left to right, program executed starting on the left and moving right on the block diagram.
B dataflow model, block diagram executes dependent on flow of data.
C top to bottom, program executed starting at the top of the block diagram and moving downward.
D control flow, the sequential order of program elements determines the execution order of a program.
20) A SubVI can hold up to how many terminals?
A 12
B 20
C 28
D 36
21) To view an animation showing the movement of data in the Block Diagram while the program is running, click on
the _____ button.
A Abort Execution
B Highlight Execution
C Run
D Run Continuously
22) For a machine control application, the most appropriate choice for the mechanical action of a STOP button would
be:
a. Switch when pressed.
b. Latch when pressed.
c. Switch when released.
d. Latch when released.
e. Switch until released.,
23) For Windows based dialogs and UIs, the most appropriate choice for the mechanical action of a STOP button
would be:
a. Switch when pressed.
b. Latch when pressed.
c. Switch when released.
d. Latch when released.
e. Switch until released.
24)SubVI’scodewouldbeloadedinmemoryifithasbeensetuptoshowitsfrontpanelwhencalledandthemain
VI is opened.
a. True.
b. False.
25) Which of the following code snippets is more efficient in terms of memory usage?
26) If an array must be built dynamically in a For Loop, the most appropriate method is to:
a. Accumulate the array on a loop boundary in a shift register.
b. Dynamically resize the array on every loop iteration using array functions.
c. Accumulate the array (by auto-indexing) on the loop boundary in a tunnel.
d. Pre-allocate the array and populate it in the loop.
27) Two code segments in a VI each require the same two DAQ resources (resource A and resource B) to continue.
One acquires resource A, and the other acquires resource B, and they hold these resources waiting for the other to
become free. This situation is known as:
a. Thread starvation.
b. A memory leak.
c. Deadlock.
d. Priority inversion.
28) A single property node executes properties in:
a. Data flow order.
b. Top-down order.
c. Object-oriented order.
d. Bottom-up order .
29) Which of the following code snippets would execute faster?
[ Pobierz całość w formacie PDF ]
zanotowane.pl doc.pisz.pl pdf.pisz.pl lemansa.htw.pl
1) Which chart update mode compares old and new data separated by a moving vertical line (similar to an EKG
reading)?
A Sweep Chart
B Step Chart
C Strip Chart
D Scope Chart
2) All of the following statements are true, EXCEPT:
A You must have an icon/connector when using a SubVI.
B A SubVI icon can be edited from the Functions Palette.
C A SubVI's Connector Pane terminals have colors that correspond with the data types to which they are connected.
D A SubVI Connector Pane defines where to wire inputs and outputs.
3) How would you turn off the Debugging capabilities of a VI?
A Select VI Properties, and deselect Allow Debugging from the Execution sub-menu.
B Make the VI a SubVI and then select Above Priority to automatically turn of debugging.
C You cannot turn off debugging because it is an integral part of the LabVIEW environment.
4) What feature does LabVIEW include in order to allow a fast programming start from a common VI architecture?
A VI Guides
B VI Starters
C VI Templates
D VI Patterns
5) In the detailed context help window, a SubVI's terminals:
A appear in bold for required terminals.
B appear as plain text for optional terminals.
C appear dimmed for recommended terminals.
D All of the above.
6) The best method to pass data within the same VI is by using a:
A Wire
B Global variable
C Local variable
D All of the above are identical
7) How does changing a DAQ board from a 0-10 volt range to a -10 to 10 volt range, affect the minimum voltage
change that can be detected?
A The minimum voltage change that can be detected will be doubled.
B The minimum voltage change that can be detected will be split in half.
C The minimum voltage change that can be detected will depend inversely with the resolution of the board.
D There will be no effect on the minimum voltage change that can be detected.
11) Which of the following can contain a mixture of Controls and Indicators?
A Arrays
B Clusters
C Both A. and B.
D None of the above
12) You can document your LabVIEW programs by using all of the following methods, EXCEPT:
A Right-click on the Front Panel object and select Description and Tip.
B Double click on the SubVI icon, and select Documentation.
C Select VI Properties >> Documentation.
D Select the properties page of the Front Panel object.
13) In LabVIEW, you may print to all of the following, EXCEPT:
A Printer
B HTML
C Plain Text
D All of the above are possible printing options
14) Which DAQ board will allow for the detection of a 2.6 mV change in a signal if a 0-10 volt range was selected?
A 12-bit board
B 16-bit board
C Both A. and B.
D None of the above.
15) To insert a SubVI into a top level VI, you must:
A drag the SubVI icon onto the target Block Diagram.
B navigate to Select a VI in the Functions Palette.
C Both A. and B.
D None of the above.
16) What is one disadvantage of using the State Machine VI architecture?
A If two events occur at the same time, only the first event will be handled and the second will be lost.
B The diagram becomes significantly larger when changing from a General VI to a State Machine VI.
C State Machines cannot acquire data or use DAQ functions.
D A State Machine VI can only traverse states in order.
17) VI Templates reduce programming time by:
A providing a starting point for several common VI types.
B automatically generating code for the user.
C allowing the user to save portions of their own code for use in later applications.
D Both A. and B.
E Both A. and C.
19) LabVIEW executes block diagram code based on what programming layout?
A left to right, program executed starting on the left and moving right on the block diagram.
B dataflow model, block diagram executes dependent on flow of data.
C top to bottom, program executed starting at the top of the block diagram and moving downward.
D control flow, the sequential order of program elements determines the execution order of a program.
20) A SubVI can hold up to how many terminals?
A 12
B 20
C 28
D 36
21) To view an animation showing the movement of data in the Block Diagram while the program is running, click on
the _____ button.
A Abort Execution
B Highlight Execution
C Run
D Run Continuously
22) For a machine control application, the most appropriate choice for the mechanical action of a STOP button would
be:
a. Switch when pressed.
b. Latch when pressed.
c. Switch when released.
d. Latch when released.
e. Switch until released.,
23) For Windows based dialogs and UIs, the most appropriate choice for the mechanical action of a STOP button
would be:
a. Switch when pressed.
b. Latch when pressed.
c. Switch when released.
d. Latch when released.
e. Switch until released.
24)SubVI’scodewouldbeloadedinmemoryifithasbeensetuptoshowitsfrontpanelwhencalledandthemain
VI is opened.
a. True.
b. False.
25) Which of the following code snippets is more efficient in terms of memory usage?
26) If an array must be built dynamically in a For Loop, the most appropriate method is to:
a. Accumulate the array on a loop boundary in a shift register.
b. Dynamically resize the array on every loop iteration using array functions.
c. Accumulate the array (by auto-indexing) on the loop boundary in a tunnel.
d. Pre-allocate the array and populate it in the loop.
27) Two code segments in a VI each require the same two DAQ resources (resource A and resource B) to continue.
One acquires resource A, and the other acquires resource B, and they hold these resources waiting for the other to
become free. This situation is known as:
a. Thread starvation.
b. A memory leak.
c. Deadlock.
d. Priority inversion.
28) A single property node executes properties in:
a. Data flow order.
b. Top-down order.
c. Object-oriented order.
d. Bottom-up order .
29) Which of the following code snippets would execute faster?
[ Pobierz całość w formacie PDF ]