LabVIEWCLAD模拟试题(卷)(中文)
CLADSampleExam

LabVIEW助理开发工程师考试为了快速找到问题,可将答案记录在本页答题纸上。
撕下该页用于记录答案。
实际的CLAD考试中并无该页,仅供模拟题使用。
答案页在模拟题的最后。
1._____2._____3._____4._____5._____6._____7._____8._____9._____10._____11._____12._____13._____14._____15._____16._____17._____18._____19._____20._____21._____22._____23._____24._____25._____26._____27._____28._____29._____30._____31._____32._____33._____34._____35._____36._____37._____38._____39._____40._____1.如要考虑状态图应用程序的扩展性,基本结构的最佳选择是?a.顺序结构b.条件结构c.公式节点d.面向对象的结构2.单击_________按钮可跳过程序框图上的节点,而不单步执行该节点。
a.单步步入b.单步步过c.单步步出d.单步调试3.下列关于属性节点的描述,正确的选项有哪些?(选择所有正确的选项)a.属性节点使用户可通过程序方式操控前面板对象。
b.属性节点可用于更新前面板的值。
c.一个前面板对象可有多个属性节点。
d.子VI中包含的属性节点使前面板始终加载至内存。
4.必须从子VI中控制顶层VI的一个前面板控件。
必须传递什么到子VI?a.控件的属性b.控件的方法c.控件的引用d.控件的数据类型5.VI执行后,值输出显示控件显示的值是多少?a.0b. 4c. 5d. 66.在条件结构的假(FALSE)分支的代码中设置断点。
如执行条件结构的真(TRUE)分支,VI执行会暂停吗?a.会b.不会7.哪个属性节点改变子VI中数字数值控件的文本颜色属性?a.b.c.d.8.哪种图表更新模式适合从左到右连续显示数据?a.带状图b.示波器图c.扫描图d.步骤图9.下列哪项不符合数据流编程模型?a.移位寄存器b.隧道c.子VId.局部变量10.如有需要,可将顺序结构替换为下列哪项?a.事件结构b.For循环c.状态机d.While循环11.关于下列代码的陈述,正确的是?a.循环执行1次,循环显示控件显示值1b.循环执行1次,循环显示控件显示值0c.循环无限执行,程序必须中止d.循环不执行,循环显示控件显示值012.与下列代码等价的公式是?a.b.c.d.13.某VI启用了自动错误处理,并调用了一个未启用自动错误处理的子VI。
NI CLAD 试题 2

LabVIEW助理开发工程师考试为了快速找到问题,可将答案记录在本页答题纸上。
撕下该页用于记录答案。
实际的CLAD考试中并无该页,仅供模拟题使用。
答案页在模拟题的最后。
1._____2._____3._____4._____5._____6._____7._____8._____9._____10._____11._____12._____13._____14._____15._____16._____17._____18._____19._____20._____21._____22._____23._____24._____25._____26._____27._____28._____29._____30._____31._____32._____33._____34._____35._____36._____37._____38._____39._____40._____1.下列关于代码执行的陈述,正确的是?a.循环执行51次。
b.循环执行50次。
c.循环执行49次。
d.连接50至For循环的总数接线端,与本题代码的执行一致。
2.下列哪项将生成一个LabVIEW事件结构可捕捉到的事件?a.通过鼠标单击改变前面板控件的值b.通过属性节点更新前面板控件c.通过控件引用以编程方式更新前面板控件d.通过VI服务器更新前面板控件3.下列代码执行后,结果显示多少?a.子VI执行消耗的毫秒数b.零c.自1970年1月1日以来经历的秒数d.顺序结构执行消耗的毫秒数4.要在运行时修改前面板控件的一个属性。
下列哪种方法最适合?a.创建一个隐式属性节点,选择要修改的属性b.创建一个控件引用,将引用传递至属性节点并选择要修改的属性c.创建一个链接的共享变量,并选择要修改的属性d.创建一个局部变量,并选择要修改的属性5.创建数组最快捷的方式是:a.在While循环中放置一个“创建数组”函数b.初始化一个数组,然后在While循环中替换数组元素c.使用启用了自动索引的For循环d.使用启用了自动索引的While循环6.在运行周期较长的应用程序中,时间控制最好使用下列哪个定时函数/VI?a.b.c.d.7.在下列程序框图所示的VI中,自动错误处理已禁用。
CLAD模拟题2

