27 What is the offset past match output node of Match Pattern VI? Index of the next match relative to the previous match in input A B string if multiple matches exist Index in input string of the first character of the after substring output node C Index of the next match relative to the first character in input string if multiple matches exist D Index in input string of the first character of the match substring output node 28 VI Templates reduce programming time by: A providing a starting point for several common VI types. B automatically generating code for the user. C allowing the user to save portions of their own code for use in later applications. D Both A. and B. E Both A. and C. 29 What answer will result from the calculation below? A 9.0 B 7.5 C 8 D 9 30 What is the result in Output Array after the following code has executed? A a 1-D Array of {2, 4} B a 1-D Array of {4, 3, 0} C a 1-D Array of {5, 3} D a 1-D Array of {2, 5, 1} 31 All of the following are components of an Error Cluster, EXCEPT: A status. B code. C source. D All of the above are Error Cluster components. 32 Where can a Numeric Constant be placed? A Front Panel B Block Diagram C Both A. and B. D None of the above 33 Where can you change a Control to an Indicator? A Front Panel B Block Diagram C Both A. and B. D None of the above 34 Which of the following statements is true regarding the execution of the following code? A B C The string "Hello World" will be written into a new file named by the user. If the user selects an already existing file, the old data will be overwritten by the new data. If the user selects an already existing file, the VI will produce an error and stop execution. D Both A. and C. E Both A. and B. 35 To view an animation showing the movement of data in the Block Diagram while the program is running, click on the _____ button. A Run B Abort Execution C Run Continuously D Highlight Execution 36 What is the result in Output Array after the following code has executed? A a 1-D Array of {4, 6, 3, 5, 7, 9, 1} B a 1-D Array of {6, 3, 5, 7, 9, 1} C a 1-D Array of {6, 7, 9, 1} D a 1-D Array of {4, 7, 9, 1} 37 A custom probe is created by: A B C D placing a custom probe from the Probe subpalette onto the Block Diagram. placing a property node onto the block diagram and selecting Custom Probe from the Properties menu. right clicking on a wire and selecting Custom Probe from the shortcut menu. double clicking on a normal probe. 38 What is the value in Feedback Answer after the third iteration of the loop below? A 8 B 1 C 4 D 2 39 Which of the following statements is true? A B The default setting for a tunnel into or out of a For Loop has auto-indexing enabled if the data being passed is an array. The default setting for a tunnel into or out of a While Loop has auto-indexing disabled if the data being passed is an array. C Both A. and B. D None of the above. 40 Which of the following statements is true regarding the code in the loop shown below? A B The loop will execute once and the iteration terminal, , will output a value of 1. The loop will execute infinitely and the program will have to be aborted. C The loop will not execute and the iteration terminal, a null value. D The loop will execute once and the iteration terminal, output a value of 0. , will return , will Which of the following could generate the following Waveform Graph? A B C D If N is 6, what is the value of T when this code is executed? A 24 B 6 C 16 D 20 In LabVIEW, you may print to all of the following, EXCEPT: A Printer B HTML C Plain Text D All of the above are possible printing options What is the result in subarray after the following code has executed? A a 1-D Array of {8, 5, 7} B a 1-D Array of {10, 8, 5, 7} C a 1-D Array of {10, 8, 5} D a 1-D Array of {7, 10, 8, 5} To view an animation showing the movement of data in the Block Diagram while the program is running, click on the _____ button. A Highlight Execution B Run C Run Continuously D Abort Execution To place an object on the Front Panel you would select the object from the: A Functions Palette B Tools Palette C Controls Palette D Icon Palette What is the data type of the output produced by the following calculation? A integer (I32) B double C unsigned (U32) D None of the above Which of the following performs the most efficient conversion of random numbers of double precision into an array of single precision values? A B C Which of the following only plots data in evenly distributed intervals along the x-axis? A Waveform Graph B Waveform Chart C XY Graph D Both A. and B. E Both B. and C. What is the value in Result after the following code has executed? A 5 B 13 C 15 D 6 How many iterations will the following loop execute? A 15 B 1 C 4 D None of the above The Probe tool is used to: A check intermediate values on a wire as the VI runs. B search the online LabVIEW help for more information on errors. C search the LabVIEW help files for useful programming tips. D fix programming errors in SubVIs. If the Error In terminal of a VI receives an error it will: A pass the error to the next node without executing the code in which the error occurred. B immediately display a pop-up window describing the error. C execute normally. D freeze the program and wait for user interaction. What are the results in max value and max index(es) respectively, after the following code has executed? A 1, 5 B 7, 4 C 6, 0 D 7, 3 The Array Size function shown below: A for a 3-D input Array, returns a 1-D Array consisting of two elements and an index. B returns the number of elements in each dimension of an Array. C accepts multiple input Arrays. D accepts n-dimensional Arrays of only string or numeric data types. The best method to pass data within the same VI is by using a: A Wire B Global variable C Local variable D All of the above are identical Which of the following statements about the Connector Pane is true? A It only shows terminals available for transfer to the SubVI. B It only shows terminals available for transfer from the SubVI. C Outputs must be placed on the left, and inputs must be placed on the right. D None of the above. All of the following are traditional debugging features used to help find errors in a VI, EXCEPT: A Stop Values. B Highlight Execution. C Breakpoints. D Single Stepping. What is the result in initialized array after the following code has executed? A a 1-D Array of {4, 4, 4} B a 1-D Array of {3, 4} C a 1-D Array of {3, 3, 3, 3} D a 1-D Array of {4, 3} DAQmx channels and virtual channels are a collection of property settings that include all of the following, EXCEPT: A physical channel. B base I/O address. C type of measurement. D scaling information. Which of the following terminals supplies the current iteration number of a For or While Loop? A B C D All of the following statements concerning Sequence Structures are true, EXCEPT: A Sequence Structures halt execution when an error occurs in one of the frames. B Sequence Structures guarantee order of execution. C D The use of a single Sequence Structure in a VI prohibits parallel operations. Sequence Structures should be replaced with a While Loop containing Case Structures whenever possible. Which of the following structures is illustrated in the figure below? A Flat Sequence B Stacked Sequence C Formula Node D Case What is the result in new string after the following code has executed? A Hello to you! B Hello Wto you! C Hello to you!! D Helloto you! Which of the following functions assembles Cluster elements by their owned labels? A Unbundle B Unbundle by Name C Bundle by Name D Bundle Clusters provide a user with which of the following benefits? A Clusters group elements of mixed data types. B Clusters increase the number of Connector Pane terminals of SubVI's. C Clusters reduce wire clutter on the Block Diagram by bundling data elements together. D Both A. and B. E Both A. and C. Which of the following accurately describes the output that results from execution of the following loop? A The last three values from the DAQ Assistant will be displayed. B A running average of all measurements will be displayed. C An average of the last four measurements will be displayed. D None of the above. Which of the following will allow you to have multiple plots on a Waveform Graph? A B C Bundle two 1D arrays of X and Y data together for each plot. Then build an array of these clusters and wire it to the Waveform Graph indicator. Build an n-dimensional array of data with each plot in a separate row (or column) in the array, then wire the array to the Waveform Graph indicator. Bundle the elements of each waveform into a cluster and build an array of these clusters, then wire the array to the Waveform Graph indicator. D Both B. and C. E Both A. and C. Which of the following will allow you to run text-based code in LabVIEW? A Sequence Structure B Event Structure C Case Structure D Formula Node What is the result of the following Array addition? A a 2-D Array of {{120, 90, 20}, {60, 30, -40}} B a 1-D Array of {120, 30} C a 1-D Array of {120, 30, -60} D a 1-D Array of {80, 20, 40, 10, -60} The following figure is an example of which common type of VI architecture? A State Machine VI B Multiple Case Structure VI C General VI D Parallel Loop VI In the figure below, the value at item G during the fourth iteration is: A 5 B 4 C 2 D 3 Which tool is used to link a Control or Indicator to a Connector Pane terminal? A Select Tool B Operate Tool C Wiring Tool D All of the above will work A While Loop stops iterating when: a false value is present at the conditional terminal and the conditional A terminal is a true value is present at the conditional terminal and the conditional B terminal is C Both A. and B. D None of the above What is the value in Y after the following code has executed? A a 1-D Array of {-4, 0, 4, 8, 12} B 16 C 12 D a 1-D Array of {0, 4, 8, 12, 16} What is the output in Resulting String after the following code has executed? A World!Hello B Hello World! C D World! Hello World! Which of the following statements is true regarding the execution of the following code? A The loop will stop after 50 iterations. B A For Loop that has a 50 wired to the count terminal will perform the same operation. C Both A. and B. D None of the above. What is the value in Feedback Answer after the following code has executed? A 6 B 8 C 16 D 32 All of the following statements are true, EXCEPT: A You can make a Cluster of Clusters. B You can make an Array of Arrays. C You can make a Cluster of Arrays. D You can make an Array of Clusters. E All of the above statements are true. Which of the following could generate the following Waveform Graph? A B C D The _____ determines the total number of times a For Loop will execute and the _____ returns the number of times the loop has executed minus one. A count terminal, ; iteration terminal B count terminal, ; conditional terminal, C iteration terminal, D conditional terminal, ; count terminal, ; count terminal, Which of the following statements is true regarding the code in the loop shown below? A The loop will execute infinitely and the program will have to be aborted. B The loop will not execute and the iteration terminal, null value. C The loop will execute once and the iteration terminal, value of 0. , will output a D The loop will execute once and the iteration terminal, value of 1. , will output a , will return a Which statement accurately reflects the relationship between the color of a SubVI icon on the Block Diagram and its type? A Yellow represents Standard SubVI's, and blue represents Express VI's. B Blue represents Standard SubVI's, and red represents Express VI's. C Blue represents Standard SubVI's, and yellow represents Express VI's. D Red represents Standard SubVI's, and blue represents Express VI's. What is the value in Boolean after the following code has executed? A 0 B FALSE C TRUE D 1 Where can a Formula Node be placed? A Front Panel B Block Diagram C Both A. and B. D None of the above Which DAQ board will allow for the detection of a 2.6 mV change in a signal if a 0-10 volt range was selected? A 12-bit board B 16-bit board C Both A. and B. D None of the above. If a required terminal of a SubVI is not wired in the Block Diagram, then: A the VI will generate a warning when executed. B the VI will have a broken Run arrow and will not execute. C the VI will run without any dialog boxes. D None of the above. Which of the following statements is not true regarding the figure below? A It is not necessary to wire the count (N) terminal because auto-indexing is enabled. B Elements of Input Array enter the loop one at a time. C Output Array is the same size as Input Array. D If you disable auto-indexing on the right side of the For Loop, the output is still a 1-D Array. E All of the above statements are true What is the value in Feedback Answer after the third iteration of the loop below? A 1 B 4 C 2 D 8 What is the value in Y after the following code has executed? A 8 B 6 C 7 D 5 What is the result in initialized array after the following code has executed? A a 1-D Array of {3, 3, 3, 3} B a 1-D Array of {4, 3} C a 1-D Array of {4, 4, 4} D a 1-D Array of {3, 4} In the figure below, the value at H after the first iteration is: A 2 B 4 C 1 D 3 All of the following statements regarding SubVIs are true, EXCEPT: A They require less memory. B They allow for easier debugging. C They allow you to use the same code for many future applications. D All of the above statements are true. In what instance would you use the Probe tool rather than Highlight Execution? A to see the value of a wire in real time B to slowdown the VI to show values in wires C to look into a SubVI, as the process is running D to see the flow of data What is the value in Result if the Formula Express VI is configured to execute the formula, W + X * (Y - Z)? A 22 B 34 C 20 D 52 The best method to pass data within the same VI is by using a: A Wire B Global variable C Local variable D All of the above are identical Clicking in which area on the following figure will allow you to adjust the cursor color and point style? A A B B C C D D What is the offset past match output node of Match Pattern VI? A Index of the next match relative to the previous match in input string if multiple matches exist B Index of the next match relative to the first character in input string if multiple matches exist C Index in input string of the first character of the match substring output node D Index in input string of the first character of the after substring output node Probes on the Front Panel can be attached to: A Controls. B Indicators. C Graphs. D None of the above. Which of the following answers correctly matches each VI architecture type with its corresponding illustration? A C A A - General VI; B - State Machine VI; C - Simple VI B A - Simple VI; B - General VI; C - State Machine VI C A - General VI; B - Simple VI; C - State Machine VI D A - Simple VI; B - State Machine VI; C - General VI E A - State Machine VI; B - Simple VI; C - General VI B What is the value in X after the following code has executed? A 5 B 7 C 6 D 8 Which VI architecture allows the user to run several tasks concurrently? A Multiple Case Structure VI B Parallel Loop VI C State Machine VI D None of the above What is the result in Resulting string after the following code has executed? A Wor B HelloldAgain C Worl D Hello d Again If a user needs to enter a name on the front panel and then use the name later in the VI, they would use a: A ASCII control B String control C Boolean control D Numeric control How many iterations will the following loop execute? A 15 B 1 C 4 D None of the above What is the value in Y after the following code has executed? A a 1-D Array of {0, 4, 8, 12, 16} B 16 C a 1-D Array of {-4, 0, 4, 8, 12} D 12 When should Tasks be used in a DAQmx application? A If you want to perform channel acquisitions in a distinct order. B If wou want to sample channels with similar scaling. C If you want to sample channels with similar timing and triggering. D None of the above. Which of the following will allow you to have multiple plots on a Waveform Graph? A B C Bundle two 1D arrays of X and Y data together for each plot. Then build an array of these clusters and wire it to the Waveform Graph indicator. Build an n-dimensional array of data with each plot in a separate row (or column) in the array, then wire the array to the Waveform Graph indicator. Bundle the elements of each waveform into a cluster and build an array of these clusters, then wire the array to the Waveform Graph indicator. D Both B. and C. E Both A. and C. Which of the following statements is true regarding the use of Clusters? A The first object placed in a Cluster is designated as element zero. B If you delete an element in a Cluster, you must read just the order of the elements manually. C Cluster elements are ordered based on their position in the shell. D Both A. and B. E Both B. and C. The color that represents the integer data type is: A Green B Brown C Pink D Blue The color that represents the integer data type is: A Green B Brown C Pink D Blue All of the following statements concerning Sequence Structures are true, EXCEPT: A B C D Sequence Structures guarantee order of execution. Sequence Structures should be replaced with a While Loop containing Case Structures whenever possible. Sequence Structures halt execution when an error occurs in one of the frames. The use of a single Sequence Structure in a VI prohibits parallel operations. Which of the following statements is true regarding the execution of the following code? A The loop will stop after 50 iterations. B A For Loop that has a 50 wired to the count terminal will perform the same operation. C Both A. and B. D None of the above. What is the value in K after the following code has executed? A 140 B 200 C 30 D 270 What is the result in Array after the following code has executed? A a 1-D array of {1, 2, 1, 0, 8, 6, 2} B a 1-D array of {1, 8, 6, 2} C a 1-D array of {1, 3, 2, 1, 8, 6, 2} D a 1-D array of {1, 4, 3, 2, 1, 0, 8, 6, 2} All of the following statements regarding the index of Arrays are true, EXCEPT: A The index is used to access a particular element of an Array. B The index ranges from 1 to n, where n is the number of elements in the Array. C A 2-D Array has both a column index and a row index. D All of the above statements are true. Which chart update mode plots new data from left to right, then clears the chart and plots the newer data? A Strip Chart B Scope Chart C Step Chart D Sweep Chart Which of the following statements is true regarding the figure below? A Auto-indexing is disabled. B Only the 10th value generated is passed out of the For Loop. C The output of the For Loop is a 1-D Array of 10 elements. D Both A. and B. E Both A. and C. What is the result in New String after the following code has executed? A hello world1 B HELLO WORLD! C hELLO wORLD! D hello world! In the figure below, the output of Array Size is: A a 1-D Array of {2, 3} B a 1-D Array of {3, 2} C 2 D None of the above A While Loop stops iterating when: a true value is present at the conditional terminal and the conditional A terminal is a false value is present at the conditional terminal and the conditional B terminal is C Both A. and B. D None of the above If the Error In terminal of a VI receives an error it will: A freeze the program and wait for user interaction. B execute normally. C immediately display a pop-up window describing the error. D pass the error to the next node without executing the code in which the error occurred. Which of the following allows you to plot any set of points, evenly distributed or not? A Waveform Graph B Waveform Chart C XY Chart D Both A. and C. To view an animation showing the movement of data in the Block Diagram while the program is running, click on the _____ button. A Highlight Execution B Abort Execution C Run D Run Continuously When creating a SubVI icon, the number of input terminals must match the number of: A output terminals. B Controls. C Indicators. D None of the above. Description and help information for a VI may be placed: A on the Block Diagram or Front Panel. B in File » VI Properties » Documentation. C Both A. and B. D None of the above Comments should be added to the Block Diagram: A to describe basic functions. B comments are unnecessary as LabVIEW automatically adds them. C to describe unfamiliar functions. D to describe every function. Which answer matches the correct labels with their corresponding legend/palette on the following Front Panel? A B C D A - Plot Legend; B - Graph Palette; C - Scale Legend; D - Cursor Legend A - Cursor Legend; B - Graph Palette; C - Plot Legend; D - Scale Legend A - Plot Legend; B - Cursor Legend; C - Scale Legend; D - Graph Palette A - Plot Legend; B - Scale Legend; C- Graph Palette; D - Cursor Legend What is the result in Array after the following code has executed? A a 1-D array of {7, 3, 4} B a 1-D array of {3, 3, 4} C a 1-D array of {5, 1, 7} D a 1-D array of {3, 5, 1} The figure below is of a data type represented by what color: A Green B Brown C Pink D Blue To operate a series of frames in a set order you would use a(n): A Formula Node. B Sequence Structure. C Event Structure. D Case Structure. Which of the following graphs matches the result in Register Values after the following code has executed? A B C D The function of a Cluster is to: A separate data objects by data type on the Front Panel. B present data on the Front Panel using charts or graphs. C provide a means of differentiating between data types on the Block Diagram. D allow grouping of mixed data types into logical structures. Clicking on the _____ button allows you to bypass a node in the Block Diagram without single-stepping through the node. A Step Out B Step Into C Step Through D Step Over How many iterations will the following loop execute? A 15 B 1 C 4 D None of the above What is the result of the following addition? A a 1-D Array of {12, 4, 15} B a 1-D Array of {20, 12, 15} C a 1-D Array of {20, 4, 7} D a 1-D Array of {20} What is the result in New String after the following code has executed? A HELLO WORLD! B hello world! C hELLO wORLD! D hello world1 What is the value in Shift Register Answer after the following code has executed? A 10 B 24 C 32 D 16 Which of the following produces this XY Graph? A B C D Which of the following statements about the Connector Pane is true? A It only shows terminals available for transfer to the SubVI. B It only shows terminals available for transfer from the SubVI. C Outputs must be placed on the left, and inputs must be placed on the right. D None of the above. Which of the following accurately describes the output that results from execution of the following loop? A The last three values from the DAQ Assistant will be displayed. B A running average of all measurements will be displayed. C An average of the last four measurements will be displayed. D None of the above. Which of the following statements is true regarding the code in the loop shown below? A The loop will execute once and the iteration terminal, value of 1. , will output a B The loop will execute once and the iteration terminal, value of 0. , will output a C The loop will execute infinitely and the program will have to be aborted. D The loop will not execute and the iteration terminal, null value. , will return a Where is the best place to adjust the gain for a DAQ channel? A the Input Specifications when setting up the DAQ Assistant B the Gain input terminal of the DAQ Assistant C Measurement and Automation Explorer (MAX) D the Set Gain VI, located in the DAQmx palette What is the value in Result after the following code has executed? A 50 B VOLTS DC +2. C 250 D VOLTS DC +2 What is the result in New Array after the following code has executed? A a 1-D Array of {4, 7, -3, 3, -2, 0, 0} B a 1-D Array of {4, 7, -3, 3, -2} C a 1-D Array of {4, 7, -3, 3, -2, 4, 7} D None of the above A custom probe is created by: A B placing a property node onto the block diagram and selecting Custom Probe from the Properties menu. placing a custom probe from the Probe subpalette onto the Block Diagram. C double clicking on a normal probe. D right clicking on a wire and selecting Custom Probe from the shortcut menu. What is the value in Y after the following code has executed? A a 1-D Array of {-4, 0, 4, 8, 12} B a 1-D Array of {0, 4, 8, 12, 16} C 12 D 16 If a required terminal of a SubVI is not wired in the Block Diagram, then: A the VI will generate a warning when executed. B the VI will have a broken Run arrow and will not execute. C the VI will run without any dialog boxes. D None of the above. Right clicking on the Block Diagram will cause which palette to display? A Functions Palette B Controls Palette C Tools Palette D Printing Palette Which chart update mode plots new data from left to right, then clears the chart and plots the newer data? A Strip Chart B Sweep Chart C Step Chart D Scope Chart Which of the graphs below matches the output in the Waveform Graph indicator after the following code has executed? A B C D All of the following statements are true, EXCEPT: A You can make a Cluster of Clusters. B You can make an Array of Arrays. C You can make a Cluster of Arrays. D You can make an Array of Clusters. E All of the above statements are true. Where can a Formula Node be placed? A Front Panel B Block Diagram C Both A. and B. D None of the above Which of the following statements is not true regarding the figure below? A It is not necessary to wire the count (N) terminal because auto-indexing is enabled. B Elements of Input Array enter the loop one at a time. C Output Array is the same size as Input Array. D If you disable auto-indexing on the right side of the For Loop, the output is still a 1-D Array. E All of the above statements are true What is the result in initialized array after the following code has executed? A a 1-D Array of {4, 4, 4} B a 1-D Array of {3, 4} C a 1-D Array of {3, 3, 3, 3} D a 1-D Array of {4, 3} Which of the following answers correctly matches each VI architecture type with its corresponding illustration? A C A A - Simple VI; B - General VI; C - State Machine VI B A - Simple VI; B - State Machine VI; C - General VI C A - General VI; B - Simple VI; C - State Machine VI D A - General VI; B - State Machine VI; C - Simple VI E A - State Machine VI; B - Simple VI; C - General VI B Which of the following Block Diagrams could produce this result in Waveform Graph? A B C D What is the result in Output Array after the following code has executed? A a 1-D Array of {4, 7, 9, 1} B a 1-D Array of {6, 7, 9, 1} C a 1-D Array of {6, 3, 5, 7, 9, 1} D a 1-D Array of {4, 6, 3, 5, 7, 9, 1}
© Copyright 2024