The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: CLAD2017 - Friday Mind Bender - What is he thinking???

SercoSteveB
Active Participant

What are the contents of Numeric Array Out following execution of the VI?

 

Work through the VI yourself or expand the Spoiler tag to see the possible answers. 

Friday Mind Bender 08_12.png

 

Spoiler
Friday Mind Bender 08_12 Results.png

 

Comments
Tianming
Member

C

sumit04
Member

C

Best Regards
Sumit Memane
CLAD, CTD
kiranteja93
Member

c

Baltur
Member

C

Spoiler
I think the part with 'AND 1', 'Boolean Array to Number' and 'Logical Shift' is a big red herring and doesn't have to be calculated, because the 'AND 0' will always output a 0, meaning '=0 ?' will always be TRUE.
So the output of the FOR Loop will be {1, 3, 5, 7 } (upper shift register) and {2, 4, 6, 8} (lower shift register). From there it's an easy calculation for Numeric Array Out = {1, 1, 1, 1}
crossrulz
Knight of NI

C


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Matt-A.
Member

C

A.Bernau
Member

c

SercoSteveB
Active Participant

Answer: C.  Nice one all.

 

Not sure what I was thinking when I wrote this one, it is pretty random.

istan0227
Member

C