LabVIEWCLAD模拟试题
LabVIEW助理开发员认证(CLAD)试题

LabVIEW助理开发员认证(CLAD)[单项选择题]1、LabVIEW按照哪种编程结构执行程序框图代码?()A.控制流,程序的执行顺序由编程元素的顺序确定B.从上至下,程序从程序框图的顶部开始执行,一直往下C.从左至右,程序从程序框图的左边开始执行,一直往右D.数据流模型,程序框图根据数据流向执行参考答案:D[单项选择题]2、程序功能注释应包含在()A.程序框图B.连线板bVIEW.hlp文件D.以上均不正确,图形化编程中无需添加注释参考答案:A[单项选择题]3、对一系列函数或计算进行编程时,以下哪种方式可获得最佳性能?()A.层叠式顺序结构B.平铺式顺序结构C.A和B可获得相同的性能参考答案:C[单项选择题]4、程序框图中添加的注释()A.用于添加VI中控件属性的说明信息B.用于添加程序框图中所有函数/子VI的说明信息C.用于添加代码功能的说明信息D.无需添加注释,LabVIEW可自动添加参考答案:C[单项选择题]5、以下哪种情况必须使数据连线通过结构?()A.使连线更简单B.节省空间C.在结构中使用该数据D.以上均正确参考答案:C[单项选择题]6、在While循环中添加定时函数可()A.释放内存B.保留内存C.释放CPUD.保留CPU参考答案:C[单项选择题]7、以下哪种方法不适用于创建一维数组?()A.在前面板上放置数组外框,并将控件拖曳至该外框B.使用While循环,禁用自动索引C.使用For循环,启用自动索引D.使用初始化数组函数参考答案:B[单项选择题]8、下列哪个函数按照元素的自有标签组合簇元素?()A.按名称解除捆绑B.解除捆绑C.按名称捆绑D.捆绑参考答案:C[单项选择题]9、选择连接输入时,程序框图上“创建数组”函数的输出是?()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}}参考答案:A[单项选择题]10、关于下图的表述,正确的是()A.自动索引已禁用B.For循环仅输出生成的第10个值C.For循环的输出为包含10个元素的一维数组D.A和BE.A和C参考答案:C[单项选择题]11、加法运算的结果是()A.一维数组{20,4,7}B.一维数组{20,12,15}C.一维数组{12,4,15}D.一维数组{20}参考答案:B[单项选择题]12、以下关于数组常量的表述,不正确的是()A.程序框图中创建的数组常量,在前面板中不可见B.无法调整数组常量的大小以包含多个元素C.允许复制并拖曳前面板上的现有数组至程序框图,以创建相同类型的常量D.数组常量可执行所有的数组操作参考答案:B[单项选择题]13、以下哪个簇函数的输出接线端数量仅取决于输入簇的元素数量?()A.按名称解除捆绑B.解除捆绑C.按名称捆绑D.捆绑参考答案:B[单项选择题]14、执行下列代码后,输出数组中的结果是?()A.一维数组{6,3,5,7,9,1}B.一维数组{6,7,9,1}C.一维数组{4,6,3,5,7,9,1}D.一维数组{4,7,9,1}参考答案:B[单项选择题]15、簇函数:()A.允许将多种数据类型组合为逻辑结构B.在前面板中通过图表或图形表示数据C.用于在程序框图中区分数据类型D.在前面板中按数据类型区分数据对象参考答案:A[单项选择题]16、以下哪种方法不适用于创建二维数组:()A.在前面板中右键单击现有一维数组,在快捷菜单中选择添加维度B.使用两个嵌套的For循环并启用自动索引C.使用定位工具调整索引显示的大小D.在前面板上放置数组,并将另一个数组拖放至该数组参考答案:D[单项选择题]17、下列数组相减后,得到的结果是?()A.一维数组{-25,25,50}B.一维数组{-25,25}C.二维数组{{-25,-50,-50},{50,25,25}}D.一维数组{75,-50,25}参考答案:B[单项选择题]18、下列哪种图表更新方式用垂直线分割新旧数据进行比较(类似于心电图仪EKG)?()A.带状图表B.示波器图表C.扫描图表D.分步图表参考答案:C[单项选择题]19、哪种组合适用于下列表述?()可显示最新写入的值数组,()周期性更新历史数据。
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 2014 模拟卷 2

LabVIEW助理开发工程师考试模拟试题注:考试过程中不允许使用计算机或其他参考资料。
说明:∙请不要拆开装订试卷。
如National Instruments收到的试卷有部分缺失或散页,考试成绩视为不通过。
∙请按照答题纸上的说明答题。
如考生ID输入有误,考试成绩将视为无效。
∙将所有问题写在答题纸上。
写在试题册上的答案不予评分。
∙请不要向监考人请求有关问题答案的帮助。
∙不得部分或全部复印或复制试卷。
完成考试后,不得保存试卷的任何部分。
考试详细信息:∙时间:1小时∙试题类型:选择题∙试题数量:40∙通过分数:70%重要提示:完成考试后,将试卷放入信封内并密封。
将密封好的信封交给监考人。
答题纸:如需快速查看您的答题情况,可在此答题纸上记录您的答案。
答题结束后将此页撕下与参考答案进行对照。
此答题纸仅用于练习之目的,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._____Q1: 下列哪个用户界面事件可使代码在LabVIEW执行该事件相关的默认操作前响应?A 鼠标按下B 前面板大小调整C 前面板关闭?D 值改变Q2: 将触发控件配置为转换的机械动作。
VI要求显示数量值,用于追踪触发发生“值改变”(值变为TRUE)事件的次数。
CLAD模拟试题

