NI Home > Community > NI Discussion Forums

Certification

Reply
Trusted Enthusiast
RayFarmer
Posts: 4,651
0 Kudos

CLAD Sample Exam -2 - Question 3

[ Edited ]

q3.PNG

 

 

Anwer B and C are clearly wrong.

 

But I am not sure any of them are right but if any Answer D seems the nearest to being correct.

 

So why is A the correct answer, surely it's not during the execution of SubVi but the elased time of the execution of SubVi

Regards
Ray Farmer
Active Participant
yenknip
Posts: 540
0 Kudos

Re: CLAD Sample Exam -2 - Question 3

[ Edited ]

To get the timing of the sequence structure, the ms timers would both need to be outside the structure; before frame 1, and after frame 3. As it is, the timers will only time the middle frame.

 

EDIT:

Although, if we make the (rash) assumption that there is nothing else on that block diagram, then the subtract operation and the count VIs will take a few CPU flops each, and both answers A and D would be expected to be be the same number

_____________________________
- Cheers, Ed

Trusted Enthusiast
RayFarmer
Posts: 4,651
0 Kudos

Re: CLAD Sample Exam -2 - Question 3

I get what it's timing. But it's not the elapsed time during the execution of the SubVI as the SubVI would of had to finish to get the elapsed time.

Regards
Ray Farmer
Active Participant
yenknip
Posts: 540
0 Kudos

Re: CLAD Sample Exam -2 - Question 3

I had to re-read all of that several times before I figured you were querying the word "during". My brain is terrible for skim-reading and making assumptions. 

Yes, I totally agree with you. As worded, all 4 answers are wrong. The Result indicator would show the execution time of the second frame.

_____________________________
- Cheers, Ed

Member
zakic
Posts: 22

Re: CLAD Sample Exam -2 - Question 3

Great catch! and thanks for reporting the error. We will have the sample exam corrected and posted as soon as possible.

 

Zaki Chasmawala - Certification Development Group Manager

certification@ni.com

Proven Zealot
johnsold
Posts: 9,799
0 Kudos

Re: CLAD Sample Exam -2 - Question 3

Of course answer b could be correct also if the execution time of subvi was significantly less than 1 ms.  The code shown below has a zero result more often than non-zero with numeric 2 <= 100000.

 

Lynn

 

timing.png

Proven Zealot
Jeff·Þ·Bohrer
Posts: 7,680
0 Kudos

Re: CLAD Sample Exam -2 - Question 3


zakic wrote:

Great catch! and thanks for reporting the error. We will have the sample exam corrected and posted as soon as possible.

 

Zaki Chasmawala - Certification Development Group Manager

certification@ni.com


Zaki,

 

Perhaps you need someone with experience behind the podium.  I've been chatting about the quality of tests on this forum, Breakpoimt and less public ones

 

(Yes, I just spoke on the phone today with Hunka  RE: what are the barriers to re-cert?  Look for a Private forum post "Kaison Event")

 

Jordan may need to take this post down.  But I am your Champion in this!  Let us fix the exams

8-Ball Consulting advertising banner

Certified LabVIEW Consultant. The partner you can bank on when you're behind the 8-ball.
Member
zakic
Posts: 22
0 Kudos

Re: CLAD Sample Exam -2 - Question 3

Behind the certification podium we have not one person, but a cross functional team of experienced R&D developers, Systems Engineers, Applications Engineers, Certified Partners, and Training & Certification R&D engineers!! We leverage the subject matter expertise of the team to develop, review and test the certification exams. There are opportunities for CLDs and CLAs to participate in the development activities. If you are interested, please email me at certification@ni.com

Proven Zealot
Jeff·Þ·Bohrer
Posts: 7,680
0 Kudos

Re: CLAD Sample Exam -2 - Question 3


johnsold wrote:

Of course answer b could be correct also if the execution time of subvi was significantly less than 1 ms.  The code shown below has a zero result more often than non-zero with numeric 2 <= 100000.

 

Lynn

 

timing.png


Lynn,
Looking back at this example the 0 is expected.  no output from the for loop is used the dead code removal optimization should kill the loop so that the compiled code would have no loop and simply read Numeric and numeric 1 once each.

8-Ball Consulting advertising banner

Certified LabVIEW Consultant. The partner you can bank on when you're behind the 8-ball.
Proven Zealot
johnsold
Posts: 9,799
0 Kudos

Re: CLAD Sample Exam -2 - Question 3

Jeff,

 

You are right.  Even though my hasty example may be irrelevant, answer b (Zero) may be right for many real world cases.

 

That makes this another case of a poorly worded question, or at least, answer set.

 

Lynn