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. 要在运行时修改前面板控件的一个属性。
CLAD考试题目
bVIEW.hlp文件中b.文件»VI属性»说明信息bVIEW.ini文件中d.帮助»关于VI2) 通过LabVIEW中的哪个功能可使用常用的VI架构进行快速编程?a.VI向导b.VI起步c.VI模板d.VI模式3) LabVIEW按照哪种编程结构执行程序框图代码?a.控制流,程序的执行顺序由编程元素的顺序确定b.从上至下,程序从程序框图的顶部开始执行,一直往下c.从左至右,程序从程序框图的左边开始执行,一直往右d. 数据流模型,程序框图根据数据流向执行4) 创建大型应用程序时,子VI的说明信息:a. 与顶层VI同等重要b. 顶层VI更加重要c. 完全不重要并且非必须d. 仅用于大型的应用程序5) 下图是哪种常见的VI架构?a.多条件结构VIb.通用VIc.状态机VId.并行循环VI6) 程序功能注释应包含在:a. 程序框图b. 连线板c. LabVIEW.hlp文件d. 以上均不正确,图形化编程中无需添加注释7)下列哪种方法不适用于添加LabVIEW程序的文档说明信息a.选择VI属性>>说明信息b.选择前面板对象的属性页c.双击子VI图标并选择说明信息d.右键单击前面板对象并选择说明和提示8) 哪种VI架构允许用户同时运行多个任务?a.多条件结构VIb.并行循环VIc.状态机VId.以上均不正确9) 对一系列函数或计算进行编程时,以下哪种方式可获得最佳性能?a. 层叠式顺序结构b. 平铺式顺序结构c. A和B可获得相同的性能10) 以下答案中匹配VI架构类型和对应程序框图是?A. B.a. A - 状态机VI;B - 简单VIb. A - 通用VI;B - 状态机VIc. A - 通用VI;B - 简单VId. A - 简单VI;B - 状态机VI11) 以下哪种VI架构类型最适合在大型应用程序中将执行功能(例如,计算、转换和数据修改)保存为子VI?a.简单VIb.UI事件处理器c.队列消息处理器d.以上均不正确12) 程序框图中添加的注释:a. 用于添加VI中控件属性的说明信息b. 用于添加程序框图中所有函数/子VI的说明信息c. 用于添加代码功能的说明信息d. 无需添加注释,LabVIEW可自动添加13) 以下关于顺序结构的表述,不正确的是:a.尽可能将顺序结构替换为包含条件结构的While循环b.顺序结构可确保执行顺序c.在VI中使用单个顺序结构将禁止并行操作d.顺序结构的某一帧发生错误时将停止执行14) VI模板通过哪种方式减少编程时间?a.为常用VI类型提供起始编程信息b.为用户自动生成代码c.允许用户保存部分代码并用于后期应用程序开发d.A和Be.A和C15) 以下哪种情况必须使数据连线通过结构?a. 使连线更简单b. 节省空间c. 在结构中使用该数据d. 以上均正确16) 状态机VI架构的缺点是?a.状态机VI只能按顺序执行状态b.如果两个事件同时发生,只处理第一个事件,第二个事件将丢失c.通用架构转换为状态机架构后,程序框图将显著增大d.状态机不能采集数据或使用DAQ函数17) 以下关于强制转换点的表述,正确的是?a.强制转换点可提高程序的性能b.强制转换点表示数据类型的转换c.强制转换点可提高内存的使用效率d.A和Be.B和C18) 在While循环中添加定时函数可:a. 释放内存b. 保留内存c. 释放CPUd. 保留CPU19) 在同一VI中传递数据的最佳方法是?a.连线b.全局变量c.局部变量d.以上均正确20) 动作2中的代码何时执行?a.执行动作1的代码之后b.动作1和动作2布尔值为TRUE时c.动作2的布尔值为TRUE时d.每次循环时1)下列关于数组的表述哪项有误?a.数组可用于保存由循环生成的数据b.数组元素无索引c.数组可包含输入控件或显示控件,但无法同时包含两种控件d.数组可组合相同类型的数据元素2)以下哪种方法不适用于创建一维数组:a.在前面板上放置数组外框,并将控件拖曳至该外框b.使用While循环,禁用自动索引c.使用For循环,启用自动索引d.使用初始化数组函数3)簇控件的优点是?a.通过簇按照逻辑组合相关数据元素b.簇可增加子VI连线板接线端的数量c.簇可减少程序框图上的连线混乱d.A和Be.A和C4)执行下列代码后,最大值和最大索引分别是多少?a.7, 3b.7, 4c.1, 5d.6, 05)下列哪个函数按照元素的自有标签组合簇元素?a.按名称解除捆绑b.解除捆绑c.按名称捆绑d.捆绑6)下图显示的函数是?a.解除捆绑b.按名称解除捆绑c.捆绑d.按名称捆绑7)下图中“数组大小”的输出是?a.一维数组{2, 3}b.一维数组{3, 2}c. 2d.以上均不正确8)选择连接输入时,程序框图上“创建数组”函数的输出是?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}}9)未选择连接输入时,程序框图上“创建数组”函数的输出是?a.一维数组{2, 4, 7, 6, 3}b.一维数组{6, 3, 2, 4, 7}c.二维数组{{2, 4}, {6, 3}}d.二维数组{{2, 4, 7}, {6, 3, 0}}10)减法运算的结果是?a.一维数组{5, 7, 1, 5}b.一维数组{5, 12, 1, 14}c. 一维数组{14}d. 一维数组{14, 7, 1, 14}11)关于下图的表述,正确的是?a.自动索引已禁用b.For循环仅输出生成的第10个值c.For循环的输出为包含10个元素的一维数组d.A和Be.A和C12)执行下列代码后,最小值和最小索引分别是多少?a.0, 5b.0, 7c.10, 5d.0, 613)关于下图的表述,不正确的是?a.由于已启用自动索引,无需连接总数(N)接线端b.输入数组元素中每次有一个元素进入循环c.输出数组与输入数组的大小相同d.如在For循环右侧禁用自动索引,输出仍为一维数组e.以上均正确14)加法运算的结果是?a.一维数组{20, 4, 7}b.一维数组{20, 12, 15}c. 一维数组{12, 4, 15}d. 一维数组{20}15)允许同时包含输入控件和显示控件的是?a.数组b.簇c.A和Bd.以上均不正确16)以下关于数组索引的表述,不正确的是:a.索引可用于访问数组中特定元素b.二维数组包含列索引和行索引c.索引范围为0至n-1d.索引范围为1至n17)以下关于数组常量的表述,不正确的是:a.程序框图中创建的数组常量,在前面板中不可见b.无法调整数组常量的大小以包含多个元素c.允许复制并拖曳前面板上的现有数组至程序框图,以创建相同类型的常量d.数组常量可执行所有的数组操作18)数组传递至循环结构时,使用For循环的优势是?a.For循环允许在结构边框调整数组大小b.For循环允许在结构边框自动初始化数组c.遍历数组时For循环可获取最佳性能d.默认情况下For循环允许自动索引数组19)关于数组和簇区别的表述,正确的是?a.无法通过簇将数据传递至子VI,但可以使用数组b.数组无法包含显示控件和输入控件,但簇可包含两种控件c.数组元素为有序,而簇的元素为无序d. 簇可包含多种数据类型,而数组仅允许包含一种数据类型20)以下哪个簇函数的输出接线端数量仅取决于输入簇的元素数量?a.按名称解除捆绑b.解除捆绑c.按名称捆绑d.捆绑21)“索引数组”函数:a.返回单个元素或从指定索引开始的n维数组的子数组b.返回数组中各个维度的元素个数c.连接多个数组或将元素添加至n维数组d.查找元素并返回元素索引22)执行下列代码后,子数组中的结果是?a.一维数组{8, 5, 7}b.一维数组{10, 8, 5}c.一维数组{10, 8, 5, 7}d.一维数组{7, 10, 8, 5}23)“数组大小”函数:a.仅支持一维数组并返回该数组大小b.支持n维数组并返回每个维度的大小c.支持空的一维数组并允许用户设置数组大小d.支持空的n维数组并允许用户设置每个维度的大小24)执行下列代码后,输出数组中的结果是?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}25)执行下列代码后,输出数组中的结果是?a.一维数组{2, 4}b.一维数组{5, 3}c.一维数组{2, 5, 1}d.一维数组{4, 3, 0}26)执行下列代码后,初始化数组中的结果是?a.一维数组{3, 3, 3, 3}b.一维数组{4, 4, 4}c.一维数组{3, 4}d.一维数组{4, 3}27)簇函数:a.允许将多种数据类型组合为逻辑结构b.在前面板中通过图表或图形表示数据c.用于在程序框图中区分数据类型d.在前面板中按数据类型区分数据对象28)关于簇的表述,正确的是?a.簇中放置的第一个对象为元素0b.簇中放置的第一个对象为元素1c.如在簇中删除一个元素,必须手动调整元素的顺序d.簇元素的顺序取决于外框中的物理位置29)执行下列代码后,“索引数组”输出的数据类型是?a.双精度数组b.双精度c.整型(I32)数组d.整型(I32)30)以下哪种方法不适用于创建二维数组:a.在前面板中右键单击现有一维数组,在快捷菜单中选择添加维度b.使用两个嵌套的For循环并启用自动索引c.使用定位工具调整索引显示的大小d.在前面板上放置数组,并将另一个数组拖放至该数组31)簇中元素顺序未知时,通过以下哪个函数可替换现有簇中的元素?a.按名称解除捆绑b.解除捆绑c.按名称捆绑d. 捆绑32)下列数组相加后,得到的结果是?a.一维数组{80, 20, 40, 10, -60}b.一维数组{120, 30, -60}c.一维数组{120, 30}d.二维数组{{120, 90, 20}, {60, 30, -40}}33)下列数组相减后,得到的结果是?a.一维数组{-25, 25, 50}b.一维数组{-25, 25}c.二维数组{{-25, -50, -50}, {50, 25, 25}}d.一维数组{75, -50, 25}34)以下表述不正确的是?a. 允许创建包含簇的簇b. 允许创建包含数组的数组c. 允许创建包含数组的簇d. 允许创建包含簇的数组e. 以上均正确35)执行下列代码后,“创建数组”函数的输出是?a.一维数组{4, 8, 3, 3, 6, 4}b.一维数组{4, 2, 3, 6, 4}c.二维数组{{4, 8, 3}, {3, 6, 4}}d.二维数组{{4, 2, 0}, {3, 6, 4}}1)下列哪种图表更新方式用垂直线分割新旧数据进行比较(类似于心电图仪EKG)?a.带状图表b.示波器图表c.扫描图表d.分步图表2)下列哪种图表更新方式从左至右绘制数据,然后清除图表的历史数据并绘制新的数据?a.带状图表b.示波器图表c.扫描图表d.分步图表3)下列哪种图表更新方式从左至右在图表中滚动显示运行数据?a.带状图表b.示波器图表c.扫描图表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。
labview考试样题一 英语
Certified LabVIEW Associate Developer ExamTest BookletNote: The use of the computer or any reference materials is NOT allowed during the exam.Instructions:If you did not receive this exam in a sealed envelope stamped "NI Certification," DO NOT ACCEPT this exam. Return it to the proctor immediately. You will be provided with a replacement exam.∙ 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 havefailed the exam.∙ Please do not ask the proctor for help. If you believe the intent of a question is not clear, you may note that question, and your reasons for choosing the answer you believe best fits thequestion.∙ 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 envelopewith you answer sheet and SEAL the envelope. Give the sealed envelope to your proctor.To quickly check your answers against the solutions on the Solutions Page, 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 Page 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._____1.How do you document a VI so that the description appears in the Show Context Helppopup window?e the VI Properties Documentation windowb.Type in the Show Context Help windowc.Create a free label on the front paneld.Edit the LabVIEW help files2.Can a wire be used to pass data between loops that are intended to run in parallel?a.Yesb.No3.Which of the following describes a Tab Control?a. A control that outputs ASCII values equal to the selected tab labelb. A type of enumerated controlc. A control that outputs a cluster of the controls / indicators on the tabsd. A controls that outputs the tab order of the controls on the front panel4.What is an advantage of using a Strictly Typed VI refnum?a.The data types of the target VI are known at compile timeb.The data types passed to the VI can change programmaticallyc.You can flatten the data to a string to improve code performanced.Causes dynamically loaded VIs to be loaded at the start of execution5. A coercion dot indicates that:a.The data types are consistentb. A polymorphic operation will be performed on the datac. A data buffer is created to handle data conversiond.Data values are being coerced because they are out of rangea.The loop will execute once and the iteration terminal,, will output a valueof oneb.The loop will execute once and the iteration terminal,, will output a valueof zeroc.The loop will execute infinitely and the program will have to be abortedd.The loop will not execute and the iteration terminal,, will return a nullvalue7.Which of the following cannot be used to transfer data?a.Semaphoresb.Queuesc.Notifiersd.Local variables8.Which of the following terminals controls how many times a For loop executes?a.b.c.d.9.You have a control on the front panel of a VI and you need to modify one of itsproperties 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 modifyb.Create a control reference, pass the reference to a property node and select theproperty to modifyc.Create a linked shared variable and select the property to modify the propertyd.Create a local variable and select the property to modify10.Formula nodes accept which of the following operations?a.Basic programming language instructions Input and Printb.Embedding of SubVIs within the Formula Nodec.Pre and post increment (++) and decrement (--) as in the C languaged.The use of nested Formula Node structuresa.1-D Array of {1, -4, 3, 7, -2, 6}b.1-D Array of {1, 7, -4, -2, 3, 6}c.2-D Array of {{1, -4, 3, 0}, {7, -2, 6}}d.2-D Array of {{1, -4, 3}, {7, -2, 6}}14.What is the output of the Initialize Array function after the following code hasexecuted?a.1-D Array of {3, 3, 3, 3}b.1-D Array of {4, 4, 4}c.1-D Array of {3, 4}d.1-D Array of {4, 3}a.16b.24c.32d.1023.Which Chart update mode should be used to draw new data from left to right, thenclear the chart and draw new data again from left to right?a.Strip Chartb.Scope Chartc.Sweep Chartd.Step Chart24.Which of the following illustrates an advantage of a global variable over a localvariable?a. A global variable can pass data between two independent VIs runningsimultaneouslyb.Only the global variable can pass array data, local variables cannotc.Global variables follow the dataflow model, and therefore cannot cause raceconditionsd.Global variables do not require owned labels to operateb.c.d.26.Under which of the following conditions does a For loop stop executing?a.When a false value is present at the conditional terminal and the conditionalterminal isb.When the value of the iteration terminal, , is one less than the value of thecount terminal,c.When the value of the iteration terminal, , is one more than the value of thecount terminal,d.None of the above27.You are inputting data that represents a circle. The circle data includes an x position,a y position, and a radius. All three pieces of data are double-precision. In the future,you might need to store the color of the circle, represented as an integer. How should you represent the circle on your front panel window?a.Three separate controls for the two positions and the radius.b. A cluster containing all of the data.c. A type definition containing a cluster.d.An array with three elements.28.Which of the following will cause an event to be captured by the LabVIEW EventStructure?a.Changing a value on a Front Panel control via a mouse clickb.Update of a Front Panel control using a property nodec.Programmatic update of a Front Panel control via a control referenceing VI Server to update a Front Panel controla.1-D Array of {80, 20, 40, 10, -60}b.1-D Array of {120, 30, -60}c.1-D Array of {120, 30}d.2-D Array of {{120, 90, 20}, {60, 30, -40}}32.Which of the following statements is false?a. A SubVI connector pane defines where to wire inputs and outputsb.The color of a SubVI connector pane terminal matches the data type it isconnected toc.You must have an icon/connector to use a SubVId. A SubVI icon can be edited from the functions palette33.The most efficient method for creating an array is:ing a For loop with Auto-indexingb.Placing a build array function in a While loopc.Initializing an array and then replacing elements in a While looping a While loop with Auto-Indexinga.Multiple Case Structure VIb.General VIc.State Machine VId.Parallel Loop VI35.Which of the following statements is true about the iteration terminala.It returns the number of times the loop has executedb.It returns the number of times the loop has executed, plus onec.It returns the number of times the loop has executed, minus oned.It returns a constant number36.For implementing state diagrams that allow future application scalability, the bestchoice for a base structure is?a.Sequence structureb.Case structurec.Formula noded.Object-Oriented structurea.b.c.answers.38.If an input name on the Show Context Help window is in bold for a SubVI, which ofthe following conditions are true?a.Input values must be scalar.b.An input is recommended, but not required.c.An input is required.d. A broken run arrow will result unless the input is wired.39.Which of the following apply to Property Nodes?a.Property Nodes allow attributes of front panel objects to be programmaticallymanipulated.b.Property Nodes can be used to update the values contained in a front panelobject.c.More than one Property Node can be used for a single front panel object.d.Property Nodes contained in a SubVI will always cause the front panel to beloaded in memory.40.Which VI memory components are ALWAYS resident for a SubVI?a.Data Spaceb.Front Panelc.Block Diagramd.CodeBelow are the answers and links to additional resources 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 answer page is not included in the actual CLAD exam; it is included here for practice purposes only.Question Answer Resources on Topic1 A Developing User Documentation2 B Parallel FOR Loops3 B Creating Tab Controls4 A Control References: Overview5 C How Does LabVIEW Round and Coerce Values?6 C Tutorial: For Loops and While Loops7 A Application Design Patterns: Master/Slave8 D Tutorial: For Loops and While Loops9 A Control References: Overview10 C Formula Node Syntax11 B Tutorial: Front Panel12 C Tutorial: Arrays and Clusters13 A How to Concatenate Multiple Arrays in LabVIEW14 A Tutorial: Arrays and Clusters15 B Application Design Patterns: State Machines16 B Tutorial: For Loops and While Loops17 D Mechanical Action of Buttons18 A What Is the Difference Between Graphs and Charts in LabVIEW?19 B Tutorial: Debugging Tips and Tricks20 B Creating Custom Controls, Indicators, and Type Definitions21 C Tutorial and Video: Dataflow, SubVI, and Parallelism in NI LabVIEW22 C Tutorial: Timing, Shift Registers, and Case Structures23 B Chart Update Modes in LabVIEW and Measurement Studio24 A Are LabVIEW global variables good or bad, and when is it OK to use them?25 C Timing VIs and Functions26 B Tutorial: For Loops and While Loops27 C Creating Custom Controls, Indicators, and Type Definitions, Tutorial: Arraysand Clusters28 A Event-Driven Programming in LabVIEW29 D Tutorial: Local Variable, Global Variable, and Race Conditions30 A Appending Data to an Excel Spreadsheet Using Write to Spreadsheet File.viDoes Not Update the File.31 C Tutorial: Arrays and Clusters32 D Tutorial and Video: Dataflow, SubVI, and Parallelism in NI LabVIEW33 A Tutorial: Arrays and Clusters34 C Application Design Patterns: State Machines35 C Tutorial: For Loops and While Loops36 B Tutorial: Timing, Shift Registers, and Case Structures, For Loop and While Loop Structures38 C,D Tutorial and Video: Dataflow, SubVI, and Parallelism in NI LabVIEWProperty Node39 A,B,C,D40 A,D Tutorial and Video: Dataflow, SubVI, and Parallelism in NI LabVIEW。
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。
clad_exam_topics
LabVIEW助理开发员认证(CLAD)认证与考试概述认证概述NI LabVIEW认证项目包含以下三个认证等级:●LabVIEW助理开发员认证(CLAD)●LabVIEW开发员认证(CLD)●LabVIEW架构师认证(CLA)每个等级是进行下一等级认证的先决条件。
CLAD对LabVIEW完整开发系统中可用的核心特性和功能具备广泛而全面的理解,并且能够应用这些知识开发、调试、维护小型LabVIEW模块。
CLAD一般相当于具备使用LabVIEW 完整开发系统6至9个月的使用经验。
CLD具备开发、调试、部署与调试中大型LabVIEW应用程序的经验。
CLD具有连续使用LabVIEW开发中大型应用程序长达12至18个月的专业经验。
CLA具备使用LabVIEW进行多开发员环境应用开发的能力。
CLA不仅具备将项目规范分解为可管理的LabVIEW组件的技术知识和软件开发经验,还能够通过有效利用项目和配置管理工具管理项目的进行。
CLA是具备使用LabVIEW开发中大型应用程序长达24个月的专家。
说明:CLAD认证是参加CLD考试的先决条件。
CLD认证是参加CLA考试的先决条件。
对于这些考试的要求没有例外。
认证与考试概述考试概述产品:LabVIEW完整开发系统Windows版8.0。
参阅/labview/how_to_buy.htm了解在LabVIEW完整开发系统中可用特性的细节。
考试时间:1小时问题数量:40道问题形式:多项选择通过成绩:70%考试考核应用程序知识,而不是记忆菜单步骤或是VI与组件名称的能力。
禁止在考试中使用LabVIEW或其他外部资源。
如果需要帮助或是在适当的时候,将在考试中提供LabVIEW帮助的截屏。
为了维持考试的公正性,禁止复印或复制考试的任何部分。
如果未能遵守将无法通过考试。
在基于纸张进行考试的考试地区,取下装订用的定书钉的考卷不经过审核,直接定为不合格。
考试后勤美国与欧洲:CLAD考试可以在Pearson Vue测试中心进行。
CLAD模拟试题
"NATIONAL ^INSTRUMENTSLabVIEW基礎專業認證(CLAD)模擬測驗試題注意:測驗過程中・禁止使用電腦或任何參考資料。
說明:•請勿擅自撕開任何彌封•若交還NI的測驗試題不完整或彌封破損・則將立即失去測驗資格。
•請遵守試卷上的要求。
如果您填錯了准考證號碼,本次測驗將視作無效。
•請在答棊卡上填寫所有的答案。
填寫在試卷上的答棊將不納入計分標準。
•話勿要求監考人員給予任何協助。
若認為題目不甚淸楚,則可標記該問題,並寫下您自己認為較合適的答乗與理由,以供NI閱卷時參考之用-•您不可攜出此份模擬試題,亦不可用任何方式重現此份試題。
在完成測驗之後,亦不可保留任何試題-測驗資訊:•測驗時間:1小時•測驗方式:多重選擇題•測驗題數:40題•及格分數:70%重要:當應試者完成測驗時•請将試卷放在所提供的信封內並密封之。
將密封的信封交給NI監Q1:關於LabVIEW程式執行程序,下列何者正確?(請選出所有正確的敘述)A. 程式執行順序由控制元件的流程(Control Flow)所決定B. 程式各元件須等到所有資料輸人節點後•才會執行並將資料愉出至端點C 程式執行順序由程式框圖的左邊依序執行到右邊D.通過程式各元件節點的資料流將決定程式執行順序Q2:下列For Loop將循環幾次?A.B.D.Q3:使用者產生了共100個資料點,且不平均放置於一段時間之內。
若維持此不平均的撷取點,則下列何項指示元最適於顯示資料?A. Waveform ChartB. Waveform GraphC XY GraphD. Intensity GraphQ4:下列何:貞函式可以將浮點數的數值轉換為帶有小數點的字串?Number To Decimal StringA.B. C Number To Hexadecimal String Number To Octal StringD. Format Into String R3Q5:若下列程式一開始執行時Random不更新 > 當使用者按下Start按鍵> Random才開始每1秒更新一筆亂數,則Initial Time跟Start Time應設定成何值,程式執行才會有上述功能?A. Initial Timeout = 1000, Start Timeout = -1B. Initial Timeout = A, 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分別顯示何值?Numeric Result新0 0NumericA. 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秒時分別顯示何值?___ latch When ReleasedHoSwitch When PressedLatch When Released....A. False, FalseB. "Ig TrupC True, FalseD・ True, TrueSwitch When Pressed Or Boolean ::-…-[LT£J]stopNumeric NumericBooleanSTOPQ9:下列何者變數的使用可避免因程式事件時序的不確定而導致的競賽狀態(Raw Condition) ?A. 區域變數(Local Variable)B. 全域變數(Global Variable)C 共用變數(Shared Variable)D. 功能型全域變數(Functional Global Variable)QIO:何項方程式等於下列程式as?^-T -------------- O O 鎖暨》 AQU:假設敢動了口動錯誤處理(Automatic error handling)功能,則LabVIEW是否會於執行下列程式碼結束時顯示鉛誤?A. 否,此VI將不會停止B. 否*因為Simple Error Handler.vi將會繼續記錄後續錯誤C 是,因為Merge Errors函式將只會顯示首次錯誤D. 是,但因為Merge Error函式會收集全部錯誤,所以LabVIEW將顯示錯誤對話框達2次Q12:執行下列VI 之後> Mta 指示元將顯示何值?A.(Data x 5) + 2 B. (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 若某架構C 包含 Wait Until Next ms Multiple Function j 函式,則可於獨立執行绪中執行D. Wait (ms)」函式可讓迴圈不致佔用100%的CPU 資源;r Wait Until Next ms Multiple 」則無此項功能 Q14:執行下列程式碼而發生錯誤的原冈為何?A.檔案路徑並未接至Open/Geate/Replace File 函式的愉入 B.未將函式間的錯誤叢集接線 C 以錯誤存取而開啟檔案 File opened with the incorrect accessD.以上皆是 access (0:read/write)Open/Create/Replace File Read from Text File Close Filewrite-only ^|— textQ15: Q15:將Boolean控制元設定為Latching When Released。
CLAD 考试题1
Certified LabVIEW Associate Developer Sample Exam 1Test 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: You must include the option to cancel when a user attempts to interactively close the front panel by selecting File>>Close.Which Event case allows this functionality?ABCDQ2: You must generate code that responds to multiple value change events using a Boolean control while maintaining a latching mechanical action.Which programming step is NOT required?A Including or reading the Boolean control terminal in a loopB Including the Event Structure within a loopC Configuring a Timeout case within the Event StructureD Configuring a Value Change event case for the Boolean controlQ3: What value is displayed in the Value Out indicator after the VI completes execution?A 0B 4C 5D 6Q4: How many errors does LabVIEW display at the end of execution?A No ErrorsB One ErrorC Two ErrorsD Three ErrorsQ5: You have been asked to write a VI called CLAD505 that will generate a path to test.txt. This txt file is in a folder called CLAD505_Support, and the folder is next to your VI. The VI must run on multiple platforms (Windows, Linux, etc.).Which diagram best illustrates how you should write the VI?ABCDQ6: Which of the following statements is TRUE about the following code segment?A The loop will execute once and the indicator Iteration will have a value of oneB The loop will execute once and the indicator Iteration will have a value of zeroC The loop will execute continuously and the program will have to be abortedD The loop will not execute and the indicator Iteration will have a value of zeroQ7: Why is a shift register used for the file refnum input on the For Loop?A If the Values to Write to File array is empty, the For Loop will run zero times, but the refnumvalue will be passed through to the shift register outputB The Write to Text File function modifies the value of the refnum on each For Loop iterationC It is the only way to prevent the For Loop from building an array at the refnum output terminalD No reason. A regular tunnel would provide identical functionality to the shift registerQ8: The following SubVI is loaded into memory and then run. At some later time it is still in memory and is run a second time.What is the value is displayed in the Sum indicator when the SubVI completes execution the second time it is run?A 5B 10C There is no way to knowD 0Q9: Which of the following is FALSE about File I/O using binary or TDMS file formats?A Binary files can accept any LabVIEW data typeB TDMS can accept any LabVIEW data typeC TDMS is generally faster in writing than binaryD Binary file I/O can be used by all versions of LabVIEWQ10: How does a producer consumer design pattern process excessive amounts of data?A Using a single element queue the Producer Consumer processes only current data.B Using a queue for storage the Consumer loop processes all data when it has time.C The Producer loop will slow its cycle time to allow the consumer loop to catch up.D The consumer loop will increase its processing time to match the producer loop.Q11: Unlike graphs, which display an entire waveform that ________ the data already displayed, charts update periodically and __________ the data previously displayed.A Maintains a history of; overwriteB Overwrites; maintain a history ofC Appends to; overwriteD None of the aboveQ12: What value is displayed in the Result indicator after the VI completes execution?A 3B 2C 1D 0Q13: After the VI starts running, the user clicks the "Event1" button twice. The event structure has no other event cases.What will be displayed in the "Time 1" indicator when the VI stops executing?A 0B 1C 2D UndeterminedQ14: You have written a LabVIEW VI with three parallel code paths. All three error cluster wires are wired into a Merge Errors function.What error is reported to the user?A Error 1014, because Merge Errors outputs the first error to occur chronologicallyB Error 7, because Merge Errors outputs the first error wired in to it from the top downC Error 1, because Merge Errors outputs the most significant error of the errors wired in to itD All three errors are reported, because Merge Errors concatenates the errors into a single errormessage to display to the userQ15: Which timing function can result in logic errors when it rolls over to zero?ABCDQ16: You select "Create SubVI" from LabVIEW's Edit menu with the code below selected. What will the resulting block diagram look like?ABCDQ17: What value will be displayed in the subarray indicator after the following code has executed?ABCDQ18: Which of the following statements is NOT valid?A You can make a Cluster of ClustersB You can make an Array of ArraysC You can make a Cluster of ArraysD You can make an Array of ClustersQ19: Which of the following cannot be used to transfer data between two parallel loops?A WiresB QueuesC NotifiersD Local variablesQ20: The time out input terminal of the Dequeue Element function is wired with the value 1.While the VI is running, how long does this Dequeue Element function wait to receive data?A 1 millisecondB 1 secondC IndefinitelyD It does not wait. It returns immediatelyQ21: What does this function do?A Transfers the queue reference to other callersB Sorts all queue elements in order and returns them as an arrayC Clears all elements from the queueD Removes one reference to the queue and returns any remaining elementsQ22: When a VI is paused, clicking on the _________ button allows you to bypass a node in the Block Diagram without single-stepping through the node.A Step IntoB Step OverC Step OutD Step ThroughQ23: Which is a native debugging feature in LabVIEW?A Step BackB Step OverC Step AroundD Step AboveQ24: Which data type is not accepted by the case selector terminal on a case structure?A ArraysB Enumerated type valuesC StringsD IntegersQ25: Which statement about sequence structures is FALSE?A Sequence structures support parallel operations within frames.B Terminating the execution of a sequence structure before the entire sequence is completed isnot possible without aborting.C Sequence structures execute frames in a sequential order.D Sequence structures stop when an error is detected.Q26: Which equation is equivalent to the code?ABCDQ27: When clicking a broken run arrow, the Error list window shows all of the following EXCEPT:A Items with errorsB Errors and warningsC Details about the warningsD Error CodesQ28: How do you document a VI so that the description appears in the Show Context Help popup window?A Use the VI Properties Documentation windowB Type in the Show Context Help windowC Create a free label on the front panelD Edit the LabVIEW help filesQ29: What is the output of the Initialize Array function after the following code has completed execution?ABCDQ30: How many bytes does LabVIEW write to the file when the code executes?A 5 BytesB 6 BytesC 12 BytesD 14 BytesQ31: The value in Control a is 2 and in Control b is 128.What value does the Result indicator display after the VI executes?A -128B 0C 255D 256Q32: A SubVI is created by selecting the code from a block diagram. How many terminals will the SubVI have?A 3B 4C 5D 6Q33: What is the red dot called?A Coercion DotB Data truncation DotC Data typecast DotD Buffer allocation DotQ34: What do coercion dots indicate?A Incompatible data typesB A mathematical operation will be performed on the dataC The input data will be copied and converted to a different data typeD The location where an error will occurQ35: What settings should be selected for a custom control so that all copies of the control are of the same data type yet have the flexibility to use different colors and styles?A ControlB Type Def.C Strict Type Def.D Flex Def.Q36: In a Simple State Machine design pattern, which of the following stores the state information?A Shift RegisterB QueueC NotifierD Functional global variableQ37: You are required to use the Get Date/Time in Seconds function for timing in a state machine. The state machine has an acquire state and must acquire for 5 seconds. If the hardware fails during acquisition the state machine must be able to transition to the stop state.Which of the following design patterns will provide timing for a state machine and allow responsiveness to acquire state requirements?ABCDQ38: Which of the following apply to Property Nodes?Property Nodes:A allow attributes of files on disk to be programmatically manipulatedB can be used to update the value of a front panel control or indicatorC return an error if you attempt to read a property before it has been writtenD can be used to invoke methods on a controlQ39: You have a front panel control on a top-level VI that you must manipulate from within a SubVI. Which of the following could you pass to the SubVI to accomplish this?A The control's propertiesB The control's methodsC The control's referenceD The control's data typeQ40: Which Property Node can change the text color attributes of ANY digital numeric control used on the panel of a VI?ABCDQ41: Solutions 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: It is the only case with a filter event that applies to the Panel Close event. Since no Boolean is wired into the Filter Event terminal, LabVIEW opens a dialogue box to collect the value of the Boolean input.2. Correct Answer: CTopic: Event StructuresJustification: The requirements have no timeout action specified. Answer C is best practice, but is not required to accomplish the stated goal.3. Correct Answer: CTopic: LoopsJustification: An empty array is wired to the For Loop using an auto-indexing tunnel. This causes the For Loop to iterate once for every element in the array, which, in this case, is zero. However, the value 5 is written to the shift register before loop execution, and since the loop iterates zero times, the same value of 5 is present at the output shift register.4. Correct Answer: BTopic: Error HandlingJustification: The Merge Errors VI only passes on the first error encountered, counting from the top node down.5. Correct Answer: DTopic: General Programming FunctionsJustification: A and B are wrong because they do not strip the current VI filename from the path. C would work on Windows, but not other platforms, due to the different path separator. D is the only answer that correctly generates the path *and* will work on multiple platforms, since path separators in the path data type are automatically converted on different platforms.6. Correct Answer: CTopic: LoopsJustification: The While Loop has a FALSE Boolean wired to its conditional terminal, which is set to Stop if TRUE. Thus, there is no condition that causes this While Loop to stop. So, the While Loop could run infinitely and the VI must be aborted.7. Correct Answer: ATopic: LoopsJustification: For Loops can run zero times, and using a shift register is the recommended way to preserve pass-through data in this scenario.8. Correct Answer: BTopic: Data communication and synchronizationJustification: The shift register value will be 5 on the second call. 5 + 5 = 10.9. Correct Answer: BTopic: General Programming FunctionsJustification: TDMS read/write is limited to a specific subset of LabVIEW data types. For example, it cannot read or write multidimensional arrays or arrays of timestamps. See the LabVIEW help for details.10. Correct Answer: BTopic: Design PatternsJustification: Textbook use of queue in Producer Consumer.11. Correct Answer: BTopic: General Programming FunctionsJustification: Answer B is the difference between charts and graphs.12. Correct Answer: BTopic: LoopsJustification: In three loops only zeros will pass from the register, but the iteration will count 0, then 1 & then 2. Therefore the output from the addition function will be 0+2=2.13. Correct Answer: BTopic: Event Structures.Justification: The events queue up, so if it were not for the TRUE wired to the loop condition, the answer would be 2. However, the loop ends before we can process the second event that is still in the queue. 14. Correct Answer: BTopic: Error HandlingJUSTIFICATION: Merge Errors outputs the first error it finds in the errors clusters wired into it in atop-down fashion. Error 7 is wired into the top input, so it is the error outputted by Merge Errors.15. Correct Answer: BTopic: General Programming FunctionsJustification: The Tick Count (ms) is the only timer that rolls over to 0.16. Correct Answer: BTopic: SubVI CreationJustification: Input Numeric and Input Array are constants, so they are internal to the SubVI and do not have input terminals.17. Correct Answer: CTopic: General Programming FunctionsJustification: The Array Subset function takes an input array and returns a section of that array as specified, starting at the given index and continuing for a number of elements equal to length. Here, the index value 3 specifies the fourth element of the array, or 10. Since the specified length is value 4, an array of length 4 is returned as follows: {10, 8, 5, 7}.18. Correct Answer: BTopic: General Programming FunctionsJustification: LabVIEW will not allow creation of an array of arrays -- There is no need to make an array of arrays since you can simply add dimensions to an existing array.19. Correct Answer: ATopic: Data Synchronization and CommunicationJustification: Queues, notifiers, and local variables are all designed to transfer data. Wires can not pass data between parallel loops.20. Correct Answer: ATopic: Data Communication and SynchronizationJustification: The time out input terminal of the Dequeue Element function is in milliseconds, so with an input of 1, the Dequeue Element function will wait 1 millisecond to receive data.21. Correct Answer: DTopic: Data communication and synchronizationJustification: One reference is removed from memory, and the remaining elements are returned. It can be used to destroy the queue, but this is not an option in the question.22. Correct Answer: BTopic: Debugging toolsJustification: Clicking the Step Into button causes LabVIEW to open up the node or subVI. The Step Out button is used to return from a subVI to a main VI while single-stepping. There is no Step Through button. Step Over provides the functionality stated by the question, therefore this is the correct answer.23. Correct Answer: BTopic: Debugging toolsJustification: Stepping back, around,or above are not single step actions, stepping Over is the only correct choice.24. Correct Answer: ATopic: Case StructuresJustification: Arrays are not accepted by the case selector terminal because the case selector terminal requires a scalar value.25. Correct Answer: DTopic: Sequence StructuresJustification: Sequence Structures have no error terminals.26. Correct Answer: ATopic: LabVIEW Programming PrinciplesJustification: Because LabVIEW is a Dataflow language, we can trace the flow of data in the block diagram to see which operations execute first, second, and so forth.27. Correct Answer: DTopic: LabVIEW EnvironmentJustification: You must either look at an output error cluster or an error dialog to find the error code.28. Correct Answer: ATopic: LabView EnvironmentJustification: The documentation window in VI Properties is the only place to edit the information about the VI that appears in Context Help.29. Correct Answer: ATopic: Data TypesJustification: The "element" input terminal contains the value each element of the initialized array will contain, and the "dimension size" input terminal dictates the size of each dimension of the initialized array. Since there is only one dimension size input terminal, the array will be only 1 dimensional. The array elements will be initialized to the value of the element.30. Correct Answer: DTopic: Data TypesJustification: LabVIEW represents arrays as a list of bytes containing a header and array data. The header contains a 4-byte integer for each dimension that specifies the length of that dimension. Following the header is the actual array data. In the question, the array has two dimensions. There are 4 bytes in the header for each dimension for a total of 8 bytes in the header. Since the array is composed of six8-bit, or 1-byte integers, there is a total of 6 bytes of actual array data. This makes a total of 14 bytes being written to file.31. Correct Answer: BTopic: Data TypesJustification: The integers shown are unsigned 8-bit integers. The range for 8-bit integers is 0-255. The product of 2 times 128 is 256. As 256 is a number larger than the allowable 255, thus 256 wraps to 0. 32. Correct Answer: CTopic: SubVI CreationJustification: The subVI will have Error In/Out terminals as well as the three controls, for a total of 5 terminals.33. Correct Answer: ATopic: Data TypesJustification: Definition of Coercion Dot34. Correct Answer: CTopic: Data TypesJustification: Definition of Coercion Dots35. Correct Answer: BTopic: Data TypesJustification: Definition of Type Def36. Correct Answer: ATopic: Design PatternsJustification: Definition of Shift Register37. Correct Answer: ATopic: Design PatternsJustification: A is the only case that checks the data and leaves the timing state, and has persistent start time (stored in the shift register)38. Correct Answer: BTopic: VI ServerJustification: Deffinition of a property node.39. Correct Answer: CTopic: VI ServerJustification: The only answer option that can be passed from calling VI to subVI is the control reference. The reference can then be used with Property Nodes and Invoke Nodes to call properties and methods, respectively. The data type is a property of the control.40. Correct Answer: BTopic: VI ServerJustification: Strict property nodes require precise knowledge of the numeric representation. Since the question asks for the means to change the text color of any control, a strict Property Node does not suffice. An implicit Property Node (C), can only be used locally. Answer D shows a property that is not even relevant to the question. Thus, option B is the best answer.。
CLAD模拟试题
W7 NATIONAL ^INSTRUMENTSLabVIEW 基磁毫^^^ (CLAD)注意:测■遇程中,禁止使用♦躺或任何多考^料。
就明:言勿擅自撕品任何漏封。
若交逮NI的测腕就IS不完整或祠封破损,即将立即失去测腕溜格。
•官青遵守就卷上的要求。
如果您填金昔了准考^虢礁,本次测瞬招视作辗效。
•^在答案卡上填瘾所有的答案。
填瘾在就卷上的答案符不纳入^分襟举。
•官青勿要求签考人_S余合予任何十薪助。
若熬卷题目不甚清楚,即可襟言带亥冏魅,旋嘉下您自己熬卷敕合遹的答案舆理由,以供NI囿卷畤参考之用。
•您不可摧出此份模掇就题,亦不可用任何方式重现此份就题。
在完成测瞬之彳爰,亦不可保留任何就魅。
•珈脚寺^: 1小畤•测瞬方式:多重逗撵魅•测瞬题数:40题•及格分数:70%重要:常廉就者完成测腕畤,前;K就卷放在所提供的信封内或密封之。
;»密封的信封交给NI 监考人及。
卜列何工融而粘符累直示For Loop 或While Loop 的退圈循璟言十数(Loop Iteration) ?Q2:若欲招数值100资料型熊熟Unsigned Byte 信者存至文件槽,下列何槿信者存方式所生成的文件槽案最小?Q1: □@1画[N] A.size- (in bytes) B. D.U8 Number To Decimal StringCleas File G&t File SizeUS Number To Decimal String size- (in bytes)^HM -IUSC.封subVI 而言,若「Context Help 」视窗中的输入名耦是以粗飕^示,即下列何工期条件正碓?信青逗出所有逾用的叙述)输入值必定悬触数(Scalar)此输入悬建^使用,而加非必要输入此输入熟必要输入 若此翰入加未接瀛期原VI (Calling VI)符中断下列何项算数函式招僵先轨行?A.加B. 减 Q3: 若要^示下11数撼,鹰使用哪一槿圈表?A.B. C. D. Q4: A. B. C. D. Q5:I IWL||. ■ 1 .Waveform ChartWaveform GraphXY GraphDynamic Chart «Jpn.ta.EqC.乘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)可於军一1月修中的多他VI之^^遮资料D.功能型全域燮数(Functional Global Variable)可跨多他1月像的多他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)同步雨备且平行退圈如下H,符曾崖生什麽冏题?MasterA.因悬通知器(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.Y DigNum 微H—卜NumText^BGColor ■—►NumText.Te>ftColorB.1—卜NumText.BGColor—►NumTeit.TextColarC.—谭7 Num .卜UnitLabeLRGQjkr4-►UnitLabel.TextColor D.Q14:下列圜真中,何日寺可使用Probe工具取代Highlight Execution ?A.减^ VI轨行速度,加於接^上^示数值B.呈垣资料流向C.觐看接^上的即寺数值D.於VI程序孰行期^觐看SubVIQ15:符Boolean控制元音殳定悬Latching Until Released。
LabVIEWCLAD模拟试题
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、循环将执行一次,计数接线端将输出值1b、循环将执行一次,计数接线端将输出值0c、循环将执行无穷次,需中止程序d、循环不执行,计数接线端将输出空值7、下列不能用于传递数据的就是?a、信号量b、队列c、通知器d、局部变量8、下列接线端中控制For循环执行次数的就是?a、 b、 c、 d、9、在VI前面板上有一个控件,需在运行时修改其属性。
最佳方法就是?a、创建一个隐式属性节点,选择要修改的属性b、创建一个控件引用,将引用传递至属性节点,选择要修改的属性c、创建一个链接至控件的共享变量,选择要修改的属性d、创建一个局部变量,选择要修改的属性10、公式节点可进行下列哪种运算?a、基本编程指令Input与Printb、在公式节点中嵌套子VIc、与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、下列哪个词语组合可完成下列表述?与__________显示整个波形覆盖已存储的数据不同,___________周期性更新,并保持之前存储数据的历史记录。
- 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、代码。