CLD-R sample exam question #37

Hi all,
I've been looking over the most recent CLDR sample exams and I'd like clarification on the answer to one of the questions.  I figure that since the question is publically available, it's ok for me to refer to it here.
The question is from sample exam #1.  The specific question is #37.  Code is shown in which "This VI's path" is stripped twice and a path to a subVI is built using "build path" and a subVI name (i.e. therefore using a relative path to refer to the subVI).  The resulting path is then used to open a reference to a subVI.  The subVI is run dynamically using a Call by Reference Node.  The reference is then closed.
The question states:  "Which of the following steps must be taken if you decide to build the block diagram shown into an executable?"
The possible answers are:
a. The file path needs to be stripped one more time because the build process will add another layer to the file structure, causing problems
b. The VI that is being called dynamically needs to be manually added to the build specification
c. The application window will not close when the executable has been stopped.
d. One or more functions will not work outside of the development environment.
The correct answer is given as "b".
I think "a" is an equally valid answer.  The build process DOES add another layer to the file structure, thus goofing up all the relative paths, and that needs to be accounted for when building executables.
Why on earth would you offer two correct answers to a question and only accept one as the "right" answer?   That makes no sense to me.

a. The file path needs to be stripped one more time because the build process will add another layer to the file structure, causing problems
\ The source file settings Set destination  can be configured " the same heirarchy so this is not absolutly needed  (And Diane, the paths are stripped from the other end so a folder in front is no problem)
C & D are not actions this is the worst sort of distractor.  Random statements that don't fall into the rule of the question.
E.G.
What questions will you find posted to the NI Forums
A.I have a problem with communicating to a device on a serial COM port.
B.Why on earth would you offer two correct answers to a question and only accept one as the "right" answer?
C.You should use an Express vi for that!
D.Here is a link to a KB article.
B is the only correct answer but many examinees will choose the bad distrators.
Jeff