LabVIEW助理开发工程师考试为了快速找到问题,可将答案记录在本页答题纸上。
撕下该页用于记录答案。
实际的CLAD考试中并无该页,仅供模拟题使用。
答案页在模拟题的最后。
1._____2._____3._____4._____5._____6._____7._____8._____9._____10._____11._____12._____13._____14._____15._____16._____17._____18._____19._____20._____21._____22._____23._____24._____25._____26._____27._____28._____29._____30._____31._____32._____33._____34._____35._____36._____37._____38._____39._____40._____1.下列关于代码执行的陈述,正确的是?a.循环执行51次。
b.循环执行50次。
c.循环执行49次。
d.连接50至For循环的总数接线端,与本题代码的执行一致。
2.下列哪项将生成一个LabVIEW事件结构可捕捉到的事件?a.通过鼠标单击改变前面板控件的值b.通过属性节点更新前面板控件c.通过控件引用以编程方式更新前面板控件d.通过VI服务器更新前面板控件3.下列代码执行后,结果显示多少?a.子VI执行消耗的毫秒数b.零c.自1970年1月1日以来经历的秒数d.顺序结构执行消耗的毫秒数4.要在运行时修改前面板控件的一个属性。
下列哪种方法最适合?a.创建一个隐式属性节点,选择要修改的属性b.创建一个控件引用,将引用传递至属性节点并选择要修改的属性c.创建一个链接的共享变量,并选择要修改的属性d.创建一个局部变量,并选择要修改的属性5.创建数组最快捷的方式是:a.在While循环中放置一个“创建数组”函数b.初始化一个数组,然后在While循环中替换数组元素c.使用启用了自动索引的For循环d.使用启用了自动索引的While循环6.在运行周期较长的应用程序中,时间控制最好使用下列哪个定时函数/VI?a.b.c.d.7.在下列程序框图所示的VI中,自动错误处理已禁用。
LabVIEW CLAD认证模拟题详解

分析: Implicit Property Node 指的是隐性属性节点,由于本题中只需要对一个特定的控 件进行属性设置即可,所以这里最简便的方式就是使用隐性属性节点即可。
10. Formula nodes accept which of the following operations? a. Basic programming language instructions Input and Print b. Embedding of SubVIs within the Formula Node c. Pre and post increment (++) and decrement (--) as in the C language d. The use of nested Formula Node structures
a. b. c. d. 正确答案: D
分析:决定 For 循环结果循环次数的是 N 这个控件。
9. You have a control on the front panel of a VI and you need to modify one of its properties at run time. Which of the following is the best approach you would take? a. Create an implicit property node and select the property to modify b. Create a control reference, pass the reference to a property node and select the property to modify c. Create a linked shared variable and select the property to modify the property d. Create a local variable and select the property to modify
CLAD 考试样题

