Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

CLAD Sample Exam -2 - Question 3

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
0 Kudos
Message 1 of 14
(8,825 Views)

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
0 Kudos
Message 2 of 14
(8,823 Views)

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
0 Kudos
Message 3 of 14
(8,818 Views)

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
0 Kudos
Message 4 of 14
(8,815 Views)

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

Message 5 of 14
(8,811 Views)

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

0 Kudos
Message 6 of 14
(8,803 Views)

@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


"Should be" isn't "Is" -Jay
0 Kudos
Message 7 of 14
(8,797 Views)

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

0 Kudos
Message 8 of 14
(8,754 Views)

@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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 14
(8,748 Views)

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

0 Kudos
Message 10 of 14
(8,739 Views)