Similar Messages

  • CLDR Sample Exam Question

    I was going through the CLD recertification sample exam (here), and one of the questions has me stumped.  For question 39, I understand what the code is doing and the right answer, but I can't seem to find how to place this code on a block diagram.  I'm referring to the function with the -3->, ?, and i on the icon.  Can anyone tell me where on the function pallete to find this (LV2009 or 8.6)?
    Thanks ahead!
    ==============================================
    David Kaufman
    LabVIEW Certified Developer
    ==============================================
    Solved!
    Go to Solution.

    Well it's the same like this:
    Allthough it is quite unclear to me why I had to reverse the first part of the array.
    But a very advanced functionality, I like the way to initialize with an array.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • CLD-R sample exam #2, question #11

     
    Answer A is the stated correct answer according to the sample exam answers section.
    Correct me if I am wrong but Merge Errors ONLY reports the FIRST error.  If multiple errors occur with those four error lines,
    ONLY one will be reported by error out, not ALL errors.
    Where I am going wrong with this one...is it because only one input to Merge Errors is used?
    (the error out line looks like a non-array input (thus how could all errors be reported without and array of error outs???)
    Thanks,
    Ryan
     

    1984 wrote:
    In the past 12 years I have developped and deployed unreliable codes like this in about 10 different countries.
    If this is unreliable then NI should start reviewing its own VIs as there are numerous VIs shipped with LabVIEW has solutions like this.
    Hey, lets assume this is a control system for (Why not?) a 250kWatt weather radar
    Stop the pulse modulator
    shut down the RF Source
    Remove power to the Klystron's magnet 
    Trust me, you want them to happen in that order.  with code shown as drawn above, there is a possibility to remove the magnetic field first.  That would dump a 60kV 12A pulse through the klystron with no field to focus the beam.  At which point a 70 pound klystron is going to impolitely install a new hole in the building's roof.
    Frankly, I despise that question as none of the distractors takes into account a failure in a predicated step of shutdown.

  • CLA-R Sample Exam Question 22

    Just looking for confirmation that the given answer of B for question 22 of the sample exam is wrong and should be A.  Thoughts?
    http://download.ni.com/evaluation/certification/cla-r/cla-r_sample_exam_english.pdf
    Herrlin
    Just trying to spread the LabVIEW love.

    in B) only one row is updated per iteration (The SR doesn't necessarilly create a dependance between iterations)
    in D) iterations must execute in order since row 0 is updated based on current row 0 data in each itteration 
    RG- is the Rube-Goldberg Thread
    Why run all cores?  Its a bad Idea to try to improve the performance of sub-optimal code constructs Benchmark the two methods (Parrallel For loop and no loop) see witch is more optomized.
    IR&C is In-Range and Coerce of course,
    Jeff

  • CLAD sample exam 1

    Hi,
    yesterday I had a discussion with some friends and I want to get some independent opinions now :-)
    It concerns this CLAD sample exam question:
    Now lets see, what does the iteration terminal do? From my point of view: it returns a new value at the beginning of each loop iteration and this value tells me how often the loop has already executed (0 during the 1st iteration, 1 during the 2nd and so on). In this case answer a would be correct, right?
    According to the results contained in the sample exam, the correct answer is c.
    But this is only true (hard to write "true", because I think it's kind of odd to put it that way) if you wait until the loop terminates and than check what value was returned last.
    I'm curious about any comments or opinions.
    Regards,
    Thomas

    I would check c too (maybe if even have it, can't remember) , more because I expect it as the expected right answer
    In examines you should always say what your examiner wants to hear, right? Well, most of the time easy to proof in an engineering world
    And that's why the best preperation to a test is a test test, to learn how you have to understand the questions and what are the expected answers, otherwise it would be too simple
    If you are picky answer a  might also be correct because the sentence is written in the past * and the terminal will spite out it's value right at the beginning of the loop when the loop has not (completely) executed.   That's why it is positioned inside on the left side.
    *) I'm not a native English speaker, and grammar in any language hasn't been my favor anyway, so I might be false.
    Message Edited by Henrik Volkers on 03-26-2010 11:48 AM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • CLAD Sample Exam 1, question 2:

    CLAD Sample Exam 1, question 2: can a wire be used to pass date between 2 llps that are intended to be runn in parallel?  CLAD Sample exam1  provides the following url as an answer:  http://zone.ni.com/devzone/cda/tut/p/id/9393 . This doesn’t explain the answer. Please provide a correct explanation.
    Solved!
    Go to Solution.

    B Spears wrote:
    NIquist wrote:
    Is that the actual wording?  Why can't they make these questions less
    ambiguous?   Just because you intend for the loops to run in parallel doesn't mean they actually do it.  BUT, the data will still be passed between the loops eventually, so technically, YES, a wire can be used.  Why didn't the question just say: "two loops that ARE running in parallel"?
    The wording actually seems to be pretty decent. Two loops cannot be running in parallel if there is a wire running between them. The situation you describe--where one loop stops, data is passed, then the other loop begins--does NOT describe two loops running in parallel, rather two loops running sequentially.
    When the question says "intends", it asks you to play the part of the designer of the code: if you want to have data passed between two loops, how would you design that? The answer is certainly not a wire.
    True, but the fact that we're even discussing the semantics proves that it's confusing.  I'm sure NI has a tough time coming up with multiple CLAD versions covering essentially the same questions but those questions should be testing for knowledge of LabVIEW, not English Language.  A test taker should be able to focus on the what a question is asking and not how it's being asked.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Does NI post solutions to CLD sample exams?

    Does NI post solutions to CLD sample exams?
    Thanks in advance.

    There's solutions in the CLD sample exams zip file found here and there's a sample solution for the CLA exam.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • CLD Sample Exams: How to deal with references ?

    Hi@all:
    I reviewed  the sample exams solution for the CLD provided by NI and noticed, that they trifle with references. As shown in the Security System and the ATM Machine, references were opened, but not closed at the end.
    What do you think, will this cost Style points?
    The exams can be grabbed on the NI site searching for CLD.
    Solved!
    Go to Solution.

    I would ding them for a lot of points but it is not my test but NI's so play to their rules get the cert and then do it right.
    When you get to that part of the exam just add a note saying those refs do not need t  be closed because they are static and maybe you can get some bonus points for knowing the differnence.
    How to know the difference?
    See here.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Security CLD sample exam

    This is my answer to the CLD sample exam "security system" Does anyone have any suggestions or comments?
    Attachments:
    Alarm4.vi ‏35 KB
    File.vi ‏16 KB

    Islandman wrote:
    ... but I'm not sure what to do about the file reference. I use this to close the file at the end (that's why I circulate it). Since I log an event every time there is a change, I access the file many times, but I want to close the file at the end, only once.
    No, you're not understanding. You are using "write to spreadsheet file", which is a high-level function. You can open it like a plain subVI and see what's inside. You will notice that it opens the file, writes (or appends) the data, then closes the file, all inside the function. Thus there is no need to open or close the file externally. At all!  Ever! You have a useless and redundant mix of high-level and low-level file functions.
    Sure, if performance is an issues, that constant file opening and closing could be a bottleneck. So an alternative would be to use all low-level file function. You would open/create the file before the loop, keep the file open during the loop and write using plain low-level functions, then close the file after (outside) the main loop once the program finishes.
    ALSO: Your subVI needs a makeover anyway. Use intuitive control labels (not "numeric"!). Arrange the FP nicely. Add some documentation. You should also do something about the icon. It is surrounded by blank space, making the wires seem to hang off in thin air. It is also a bit disconcerting that you are not doing much error handling. The main program would never know if the file program encounters an error. Then you are abusing the file open error to determine if the file exists or not. There is a function for that! You don't need to get the date/time in the error case, so this function belong inside the other case.
    LabVIEW Champion . Do more with less code and in less time .

  • My Solution for CLD Sample Exam (Traffic Light)

    Hi there folks,
    I was just preparing for my CLD exam and was going through the sample exam provided on ni.com.
    I wanted to get any feedback for my solution. I looked at the solution and it seemed way to complex
    to achieve a simple task! Then again, I am still learning.
    ThanX in advance.
    Attachments:
    Traffic Light1.zip ‏81 KB
    Traffic Light2.zip ‏81 KB

    About queues vs shift registers.  Queues allow you the ability to insert elements into either end of the queue.  You can also write code to insert several elements at one time.  With shift registers, only one new element can be carried over to the next loop at one time.
    Lets say you have a state machine that always executes in the same order, no matter what the outcome, like State1 then State 2 then State 3.  A shift register works fine for this simple example.  However with queues, you can use a loop to insert the 3 states before the main state machine loop, then dequeue in the state machine.  This is really a matter of preference.
    Next example.  Lets say you had a situation where you want to run 3 states, but if the second one fails, you want to run 2 other states before going to the third one.  You could use a shift register, and you would have to look at each state to see which is next.  A queue would allow you to insert the 2 extra states in between states 2 and 3.  Of if you want to exit on some failure during a state.  You can use the queue to insert the exit state at the opposite end so that it is the next to be dequeued.
    Another situation is if you allow the user to call certain actions that require running several states.  When the user presses button A, you enqueue states 1,2,3.  If the user presses button C you enqueue states 7,8,9.  So now you have a state machine in which states are defined by some user action.  This would be more difficult to do with a shift register. 
    There are many other situations where a queued state machine is better than just a simple shift register.  For the simplest of situations, I might use a shift register only.  But I like to make it a habit to always use queues because of their versatility, and for the fact that I can go back and upgrade a simple state machine to a more complex one easily if it is done with queues.  Be sure to use shift registers on the queue error in and error out so that errors can be propogated from one state to the next.  On each state, check the error status.  If one occures, enqueue a state at the other end to jump to your error handling state (or exit).
    - tbob
    Inventor of the WORM Global

  • CLD Traffic Light Sample Exam.

    I am posting my solution for the CLD Traffic
    Light Sample Exam.  Comments and input is appreciated.  The main VI is
    Traffic Lite.vi.
    Thanks in advance.
    Attachments:
    TrafficLite_5.22.10.zip ‏47 KB

    Nice work, VI Joe.  I heve just a few comments.  The first two will get you more points from the judges, the third is personal style preference.
    Add descriptions and tip strips to your controls (and indicators).
    You go to either Idle or Display from almost every state; poll the controls before your main Case Structure executes and update the indicators afterwards instead.  You wouldn't need to use a State Queue any more if you did this.This would also get your Stop button to work as required.  As VENKATESH.J mentioned, it needs to respond immediately.
    This is a cleaner way to queue up multiple states:
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Car Wash CLD Sample Exam Solution

    Attached is my solution to the CLD Car Wash Sample Exam.  Comments will be appreciated.  The main VI is Main_6.15.10.
    Thanks in advance.
    Attachments:
    CarWash_6.15.10.7z ‏60 KB

    Here are my thoughts....
    Your solution is functional, so there are points for that right away.  Where I think there could be some more work is the architecture.  The exam requirements state that the design must be "easily scalable".  To me that means new states or cycles can be added without much messing about on the block diagram.  If you notice, there are only certain... lets call them Properties of each cycle type.  You could have an array of cycle properties such as cycle time, cycle position switches, cycle name, and flags for standard or deluxe.  Then you could reduce your cycle handling to a single state that just indexes through the cycle array and executed the next appropriately flagged cycle.
    I noticed a Select node in each of your cycle states with constant True and False wired to it.  That is a total of three elements plus two wires that should have just been a Not right off of the Boolean palette.
    You stop the program with a Stop button, yet you allow the user to close the window.  You should consider a Panel Close? event in your event structure to handle a use trying to close the window so that you can execute a graceful stop.
    There is no VI Description filled out for your main VI.  You should also have an icon for the main VI.  The suggested front panel shown in the exam has an icon.
    When your VI is running, you have the scrollbars, toolbar, and menu bar shown.  None of those serves any function for the application, so they should not be shown at runtime.
    The Stop button that is used to stop your application is reset with a Property Node.  Not that there is a performance issue here, but it is generally not good practice to do that unless you are forced to.  Consider just using a Mechanical Action of Latch When Released instead of Switch When Released.  That way you do not need to force the reset to the False state.  Of course, I would rather see something like a Stop state writing to the While Loop conditional terminal.  Also, you could have used a Local Variable to write the initial state of the Sim Switches instead of the Property Node.
    The graders like to see code comments describing your algorithms.  I would say that you need more of those.
    A 10 msec timeout on the event structure is a bit hyper.  Nothing in the system runs that fast, and the only thing you are waiting for is the user.  You could actually have a -1 wired there if you add an event case for the Stop button and Panel Close.  It will greatly reduce the CPU cycles (again not that there is a huge performance issue here).
    Come to think of it, the 20 msec wait for next multiple timer is a bit hyper too.  Your timing requirements are on the order of seconds.  You do not need to loop that fast.
    In general I prefer to have the Event Structure outside the State Machine.  Either that, or I use the Event Structure as the State Machine (in place of the Case Structure).  That way, if you need to respond to the user interface, you can do so without waiting to cycle back to the Idle state.
    This one was not listed in the requirements, but it would be very helpful to see the clock.  A cycle countdown timer or elapsed time indicator is so helpful to the user and the grader.  It confirms that things are working properly and the the application has not sieved up.  Users like to see something "alive" on the screen.
    To end on a positive... good job remembering to Disable the Purchase Selection buttons once the user clicks one.  I got ding'd for forgetting about that back when I took the CLD in 2003.

  • Sample certification exam questions

    An Oracle rep told me that as a member of OTN I would be able find sample certification exam questions on the site.
    Could someone be a little more specific? I poked around the site and did not find anything like practice exams or sample questions.
    Thank you,
    George N. Miller

    In addition to the above links, you might be interested in the following links:
    1. [url http://otn.oracle.com/oramag/oracle/02-sep/o52ocp.html]Certifying DBA Fundamentals
    2. [url http://www.oracle.com/oramag/oracle/02-jul/index.html?o42ocp.html]Certifying Database Administrators
    3. [url http://otn.oracle.com/oramag/oracle/02-nov/o62ocp.html]Certifying More DBA Fundamentals
    4. [url http://otn.oracle.com/oramag/oracle/03-mar/o23ocp.html]Certifying: DBA Fundamentals II
    Regards,
    Anupama
    [url http://otn.oracle.com/sample_code/]OTN Sample Code

  • Clad sample exam 1 question

    Hi.
    I noticed this question in the clad sample exam 1
    Which of the following statements is FALSE?
    a. A SubVI connector pane defines where to wire inputs and outputs
    b. The color of a SubVI connector pane terminal matches the data type it is connected to
    c. You must have an icon/connector pane to use a SubVI
    d. A SubVI icon can be edited from the functions palette
     In the answers it says D.
    Wouldn't 'C' be the right answer ? I know that the icon is optional, but you must build the connector pane to use a sub vi.
    Nevertheless, I found an invoke node (VI Icon -> Set from file/image data) that can edit the vi icon, therefore you could pick a vi server reference and an invoke node, all from the functions palette.
    What do you guys think ?
    Thanks.

    Nope D is the correct answer.
    For C, you must have a connector pane in a subVI.  (Of course it is possible to have no terminals setup on it, or even no wires wired to it even if there are terminals set up.)  Any every subVI has an icon, it is not optional.  It might be the default icon from LabVIEW, or even a blank one, but it is always there.
    For D, no you can't edit it from the functions palette.  I had actually never come across that invoke node you mentioned.  I don't think it is one that 99.9% of LV programmers would ever use.  I'd argue that you aren't editing the icon with that from the palette.  Yes you did grab it from a palette.  But really it is just a way to programmatically set the icon, you're not actually doing any "editing" with it.

  • CLAD Sample Exam -2 - Question 3

    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

    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
    [email protected]
    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
    Jeff

Maybe you are looking for

  • Inutilização SEFAZ BA  NF-e 3.10

    Boa tarde a todos, Estamos tentando inutilizar algumas notas em homologação para a sefaz BA (3.10), está voltando o status 999 do sefaz, mas não está atualizando este código 999 na J_1BNFE... e as notas estão ficando com status inicial.. Gostaria de

  • My phone is not working because of a crash on my computer while a blackberry update

    Hi today i was on my laptop updating my phone and then my laptop battery crashed and then i tryed to open my phone and it did not work i removed my batterie and i put it back in but it did not work more so now im mad  my phone is a blackberry curve 9

  • Down payment issue

    one of Vendor  has a down payment which is a debit balance on their account, however other invoices that are due came into payment proposal to issue a check.  Customer had to manually block the invoice documents so payment would not generate.  Does n

  • Viewing html page of an applet

    I am trying to write an applet. When I viewed the html page for the first time, it worked fine. But now it doesnt work properly. All the contents are not shown. I recompiled my code but the mistake remains. Please help

  • How to show masked links in PDF when printing?

    Hello Ive got a PDF where some hyperlinks are masked behind certain words. For digital use of this document this is fine. However when printing I would like to have the full link to be printed (eg as a comment or on top of the word which contains the