What are Numeric Value Out 1 and Numeric Value Out 2 following execution of the VI.
a) Numeric Value Out 1 = 0x468ACF12, Numeric Value Out 2 = 0x468ACF02
b) Numeric Value Out 1 = 0x2468ACF0, Numeric Value Out 2 = 0x2468ACF1
c) Numeric Value Out 1 = 0x0ECA8643, Numeric Value Out 2 = 0x0ECA8642
d) Numeric Value Out 1 = 0x2468ACF1, Numeric Value Out 2 = 0x2468ACF0
D i think
Answer is D.
I got the Answer D like this what is the problem here can any one tell me
Numaric value out 1 is 0x2468ACF0
Numaric value out 2 is 0x2468ACF1
answers is interchange
Question modified. Any better?
Another one of my favorite functions that people don't seem to know about.
Another one I used all the time when I wrote assembly, but not so much in any higher level language.
Answer: D. Nice one LordNobady, nmpundlik, RAMESHB, J-MACK, crossrulz, MrStevenUND, 2verb & Asha_Nagaraj
agreed D as well....
Question- do the bits get rotated left? Like shown here
Except for the fact that you get to specify what the carry input is.
Thank you for your answer. x12345678 is 10010001101000101011001111000. If I rotate each bit one bit to the left (from LSB to MSB), I should get 00100011010001010110011110001. The MSB was 1, it is now 0. Did I understand correctly?
I still prefer the term shift instead of rotate, rotate is misleading.
But LabVIEW help is quite clear (see link)
Please can any one explain it in detail that how these 0x2468ACF1 and 0x2468ACF0 answer came.
Look at the values in a binary format and it will become a lot more obvious (do make sure you are seeing all 32 bits). We are just shifting all of the bits to the left by one location and then specifying what value goes in the LSb (Least Significant Bit).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.