NI LabVIEW Quiz Challenge
Our monthly quiz question
Our monthly quiz question
“It’s okay to have fun”. A phrase that was used in the past to promote LabVIEW. And many programmers will agree with this, it is fun to program in LabVIEW.
For this edition we asked Dries Crouwels from Indusol to create a question.
Want to win a gift? Answer this question:
What is the outcome of the indicator sum?
For the previous edition we asked Natan Biesmans from QPlox Engineering http://www.qplox.com/ to create a question. (PS: Natan did create a GPU toolkit for LabVIEW, see https://g2cpu.com/)
This was the question:
Please put the following code in order of performance. It’s a massive operation where the art of high performance programming becomes important. Now the question: which one is the fastest, which one is second and which third? Would be nice if you could also mention the different magnitudes in timing.
The right answer is: 3, 1 ,2. The double floating point (64 bit) will take ~twice as long as the single floating point (32 bit), which in turn will take ~four times as long as the 8 bit integer.
Here are the winners:
They have received the gift.
Do you want to challenge the Newsletter readers? Send your question to ni@cnrood.com and who knows, we might use it. Let’s have some fun!