Assuming Numeric Value In is set to 1. Which of the following VIs results in Numeric Value Out = 1?
NOTE: More than one answer may apply.
The right answers are A and C, and here is the explanation of every case:
A & C
A & C
(Rotate Left With Carry Function - http://zone.ni.com/reference/en-XX/help/371361P-01/glang/rotate_left_with_carry/)
(Default Value for Boolean is False http://zone.ni.com/reference/en-XX/help/371361P-01/lvconcepts/block_diagram_objects/)
In the given answers the shift register only can hold the 1 for the Output.
B is wrong because carry input always false
D is wrong and to make it work correct you would have to reverse the array. (Number to boolean array function makes the least significant bit of the input the first (0th) element of the output.)
Agreed A & C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.