Certified LabVIEW Associate Developer Sample Exam 2Test BookletNote: The use of the computer or any reference materials is NOT allowed during the exam. Instructions:∙ Please do not detach the binding staple of any section. If any part of the exam paper is missing or detached when returned to National Instruments, you will be deemed to have failed theexam.∙ Please follow the instructions on the Answer Sheet. If you fill in your Candidate ID incorrectly, your test will be invalidated.∙ Indicate ALL answers on the Answer Sheet. Answers recorded in this test booklet will NOT be evaluated.∙ Please do not ask the proctor for help answering questions.∙ This examination may not be taken from the examination area or reproduced in any way. You may not keep any portion of this exam after you have completed it.Exam Details:∙ Time allocated: 1 hour∙ Type of exam items: Multiple choice∙ Number of exam items: 40 questions∙ Passing Grade: 70%IMPORTANT: When you have completed this exam, place it in the provided envelope with you answer sheet and SEAL the envelope. Give the sealed envelope to your proctor.Answer Sheet:To quickly check your answers against the solutions in the Solutions Section, record your answers on this Answers Sheet. Detach this page and record your answers as you go along. This page is not included in the actual CLAD exam; it is included here for practice purposes only. The Solutions Section is at the end of the Sample Exam.1. _____2. _____3. _____4. _____5. _____6. _____7. _____8. _____9. _____10. _____11. _____12. _____13. _____14. _____15. _____16. _____17. _____18. _____19. _____20. _____21. _____22. _____23. _____24. _____25. _____26. _____27. _____28. _____29. _____30. _____31. _____32. _____33. _____34. _____35. _____36. _____37. _____38. _____39. _____40. _____Q1: Which of the following user interface events will allow your code to respond before LabVIEW performs the default action associated with that event?A Mouse DownB Panel ResizeC Panel Close?D Value ChangeQ2: The Trigger control is configured with a switching mechanical action. The VI's requirement is to display a Count value that tracks the number of "value change" events, for changes to TRUE, that occur for the Trigger.Which of the code snippets meets that requirement when the VI is run?ABCDQ3: What is the value in the Result indicator after the VI completes execution?A 16B 24C 32D 10Q4: Which of the following terminals cannot control how many times a For loop executes?ABCDQ5: Which of the following statements is TRUE regarding the execution of the following code? The loop will iterate:A 51 timesB 50 timesC 49 timesD a random number of timesQ6: The VI is open and run twice without being closed or modified.What value is displayed in the Value Out indicator after the second execution of the VI?A 3B 4C 5D 6Q7: What value is displayed in the Numeric indicator after the VI executes?A 0B 4C 5D The While Loop iterates indefinitelyQ8: What value will be displayed in the Out indicator when this VI completes execution?A Case0B Case1C Case2D Case3Q9: Which code snippet is functionally equivalent to this sequence structure?ABCDQ10: The Wait function can be added to While Loops:A To free up available memoryB To allocate memory used by the CPUC To allow the processor time to complete other tasksD To reserve which processor the code is running onQ11: While the VI executes, the user presses and then releases Boolean Control with Switch Until Released mechanical action. The starting value of Boolean Control is FALSE,What value is displayed in the Result indicator after execution?A 0B 1C 2D 3Q12: What value is displayed in the X+Y indicator after the code completes execution? ABCDQ13: Why does an error occur when the code executes?A File path not wired to the input of the Open/Create/Replace File functionB File opened with the incorrect accessC File reference not closedD File data type is incorrectQ14: Which equation is equivalent to the code?ABCDQ15: What value will be displayed in the Numeric indicator when the VI completes execution?A 0B 1C 2D 4Q16: You are creating a SubVI by selecting a portion of code from an existing VI. The selection contains an implicitly linked property node and an implicitly linked invoke node for two different front panel controls.What new items are placed on the block diagram of the existing VI when the SubVI is created?A Local variables are added for property and invoke nodesB Global variables are added for the property and invoke nodesC Control references are added for the property and invoke nodesD Control Terminals are added for the property and invoke nodesQ17: What is the best choice for the case selector input for a Functional Global Variable design pattern? ABCDQ18: Which component is not required for a state machine?A Case StructureB While LoopC EnumD Shift RegisterQ19: What is the name of this common design pattern?A State MachineB Producer Consumer (data)C Producer Consumer (events)D Queued Message HandlerQ20: The VI begins execution with the value of Numeric as 1. At the end of the 3th loop iteration (i=2), the user changes the front panel control Numeric to value 4.What will be the final value of the front panel Numeric Indicator after the VI completes execution?A 2B 4C 5D 6Q21: What value is displayed in the Output indicator when the fifth iteration (i=4) of Loop 2 completes?A Element1B Element2C Element3D Element1Element2Element3Q22: What is the behavior when the code executes?A Loop 1 and Loop 2 run simultaneouslyB Both loops run one time and stopC Loop 2 runs after Loop 1 stopsD Loop 1 runs forever and Loop 2 never runsQ23: What does this function do?A Buffers multiple notifications to be read by a Wait on Notification functionB Sends a notification to be read by Wait on Notification functionsC Enqueues notifications in the Notifier QueueD Sends a pause execution notification to a Wait on Notification functionQ24: What is the purpose of these block diagram toolbar buttons?A To display the data flowing through wires as the VI runsB To step through the block diagram when execution is pausedC To start or skip SubVIsD To run the VI in continuous or single run mode.Q25: When using single step debugging with a SubVI which of the following is not possible?A Step Into () while the execution flow is paused on the SubVI iconB Step Out () while the execution flow is paused on a node inside the block diagram of theSubVI.C Finish VI () while the execution flow is paused on the block diagram of the SubVID Finish Block Diagram () while the execution flow is paused on a node inside the SubVIQ26: What value will be displayed in the Output indicator when the VI completes execution?A 5B 7C 12D IndeterminantQ27: Which Mechanical Action changes a Boolean when the button is pressed and returns it to its default value after LabVIEW reads the value?A Latch when pressedB Switch when releasedC Switch until releasedD Latch when releasedQ28: Which of the following statements is TRUE about Numeric Array?A It is an indicatorB It contains exactly 10 elementsC It contains exactly 12 elementsD It contains exactly 8 elementsQ29: Which of the following statements is true?A The output of the divide function will be a U64B The output of the divide function will be a U32C The output of the divide function will be a SGLD A VI containing this diagram will have a broken run arrowQ30: What are the datatype and value at the output terminal of the Round Toward +Infinity function after the VI completes execution?A I32 with value -4B I32 with value -3C DBL with value -4D DBL with value -3Q31: The "start index (0)" input terminal of Search 1D Array is unwired. What value is displayed in the index of element indicator after this code runs?A 0B 2C 3D 4Q32: Which block diagram produces the result in the Waveform Graph?ABC DQ33: What will be the value of the concatenated string indicator after the VI completes execution?ABCDQ34: The VI begins execution with the values of X = 127 and Y = 1.What value will be displayed in the X+Y indicator after the VI completes execution?A 0B 128C -128D -127Q35: What string is displayed in the Result indicator after the VI completes execution?A 123B 0123C 1.00 2.00 3.00D 0.001.002.003.00Q36: What VI or function is typically used to display an error dialogue?A Merge Errors functionB One Button Dialog functionC Generate Front Panel Activity functionD Simple Error Handler.viQ37: A VI takes an input error cluster. If the cluster contains an error or a warning with code = 1 or code = 2, the VI should clear the error or warning.Which diagram implements this functionality?ABCDQ38: The following VI has two parallel While Loops, and runs for 11 ms.What color is the Stop Boolean when the VI completes execution?A BlueB GreenC Both colors will be presentD IndeterminateQ39: Which do you use to initialize all front panel objects to their default values?A Application ReferenceB Invoke NodeC User interface eventD User eventQ40: What results from dragging a Numeric Control into a Control Refnum on the front panel?A An error is returned if the control is not initializedB The Control takes on only generic propertiesC The Control Refnum changes into that controlD The Control Refnum becomes strictly typedSolutions Page:Below are the answers and explanations for the CLAD Sample Exam. To quickly check your answers, record them on the Answer Sheet, detach the Answer Sheet, and compare it, side-by side, with the Solutions Page. This Solutions Page is not included in the actual CLAD exam; it is included here for practice purposes only.1. Correct Answer: CTopic: Event StructuresJustification: LabVIEW help Filter events allow you to validate or change the event data before LabVIEW performs the default action associated with that event.2. Correct Answer: CTopic: Event StructuresJustification: The initialized register increments by one for each Trigger "value change" event when the Trigger new value is True and displays the new Count value after the event occurs. A counts every value change, not just true. B polls resulting in constant increments when the switch changes value to TRUE. D would count every value change if it had a shift register.3. Correct Answer: ATopic: LoopsJustification: The For Loop executes 4 times. Starting with the value of 1, the result of the previous iteration is multiplied by 2. Thus, the value in the indicator after 4 iterations is equivalent to 2x2x2x2, or 16.4. Correct Answer: ATopic: LoopsJustification: The iteration terminal is only a count of the iteration number and can not control how many loops occur.5. Correct Answer: ATopic: LoopsJustification: The iteration terminal in While Loops and For Loops always starts counting at zero. It returns 0 on the first iteration, 1 on the second iteration, etc. Since the While Loop is configured to stop when the output of the iteration terminal is greater than or equal to 50, we know that the iteration terminal must output a value of at least 50. The first time this happens is after 51 iterations.6. Correct Answer: DTopic: LoopsJustification: Uninitialized shift register retains value.7. Correct Answer: CTopic: LoopsJustification: Loop runs 1 time, use data flow to calculate the values.8. Correct Answer: BTopic: Case StructuresJustification: Dataflow and correct steps, track shift register and index to get answer.9. Correct Answer: ATopic: Sequence StructuresJustification: Dataflow and correct steps.Topic: General Programming FunctionsJustification: The Wait (ms) function does nothing to release or allocate memory or specify processor core. All it does is cause the execution of a VI to pause for a short time to allow the processor time to complete other tasks.11. Correct Answer: CTopic: General Programming FunctionsJustification: Since the mechanical action is set to Switch Until Released, two events are generated when a user clicks and releases. The first event is the FALSE to TRUE transition, and the second is the TRUE to FALSE transition. In addition, the conditional for the loop is set to Continue if True, so the VI will complete execution after the Boolean is released and turns back to False.12. Correct Answer: CTopic: General Programming FunctionsJustification: Polymorphic response, the addition only occurs if there are elements in each location, based on the index number. The extra elements in on array are ignored.13. Correct Answer: BTopic: General Programming FunctionsJustification: "access" input terminal on the Open/Create/Replace File function is set to "read-only", so file cannot be written to.14. Correct Answer: CTopic: General Programming FunctionsJustification: Data Flow15. Correct Answer: CTopic: General Programming FunctionsJustification: Use the index number of the outer loop to set the number of iterations of the inner loop, including zero. For a zero number of iterations the inner shift register passes its value.16. Correct Answer: CTopic: SubVI CreationJustification: By definition, control references are placed on the block diagram of the "calling" or existing VI.17. Correct Answer: ATopic: Design PatternsJustification: A is an Enum and a Type Def, which are the requirements for the case selector inputs of a FGV.18. Correct Answer: CTopic: Design PatternsJustification: An enum is not required to be the case selector of a state machine (but it is best practice).19. Correct Answer: BTopic: Design PatternsJustification: This producer loop does not have an Events Structure, this producer consumer design pattern would be used for data handling.20. Correct Answer: CTopic: Data communication and synchronizationJustification: The front panel control is read by the property node, so changes to the control take effect in the For Loop. The value to be displayed in the Numeric Indicator only depends on the final iteration, when the value of the numeric is read and incremented.Topic: Data Communication and SynchronizationJustification: Due to FIFO, and since i=4 is the fifth iteration of the loop, the fifth element in the queue will be read. The queue is filled in order with element 1 and then element 2, then 3, repeatedly.22. Correct Answer: DTopic: Data communication and synchronizationJustification: The first loop never stops because False is wired to the conditional terminal. Since the first loop never stops, the second loop can't start as it does not have all its inputs.23. Correct Answer: BTopic: Data communication and synchronizationJustification: The Send Notification function sends a message to all functions waiting on a notifier. The notifiers are not buffered.24. Correct Answer: BTopic: Debugging toolsJustification: The single step debugging tools are used when execution is paused.25. Correct Answer: BTopic: Debugging practicesJustification: Step Out is not a single step command. Finish VI or Finish Block Diagram are both available in the SubVI depending on where the VI execution is paused.26. Correct Answer: DTopic: Debugging toolsJustification: Since the order of execution of the write to Output actions cannot be verified, it is not clear what value will result in Output.27. Correct Answer: ATopic: LabVIEW EnvironmentJustification: Definition of Latched in LabVIEW. Can not be Latch when released, the question only describes the action of the button being pressed, not released.28. Correct Answer: BTopic: LabVIEW EnvironmentJustification: Since the display index value for columns is '2', that means there are two columns not show (4 elements), along with the 6 visible elements, this array has exactly 10 elements.29. Correct Answer: CTopic: Data TypesJustification: Data is coerced to the widest data type input to minimize loss of information.30. Correct Answer: DTopic: Data TypesJustification: Rounds towards positive value without changing the datatype.31. Correct Answer: DTopic: Data TypesJustification: String comparisons and searches in LabVIEW are case-sensitive and exact.32. Correct Answer: CTopic: Data TypesJustification: Graph 4 points , starting with index 1 (Drop the 0 index element). Values of points in order are: 3,6,9,12,15.33. Correct Answer: ATopic: Data TypesJustification: When constant is set to "\" codes display, "\s" is a space character, otherwise in normal display "\s" is literally \s.34. Correct Answer: CTopic: Data TypesJustification: The maximum positive number that a I8 can represent is 127. When the sum of two I8 number is greater than 127, the answer wraps around to -128 .35. Correct Answer: DTopic: Data typesJustification: Because we are starting with an empty string, the output of the "Concatenate Strings" function is purely the concatenation of the iterations, displayed with two digit precision with no spaces and converted into text. The loop runs 4 times (until i=3), so first time is 0.00, second time 1.00, etc.36. Correct Answer: DTopic: Error HandlingJustification: The Merge Errors VI does not display any dialog. The One Button Dialog function has no error input, and would therefore require additional coding. The Generate Front Panel Activity function does not generate a dialog. Therefore the Simple Error Handler is the best choice because it accepts an error cluster as an input and displays a dialog to the user in the event of an error.37. Correct Answer: cTopic: Error HandlingJustification: A has the logic in the wrong case. B will only clear errors, will not clear warnings. D will clear any error or warning with a code value of 2 or less (which includes negative codes). C is the only one that fulfills all the stated requirements.38. Correct Answer: DTopic: VI serverJustification: Race conditions exist because there is no coordination between the loops.39. Correct Answer: BTopic: VI serverJustification: An Application Reference allows the program to identify an application for an action, but by itself does not change anything. Both the "user interface events" and "User events" require input from the user and additional code. An invoke node has a native "renitialize all to default values" action, thus may be used to fulfill the requirements.40. Correct Answer: DTopic: VI ServerJustification: Drag a control into the front panel control refnum control to remove the original control and create a strictly typed control refnum. Strictly typed control refnums accept only control refnums of exactly the same data type.。
clad模拟卷2-副本(1)

