LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MY puzzle of CLAD question

I have got a big headache for the questions in my attached file, who could give me the right answer for each one?

 

Thanks,

0 Kudos
Message 1 of 29
(4,720 Views)
Hi Nikko,

I never made the CLAD, but if we give you the answers right here NI has to make new questions for other participants everytime Smiley Wink

And some of those questions are (kind of) stupid, as they are contrary to common/recommended programming style Smiley Sad
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 29
(4,704 Views)

NI keep on changing its questions for CLAD, So there is no harm in answering these questions.

With my best knowledge answers are:

DBCADABDDC

0 Kudos
Message 3 of 29
(4,701 Views)
Hi Dev_777,

I have problems with those questions:
Q6: What kind of efficiency? CPU efficient or memory efficient? I would prefer answer C for a small amount of data as working on an array of data is faster in LabView than processing single values in a loop...
Q10: Flat sequences behave different to stacked ones, so the 'best performance' can be reached by using flat sequences - answer B. I still would prefer a (new) answer 😧 avoid sequences at all...


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 29
(4,699 Views)
Hi

Q6: I don't think C is a good answer here as it first creates a DBL array and then converts it to a SGL array. This is definitely inefficient in terms of memory usage. About speed I'm not sure, but anyway I'd choose answer A.
Q3: Probably Dev_777 misunderstood the question, but XY Graphs support non-evenly distributed intervals. I'd choose answer D.

Regards,
Daniel



0 Kudos
Message 5 of 29
(4,693 Views)
For Q6, I agreed with GerdW ;
but for Q10, once an NI engineer told me, as the title is concerned with "best performance", both are the same.(But I'm not quite sure.)
0 Kudos
Message 6 of 29
(4,687 Views)
Thanks for all of u, only 10 questions, but many different answers:)
Thus why I'm so puzzled.
Message 7 of 29
(4,684 Views)
Hi Nikko,

for Q10:
When the inputs to the flat sequence are NOT connected on the first frame then the sequence will start before the data for following frames are ready. IMHO this will give better performance Smiley Wink
Also the question says 'sequence of calculations': for a sequence of calculations you don't need a sequence structure. Either the calculations have data dependency (use wires instead) or they don't have dependencies (no need for a sequence structure).
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 29
(4,676 Views)
#7 (Q30) Be careful about this one. The answer they want is "(B) a warning". This is alluding to an NI convention that is not followed as a rule everywhere and may not be generally known, unless you probably went through their courses. I, for one, don't agree with this convention. Note: I did not intend to hijack this thread. Im' simply pointing out that a lot of CLAD questions are based on content that's discussed in the NI courses, and in the rest of the world sometimes things work differently.
Message 9 of 29
(4,655 Views)
I took the CLAD and somehow passed.  NI needs to rethink the entire exam.  It is based on ambiguous questions that can have different answers in different situations.  Of course they will argue that only one is right, but even NI has not seen every situation out there.  Why don't they just test your knowledge with straigth forward questions that have clear cut answers?
- tbob

Inventor of the WORM Global
Message 10 of 29
(4,618 Views)