Implementing & Documenting the Code
A) Front Panel Design
B) Data Types
C) Documenting Code
Sample Questions:
1) Which mechanical action of a Boolean would you use mimic a button on a windows dialog?
a) Switch Until Released
b) Switch when Released
d) Latch When Released
2) While the VI executes, the user presses and then releases Boolean Control with Switch Until Released mechanical action. Assuming that the starting value of Boolean Control is FALSE, what value does the Result indicator display after execution?
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image010.gif)
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image012.gif)
a) 0
b) 1
c) 2
d) 3
3) How many possible choices for the mechanical action of a Boolean control offered in LabVIEW?
a) 6
b) 4
c) 2
d) 1
4) Which mechanical action is the default for Booleans?
a) Switch When Pressed
b) Switch When Released
c) Switch Until Released
d) None of the above
5) Which mechanical action of a Boolean control similar to that of a ceiling light switch?
a) Switch When Pressed
b) Switch When Released
c) Switch Until Released
d) None of the above
6) Which mechanical action of the Boolean similar to what happens when you click on a check mark in a dialog box?
a) Switch When Pressed
b) Switch When Released
c) Switch Until Released
d) None of the above
7) Which mechanical action of the Boolean control similar to a door buzzer?
a) Switch When Pressed
b) Switch When Released
c) Switch Until Released
d) None of the above
8) Which mechanical action Shows the below figure?
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image014.gif)
a) Switch When Pressed
b) Switch When Released
c) Switch Until Released
d) None of the above
9) The below which figure indicated the Switch Until Released switch action?
a) %20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image014.gif)
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image014.gif)
b) %20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image016.gif)
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image016.gif)
c) %20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image018.gif)
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image018.gif)
d) %20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image020.gif)
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image020.gif)
10) Which is similar to the below Latch When Released action?
a) Switch When Pressed
b) Switch When Released
c) Switch Until Released
d) None of the above
11) Which of below is similar in functionality to a circuit breaker?
a) Latch When Pressed
b) Latch When Released
c) Latch Until Released
d) None of the above
12) Which action of Boolean control involves a somewhat permanent change?
a) Switching
b) Latching
c) Moving
d) Clicking
13) Which action of Boolean control changes the value of the control for a short period of time?
a) Switching
b) Latching
c) Moving
d) Clicking
14) The below statement which is correct for Behavior Explanation section of Boolean control?
a) M represents the motion of the mouse button when you operate the control, V represents the output value of the control, and RD represents the point in time the VI reads the control.
b) T represents the motion of the mouse button when you operate the control, V represents the output value of the control, and RP represents the point in time the VI reads the control.
c) S represents the motion of the mouse button when you operate the control, V represents the output value of the control, and RD represents the point in time the VI reads the control.
d) U represents the motion of the mouse button when you operate the control, M represents the output value of the control, and RS represents the point in time the VI reads the control.
15) You cannot use which mechanical action for Boolean objects with a local variable?
a) Any Latch action
b) Any Switch action
c) Only when Latch Pressed
d) Only when Switch pressed
16) Latch when release mechanical action of Boolean is similar to
a) Door Buzzer
b) Dialog box button
c) Circuit breaker
d) Ceiling light switch
17) You cannot programmatically read Boolean values that are set with a latching mechanical action.
a) True
b) False
18) LabVIEW offers how many possible choices for the mechanical action of a Boolean control.
a) 2
b) 4
c) 6
d) 1
19) which the default mechanical action of a Boolean control .
a) Switch when pressed
b) Switch when released
c) Switch until released
d) Latch until released
20) which mechanical action of a Boolean control is similar to that of a ceiling light switch.
a) Switch when pressed
b) Switch when released
c) Switch until released
d) Latch until released
21) which mechanical action of a Boolean control is similar to that mouse clicking on the radio button.
a) Switch when pressed
b) Switch when released
c) Switch until released
d) Latch until released
22) which mechanical action of a Boolean control is similar to door buzzer.
a) Switch when pressed
b) Switch when released
c) Switch until released
d) Latch until released
23) which mechanical action of a Boolean control is similar to circuit breaker.
a) Latch when pressed
b) Latch when released
c) Switch until released
d) Latch until released
24) to stop a While Loop when you press a stop button. Which mechanical action is required
a) Latch when pressed
b) Latch when released
c) Switch until released
d) Latch until released
25) Mechanical action of a Boolean control is similar to behavior of buttons in a dialog box.
a) Latch when pressed
b) Latch when released
c) Switch until released
d) Latch until released
26) Every control or indicator has a ________ associated with it.
a) Data type
b) Certain value
c) Input value
d) Output value
27) The numeric data type represents number of various types such as
a) Integer or real
b) String
c) Boolean
d) None of the above
28) The Boolean data type represents data that only have _______ parts
a) Two , TRUE or FALSE
b) One, TRUE
c) Three, TRUE or FALSE or IDLE
d) None of the above.
29) Example for Boolean objects in the Front panel.
a) LEDs , push buttons
b) X-Y Graph
c) Array
d) Cluster
30) The string data type is a sequence of ASCII Characters
a) Yes
b) No
31) Which items used to change the appearance or behavior of front panel and block diagram objects.
a) Controls
b) Indicators
c) shortcut menu
d) All of the above
32) To access the shortcut menu, _____click the object .
a) right
b) left
c) centre
d) None of the above
33) How to select any custom control type definition saved on a computer or shared directory on the server.
a) From the control palette , Click on the select a control…
b) From the tool palette, Click on the select a control…
c) Select control from the Shortcut menu
d) None of the above.
34) In the control palette , which category expanded default.
a) Modern
b) System
c) Classic
d) Express
35) Which you can use to change the look or behaviour of front panel objects?
a) Shortcut menu
b) property dialog boxes
c) Tools palette
d) None of the above
36) To access the property dialog box for an object, ________.
a) Right-click a front panel object and select Properties from the shortcut menu.
b) Left-click a front panel object and select Properties from the shortcut menu.
c) Right-click a Block diagram object and select Properties from the shortcut menu.
d) Left-click a Block diagram object and select Properties from the shortcut menu.
37) Front panel tollbar buttons to run and edit Vis
a) Yes
b) No
38) Which are used to transfer data among block diagram objects ?
a) Terminals
b) Wires
c) Nodes
d) All of the above
39) Which wire colour appears for the Boolean data type?
a) Red
b) Green
c) Yellow
d) Orange
40) Which wire colour appears for the String data type?
a) Pink
b) Green
c) Yellow
d) Red
41) Which wire colour appears for the integer data type?
a) Red
b) Yellow
c) Green
d) Blue
42) Which data type uses the orange Colour wires?
a) Floating point numbers
b) String
c) Boolean
d) None of the above
43) Function palette appears in the _____.
a) Front panel
b) Block diagram
c) Connector pane
d) None of the above
44) If the value in a is 2 and b is 128, what value does the Result indicator display after the VI executes?
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image022.gif)
a) -128
b) 0
c) 255
d) 256
45) What is the result in new string after the following code has executed?
%20Implemelnting%20&%20Doumenting%20the%20Code/Implemelnting%20&%20Doumenting%20the%20Code_files/image024.gif)
a) Hello to you!
b) Hello Wto you!
c) Hello to you!!
d) Helloto you!
46) 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
47) Floating-point operations return the following two symbolic values that indicate faulty computations or meaningless results.
a) 0 and 1
b) NaN and Inf
c) -1 and 0
d) None of the above
48) Example for undefined data.
a) dividing 1 by zero
b) dividing 0 by 1
c) dividing 1 by 1
d) None of the above
49) Undefined data NaN means.
a) Not a Numeric
b) Not a Number
c) Not a Name
d) None of the above
50) dividing 1 by zero produces a
a) 0
b) 1
c) Inf
d) NaN
51) square root of a negative number produces
a) 0
b) 1
c) Inf
d) NaN
52) 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
53) 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)
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.
54) Where can a VI be documented so that the description appears in the Show Context Help popup window?
a) In the VI Properties Documentation window
b) Typing the Show Context Help window
c) Creating a free label on the front panel
d) Editing the LabVIEW help files
No comments:
Post a Comment