CLAD 模拟题LabVIEW助理开发工程师考试试题注:考试过程中不允许使用计算机或其他参考资料。
说明:如您收到试卷时,试卷不是在盖有"NI Certification"的密封袋中,请不要开始答题。
请将试卷立即退还给监考人。
您将会收到一份替换试卷。
请不要拆开装订试卷。
如National Instruments收到的试卷有部分缺失或散页,考试成绩视为不通过。
请不要向监考人请求帮助。
如您认为试卷的问题不够清楚,可在问题旁添加注释,然后选择您认为最适合的答案。
不得部分或全部复印或复制试卷。
完成考试后,不得保存试卷的任何部分。
考试详细信息:时间:1小时试题类型:选择题试题数量:40通过分数:70%重要提示:完成考试后,将试卷放入信封内并密封。
将密封好的信封交给监考人。
CLAD 模拟题 答题纸:为了快速找到问题,可将答案记录在本页答题纸上。
撕下该页用于记录答案。
实际的 CLAD 考试中并无 该页,仅供模拟题使用。
答案页在模拟题的最后。
1. _____2._____3._____ 4. _____ 5. _____6. _____7. _____8. _____9. _____10. _____11. _____12. _____13. _____14. _____15. _____16. _____17. _____18. _____19. _____20. _____21. _____22. _____23. _____24. _____25. _____26. _____27. _____28.模拟题:1. 下列关于代码执行的陈述,正确的是a. 循环执行 51 次。
b. 循环执行 50 次。
c. 循环执行 49 次。
d. 连接 50 至 For 循环的总数接线端,与本题代码的执行一致。
2. 下列哪项将生成一个 LabVIEW 事件结构可捕捉到的事件a. 通过鼠标单击改变前面板控件的值b. 通过属性节点更新前面板控件c. 通过控件引用以编程方式更新前面板控件d. 通过 VI 服务器更新前面板控件3. 下列代码执行后,结果显示多少a. 子 VI 执行消耗的毫秒数b. 零c. 自 1970 年 1 月 1 日以来经历的秒数d. 顺序结构执行消耗的毫秒数4. 要在运行时修改前面板控件的一个属性。
CLAD模拟试题.doc