LabVIEW 基礎專業認證(CLAD)模擬測驗試題注意:測驗過程中,禁止使用電腦或任何參考資料。
說明:•請勿擅自撕開任何彌封。
若交還NI 的測驗試題不完整或彌封破損,則將立即失去測驗資格。
•請遵守試卷上的要求。
如果您填錯了准考證號碼,本次測驗將視作無效。
•請在答案卡上填寫所有的答案。
填寫在試卷上的答案將不納入計分標準。
•請勿要求監考人員給予任何協助。
若認為題目不甚清楚,則可標記該問題,並寫下您自己認為較合適的答案與理由,以供NI 閱卷時參考之用。
•您不可攜出此份模擬試題,亦不可用任何方式重現此份試題。
在完成測驗之後,亦不可保留任何試題。
測驗資訊:•測驗時間:1 小時•測驗方式:多重選擇題•測驗題數:40 題•及格分數:70%重要:當應試者完成測驗時,請將試卷放在所提供的信封內並密封之。
將密封的信封交給NI 監考人員。
Q1:下列何項端點將顯示For Loop 或While Loop 的迴圈循環計數(Loop Iteration) ?A.B.C.D.Q2:若欲將數值100資料型態為Unsigned Byte 儲存至文件檔,下列何種儲存方式所生成的文件檔案最小?A.B.C.D.Q3:若要顯示下圖數據,應使用哪一種圖表?A.Waveform ChartB.Waveform GraphC.XY GraphD.Dynamic ChartQ4:對subVI 而言,若「Context Help」視窗中的輸入名稱是以粗體顯示,則下列何項條件正確?(請選出所有適用的敘述)A.輸入值必定為純數(Scalar)B.此輸入為建議使用,而並非必要輸入C.此輸入為必要輸入D.若此輸入並未接線,則原VI (Calling VI) 將中斷Q5:下列何項算數函式將優先執行?A.加B.減C.乘D.無法確定Q6:執行下列VI 之後,Result指示元顯示為何?A.0B.3C.6D.18Q7:何項變數可避免同步存取資料或程式碼時,會將競賽狀態(Race condition) 降至最低?A.功能型全域變數(Functional Global Variable)B.區域變數(Local Variable)C.全域變數(Global Variable)D.共用變數(Shared Variable)Q8:下列關於變數(Variable) 的功能描述何者有誤?A.區域變數(Local Variable) 可於單一VI 中傳遞資料B.共享變數(Shared Variable) 可於單一專案中的多個VI 之間傳遞資料C.全域變數(Global Variable) 可於單一電腦中的多個VI 之間傳遞資料D.功能型全域變數(Functional Global Variable) 可跨多個電腦的多個VI之間傳遞資料Q9:下列何項不是LabVIEW 既有的除錯功能?A.停止值(Stop Values)B.標示執行(Highlight Execution)C.單步執行(Single Stepping)D.中斷點(Breakpoint)Q10:關於下列程式碼的描述,何項正確?A.While Loop 將循環1 次之後停止B.While Loop 將循環4 次之後停止C.While Loop 將循環5 次之後停止D.While Loop 將無限循環Q11:若使用通知器(Notifier) 同步兩組平行迴圈如下圖,將會產生什麼問題?A.因為通知器(Notifier) 未具備Timeout ,故會產生時序的問題B.因為通知器(Notifier) 並不會緩衝資料,故會產生資料遺失的問題C.因為通知器(Notifier) 只傳送單一數值,故會產生重複讀取的問題D.因為Master 迴圈所傳送的資料,Slave 迴圈可能不會讀取,故會產生記憶體累加的問題Q12:執行下列程式碼,若按下Boolean 按鍵後,則Numeric顯示器的數值為何?A.0B.10C.無法確定,應參考其他Event Case 的程式碼,才可決定該值D.此VI 不會停止Q13:下列何項Property Node 可在subVI 中變更任意數字顯示器(Digital Numeric) 的色彩設定?A.B.C.D.Q14:下列選項中,何時可使用Probe工具取代Highlight Execution?A.減緩VI 執行速度,並於接線上顯示數值B.呈現資料流向C.觀看接線上的即時數值D.於VI 程序執行期間觀看SubVIQ15:將Boolean 控制元設定為Latching Until Released。
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 考试样题

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. 要在运行时修改前面板控件的一个属性。
- 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、代码。