National_Instruments
CLAD · Question #117
If the input to a is 2 and b is 128, what value does the Result indicator display after the VI executes? Image description: A LabVIEW block diagram with two numeric inputs 'a' (value 2) and 'b'…
The correct answer is B. 0. You've hit your limit · resets 12:50am (America/New_York)
Data Types and Structures
Question
If the input to a is 2 and b is 128, what value does the Result indicator display after the VI executes?
Image description: A LabVIEW block diagram with two numeric inputs 'a' (value 2) and 'b' (value 128). 'a' is connected to an AND gate. 'b' is connected to a Right Shift (>>n) function with n=4. The output of the Right Shift function is also connected to the AND gate. The output of the AND gate goes to the 'Result' indicator.
Options
- A-128
- B0
- C255
- D256
How the community answered
(31 responses)- A6% (2)
- B61% (19)
- C23% (7)
- D10% (3)
Explanation
You've hit your limit · resets 12:50am (America/New_York)
Topics
#bitwise AND#right shift#binary arithmetic#numeric operations
Community Discussion
No community discussion yet for this question.