LabVIEW 基礎專業認證(CLAD)模擬測驗試題注意:測驗過程中,禁止使用電腦或任何參考資料。
說明:•請勿擅自撕開任何彌封。
若交還NI 的測驗試題不完整或彌封破損,則將立即失去測驗資格。
•請遵守試卷上的要求。
如果您填錯了准考證號碼,本次測驗將視作無效。
•請在答案卡上填寫所有的答案。
填寫在試卷上的答案將不納入計分標準。
•請勿要求監考人員給予任何協助。
若認為題目不甚清楚,則可標記該問題,並寫下您自己認為較合適的答案與理由,以供NI 閱卷時參考之用。
•您不可攜出此份模擬試題,亦不可用任何方式重現此份試題。
在完成測驗之後,亦不可保留任何試題。
測驗資訊:•測驗時間:1 小時•測驗方式:多重選擇題•測驗題數:40 題•及格分數:70%重要:當應試者完成測驗時,請將試卷放在所提供的信封內並密封之。
將密封的信封交給NI 監考人員。
Q1:關於LabVIEW 程式執行程序,下列何者正確?(請選出所有正確的敘述)A.程式執行順序由控制元件的流程(Control Flow) 所決定B.程式各元件須等到所有資料輸入節點後,才會執行並將資料輸出至端點C.程式執行順序由程式框圖的左邊依序執行到右邊D.通過程式各元件節點的資料流將決定程式執行順序Q2:下列For Loop 將循環幾次?A.3B.4C.5D.6Q3:使用者產生了共100 個資料點,且不平均放置於一段時間之內。
若維持此不平均的擷取點,則下列何項指示元最適於顯示資料?A.Waveform ChartB.Waveform GraphC.XY GraphD.Intensity GraphQ4:下列何項函式可以將浮點數的數值轉換為帶有小數點的字串?A.B.C.D.Q5:若下列程式一開始執行時Random 不更新,當使用者按下Start 按鍵,Random 才開始每1 秒更新一筆亂數,則Initial Time 跟Start Time 應設定成何值,程式執行才會有上述功能?A.Initial Timeout = 1000, Start Timeout = -1B.Initial Timeout = -1, Start Timeout = 1000C.Initial Timeout = 1000, Start Timeout = 0D.Initial Timeout = 0, Start Timeout = 1000Q6:針對下列Producer/Consumer 程式架構,何者敘述正確?A.Consumer Loop的迴圈更新時間為Producer Loop的兩倍B.兩個迴圈之間以Wait Time 函數的數值來同步化C.兩個迴圈之間以Dequeue Element 的Timeout 的數值來同步化D.兩個迴圈之間以LabVIEW 內部時序來進行同步化Q7:將Numeric 設為10 並執行下列程式碼,則程式結束後Numeric 和Result 分別顯示何值?A.Numeric = 2 , Result = 2B.Numeric = 2 , Result = 1C.Numeric = 12 , Result = 12D.Numeric = 12 , Result = 11Q8:執行程式5 秒後按下Latch When Release 按鍵,等待3 秒放開Latch When Release 按鍵,接著經過2 秒後按下Switch When Pressed 按鍵,等待 5 秒放開Switch When Pressed 按鍵,請問Boolean 顯示器於執行程式後7 秒和12 秒時分別顯示何值?A.False, FalseB.False, TrueC.True, FalseD.True, TrueQ9:下列何者變數的使用可避免因程式事件時序的不確定而導致的競賽狀態(Race Condition)?A.區域變數(Local Variable)B.全域變數(Global Variable)C.共用變數(Shared Variable)D.功能型全域變數(Functional Global Variable)Q10:何項方程式等於下列程式碼?A.x=√a×((a+b)2−(c−1))B.x=√a×((c−1)−(a+b)2)C.x=√a×((a+b2)−(c−1))D.x=√a2×((a+b)2−(c−1))Q11:假設啟動了自動錯誤處理(Automatic error handling) 功能,則LabVIEW 是否會於執行下列程式碼結束時顯示錯誤?A.否,此VI 將不會停止B.否,因為Simple Error Handler.vi 將會繼續記錄後續錯誤C.是,因為Merge Errors 函式將只會顯示首次錯誤D.是,但因為Merge Error 函式會收集全部錯誤,所以LabVIEW 將顯示錯誤對話框達2 次Q12:執行下列VI 之後,Data指示元將顯示何值?A.(Data x 5) + 2B.(Data + 2) x 5C.Data + 2D.無法確認Q13:「Wait (ms)」與「Wait Until Next ms Multiple」函式行為的差異是?A.首次呼叫「Wait Until Next ms Multiple」的時間延遲,可能短於接至函式輸入端點的特定ms 秒數B.除非完成該程式碼區段的其他所有函式,「Wait (ms)」函式才會開始計時作業C.若某架構已包含「Wait Until Next ms Multiple Function」函式,則可於獨立執行緒中執行D.「Wait (ms)」函式可讓迴圈不致佔用100% 的CPU 資源;「Wait Until Next ms Multiple」則無此項功能Q14:執行下列程式碼而發生錯誤的原因為何?A.檔案路徑並未接至Open/Create/Replace File 函式的輸入B.未將函式間的錯誤叢集接線C.以錯誤存取而開啟檔案File opened with the incorrect accessD.以上皆是Q15:Q15:將Boolean 控制元設定為Latching When Released。
CLAD Sample Exam-1

LabVIEW助理开发工程师考试为了快速找到问题,可将答案记录在本页答题纸上。
撕下该页用于记录答案。
实际的CLAD考试中并无该页,仅供模拟题使用。
答案页在模拟题的最后。
1._____2._____3._____4._____5._____6._____7._____8._____9._____10._____11._____12._____13._____14._____15._____16._____17._____18._____19._____20._____21._____22._____23._____24._____25._____26._____27._____28._____29._____30._____31._____32._____33._____34._____35._____36._____37._____38._____39._____40._____1.如要考虑状态图应用程序的扩展性,基本结构的最佳选择是?a.顺序结构b.条件结构c.公式节点d.面向对象的结构2.单击_________按钮可跳过程序框图上的节点,而不单步执行该节点。
a.单步步入b.单步步过c.单步步出d.单步调试3.下列关于属性节点的描述,正确的选项有哪些?(选择所有正确的选项)a.属性节点使用户可通过程序方式操控前面板对象。
b.属性节点可用于更新前面板的值。
c.一个前面板对象可有多个属性节点。
d.子VI中包含的属性节点使前面板始终加载至内存。
4.必须从子VI中控制顶层VI的一个前面板控件。
必须传递什么到子VI?a.控件的属性b.控件的方法c.控件的引用d.控件的数据类型5.VI执行后,值输出显示控件显示的值是多少?a.0b. 4c. 5d. 66.在条件结构的假(FALSE)分支的代码中设置断点。
如执行条件结构的真(TRUE)分支,VI执行会暂停吗?a.会b.不会7.哪个属性节点改变子VI中数字数值控件的文本颜色属性?a.b.c.d.8.哪种图表更新模式适合从左到右连续显示数据?a.带状图b.示波器图c.扫描图d.步骤图9.下列哪项不符合数据流编程模型?a.移位寄存器b.隧道c.子VId.局部变量10.如有需要,可将顺序结构替换为下列哪项?a.事件结构b.For循环c.状态机d.While循环11.关于下列代码的陈述,正确的是?a.循环执行1次,循环显示控件显示值1b.循环执行1次,循环显示控件显示值0c.循环无限执行,程序必须中止d.循环不执行,循环显示控件显示值012.与下列代码等价的公式是?a.b.c.d.13.某VI启用了自动错误处理,并调用了一个未启用自动错误处理的子VI。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1. 在何处向VI添加的说明信息会显示在“显示即时帮助”弹出窗口?
a. 使用VI属性说明信息窗口
b. 在即时帮助窗口中输入
c. 在前面板上创建一个自由标签
d. 编辑LabVIEW帮助文件
2. 连线可以在并行执行的循环间传递数据吗?
a. 可以
b. 不可以
3. 下列关于选项卡控件的描述,正确的是?
a. 选项卡控件的输出值是选中的选项卡标签的ASCII值
b. 选项卡控件是一种枚举型控件
c. 选项卡控件的输出值是选项卡上的控件簇
d. 选项卡控件的输出值是前面板上控件的Tab键顺序
4. 运行DataSocket VI之前必须先启动哪个服务器?
a. HTTP服务器
b. DataSocket服务器
c. FTP服务器
d. OPC服务器
5. 强制转换点表示:
a. 数据类型一致
b. 对数据执行多态运算
c. 创建一个数据缓冲区,处理数据转换
d. 数值超出围,应进行强制转换
6. 下列关于程序框图的表述,正确的是?
a. 循环将执行一次,计数接线端
将输出值1
b. 循环将执行一次,计数接线端将输出值0
c. 循环将执行无穷次,需中止程序
d. 循环不执行,计数接线端将输出空值
7. 下列不能用于传递数据的是?
a. 信号量
b. 队列
c. 通知器
d. 局部变量
8. 下列接线端中控制For循环执行次数的是?
a. b. c. d.
9. 在VI前面板上有一个控件,需在运行时修改其属性。
最佳方法是?
a. 创建一个隐式属性节点,选择要修改的属性
b. 创建一个控件引用,将引用传递至属性节点,选择要修改的属性
c. 创建一个至控件的共享变量,选择要修改的属性
d. 创建一个局部变量,选择要修改的属性
10. 公式节点可进行下列哪种运算?
a. 基本编程指令Input和Print
b. 在公式节点中嵌套子VI
c. 与C语言类似的前后递增(++)和递减(--)
d. 嵌套式公式节点结构
11.更新前面板显示控件的最佳方法是?
a. 使用“值”属性节点
b. 直接连线显示控件接线端
c. 使用局部变量
d. 使用功能局部变量
12.下列哪个函数按照元素的自有标签组合簇元素?
a. 按名称解除捆绑
b. 解除捆绑
c. 按名称捆绑
d. 捆绑
13. 选择连接输入时,程序框图上“创建数组”函数的输出是?
a. 一维数组{1, -4, 3, 7, -2, 6}
b. 一维数组{1, 7, -4, -2, 3, 6}
c. 二维数组{{1, -4, 3, 0}, {7, -2, 6}}
d. 二维数组{{1, -4, 3}, {7, -2, 6}}
14. 执行下列代码后,“初始化数组”函数的输出是?
a. 一维数组{3, 3, 3, 3}
b. 一维数组{4, 4, 4}
c. 一维数组{3, 4}
d. 一维数组{4, 3}
15. 使用状态机VI架构的缺点是?
a. 状态机只能按顺序执行状态
b. 如果两个状态同时发生,只处理第一个状态变化,第二个状态变化将丢
失
c. 将通用架构转换为状态机架构后,程序框图将显著增大
d. 状态机不能采集数据或使用DAQ函数
16. 发生错误时停止While循环的最佳方法是?
a. 比较错误簇的状态布尔值与常量,然后将比较结果连接至停止接线端
b. 直接将错误连线连接至停止接线端
c. 创建一个事件结构处理错误事件
d. 使用错误处理器VI自动处理错误
17. 如需模拟Windows对话框的按钮,应选择哪种布尔机械动作?
a. 保持转换直到释放
b. 释放时转换
c. 保持触发直到释放
d. 释放时触发
18. 下列哪个词语组合可完成下列表述?
与__________显示整个波形覆盖已存储的数据不同,___________周期性更新,并保持之前存储数据的历史记录。
a. 图形;图表
b. 图表;绘图区
c. 绘图区;图形
d. 图表;图形
19. 在什么情况下,应选择使用探针工具而非高亮显示执行过程?
a. 查看数据流
b. 查看连线上的实时值
c. 进程运行时,查看子VI
d. 降低VI运行速度,显示连线上的值
20.自定义一个控件:在控件类型下拉菜单中选择“输入控件”,并将控件保存为.ctl 文件。
然后在前面板上使用该自定义控件的实例。
如打开.ctl 文件修改控件,前面板上的控件会有相应改动吗?
a. 有
b. 没有
21. 创建仅输出一个值的子VI,并在某个VI中调用该子VI。
下列哪个选项是通过数据流控制子VI执行的最佳方法? a. 在顺序结构中使用子VI
b. 修改子VI,创建虚输入端,供调用方VI使用
c. 修改子VI,添加错误簇,供调用方VI使用
d. 修改子VI,创建全局变量,供调用方VI使用
22. 执行下列代码后,移位寄存器结果的值是多少?
a. 16
b. 24
c. 32
d. 10
23. 哪种图表刷新模式用于从左到右绘制新数据,然后清除图表,再从左到右更新数据?
a. 带状图表
b. 示波器图表
c. 扫描图
d. 步骤图表
24. 下列哪项说明了全局变量相对于局部变量的优点?
a. 全局变量可在两个同时运行的独立VI之间传递数据
b. 只有全局变量可传递数组数据,局部变量不可传递数组数据
c. 全局变量符合数据流模型,不会造成竞争状态
d. 全局变量使用时不需要自有标签
25. 在运行周期较长的应用程序中,哪个定时函数/VI是最佳选择?
26. 在下列哪个条件下,For循环将停止运行?
a. 条件接线端出现FALSE值,且条件接线端为时
b. 计数接线端的值比总数接线端的值小1时
c. 计数接线端的值比总数接线端的值大1时
d. 以上均不正确
27.输入一个表示圆的数据。
圆的数据包括一个x坐标、一个y坐标以及半径值。
这三个数据都是双精度。
用户今后可能需要保存圆的颜色,颜色值用一个整型变量表示。
如何在前面板窗口表示圆?
a. 使用三个输入控件,两个表示位置和一个表示半径
b. 包含所有数据的簇
c. 包含簇的自定义类型
d. 包含三个元素的数组
28. 下列哪项将产生LabVIEW事件结构可捕捉的事件?
a. 通过鼠标单击更改前面板控件的值
b. 使用属性节点更新前面板控件的值
c. 使用控件引用通过编程更新前面板控件
d. 使用VI服务器更新前面板控件
29. 下列哪项不符合数据流编程方式?
a. 移位寄存器
b. 隧道
c. 子VI
d. 局部变量
30.如其他工程师需通过Microsoft Excel分析已存储的数据,应使用哪种文件存储格式?
a. 用制表符分隔的ASCII
b. 自定义二进制格式
c. TDM
d. 数据记录
31. 下列数组相加后,得到的结果是?
a. 一维数组{80, 20, 40, 10, -60}
b. 一维数组{120, 30, -60}
c. 一维数组{120, 30}
d.
二维数组{{120, 90, 20}, {60, 30, -40}}
32. 下列哪项表述有误?
a. 子VI连线板定义了输入和输出连线
b. 子VI连线板接线端的颜色与其连接的数据类型匹配
c. 子VI必须有图标/连线板,方可使用
d. 在函数选板上可编辑子VI图标
33. 创建数组最简单直接的方法是:
a. 使用For循环,启用自动索引
b. 在While循环中放置一个“创建数组”函数
c. 初始化数组,然后在While循环中替换元素
d. 使用While循环,启用自动索引
34. 下列程序框图代表了哪种常见的VI架构?
a. 多条件结构VI
b. 通用VI
c. 状态机VI
d. 并行循环VI
35. 下列关于计数接线端的表述,正确的是?
a. 计数接线端将返回循环已执行的次数
b. 计数接线端将返回循环已执行的次数加
1 c. 计数接线端将返回循环已执行的次数减1 d. 计数接线端将返回一个常数
36. 下列哪个程序框图将生成该前面板?
37. 下列哪个程序框图将产生该波形图?
下列问题可能有一个以上选项。
请圈出所有正确答案。
38. 如子VI的某个输入端的名称在显示即时帮助窗口中以粗体显示,下列表述正确的是?
a. 输入值必须是标量
b. 输入为推荐连线,非必需连线
c. 输入为必需连线
d. 如未连接该输入端,运行按钮将断开
39.下列关于属性节点的表述,正确的是?
a. 使用属性节点可通过编程设置前面板对象的属性
b. 属性节点可用于更新前面板对象的值
c. 一个前面板对象可使用多个属性节点
d. 子VI中包含的属性节点可将子VI的前面板加载至存
40. 子VI的哪个/哪些部分是常驻存的?
a. 数据空间
b. 前面板
c. 程序框图
d. 代码。