17
1 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. 2 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 3 Which of the methods illustrated below will terminate the While Loop when an error occurs? Option I Option II Option III Option IV A I

1€¦  · Web viewA 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

Embed Size (px)

Citation preview

1 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.

2 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

3 Which of the methods illustrated below will terminate the While Loop when an error occurs?

Option I Option II 

Option III Option IV

A  I

B  II

C  III

D  IV

E  I & II

F  III & IV

4 What is the value in Feedback Answer after the following code has executed?

A  6

B  8

C  16

D  32

5 Right clicking on the Block Diagram will cause which palette to display?

A  Printing Palette

B  Functions Palette

C  Controls Palette

D  Tools Palette

6 You may associate the Connector Pane of a VI with objects from the:

A  Front Panel.

B  Block Diagram.

C  Both A. and B.

D  None of the above.

7 Which of the following is a required terminal connection for the Append Table to Report VI shown below?

A  column headers

B  column width (1)

C  row headers

D  report in

8 A custom probe is created by:

A  double clicking on a normal probe.

B  placing a property node onto the block diagram and selecting Custom Probe from the Properties menu.

C  placing a custom probe from the Probe subpalette onto the Block Diagram.

D  right clicking on a wire and selecting Custom Probe from the shortcut menu.

9 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

10 What is the result in Output Array after the following code has executed?

A  a 1-D Array of {4, 3, 0}

B  a 1-D Array of {2, 4}

C  a 1-D Array of {2, 5, 1}

D  a 1-D Array of {5, 3}

11 What is the data type of the Indicator that will be present at the Index Array output after the following code has executed?

A  Integer (I32)

B  Array of Integers (I32)

C  Double

D  Array of Doubles

12 DAQmx channels and virtual channels are a collection of property settings that include all of the following, EXCEPT:

A  type of measurement.

B  base I/O address.

C  physical channel.

D  scaling information.

13 The DAQ Assistant can perform all of the following operations, EXCEPT:

A  Frequency Measurement.

B  Arbitrary Waveform Generation.

C  Digital Input.

D  Analog Input.

14 All of the following are traditional debugging features used to help find errors in a VI, EXCEPT:

A  Single Stepping.

B  Stop Values.

C  Breakpoints.

D  Highlight Execution.

15 Which of the following statements is true?

A  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.

B  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.

16 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.

17 You can create a 1-D Array using any of the following methods, EXCEPT:

A  Place an Array Shell on the Front Panel and drag a Control into the shell.

B  Wire a 1-D Array to the Index Array function and specify an index.

C  Use a single For Loop with auto-indexing enabled.

D  Right-click on an existing 2-D Array on the Front Panel and select Remove Dimension.

E  All of the above are ways to create a 1-D Array.

18 Which of the following statements is true regarding the execution of the following code?

A  The string "Hello World" will be written into a new file named by the user.

B  If the user selects an already existing file, the old data will be overwritten by the new data.

C  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.

19 Which combination of words correctly completes the following statement?Unlike _____, which display only the most recent array of values written to them, _____ update periodically and maintain a history of the past data.

A  graphs; charts

B  charts; plots

C  plots; graphs

D  None of the above

20 What is the value in X after the following code has executed?

A  9

B  10

C  11

D  None of the above

21 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.

22 If Number equals -49, then what is the result in Square Root Value after the following code has executed?

A  -7

B  An error will occur and the code will not execute because Number is negative.

C  -99999, and a dialog box with an error message will display

D  7

23 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, , will output a value of 1.

B  The loop will not execute and the iteration terminal, , will return a null value.

C  The loop will execute infinitely and the program will have to be aborted.

D  The loop will execute once and the iteration terminal, , will output a value of 0.

24 Which chart update mode plots new data from left to right, then clears the chart and plots the newer data?

A  Step Chart

B  Sweep Chart

C  Scope Chart

D  Strip Chart

25 What are the results in max value and max index(es) respectively, after the following code has executed?

A  7, 4

B  6, 0

C  1, 5

D  7, 3

26 In the figure below, item G is a(n):

A  Shift register

B  Selector terminal

C  Iteration terminal

D  Tunnel

27 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

28 Which of the following Block Diagrams could produce this result in Waveform Graph?

A

 

B

 

C

 

D

 

29 What is the value in Result after the following code has executed?

A  VOLTS DC +2

B  50

C  250

D  VOLTS DC +2.

30 The main disadvantage(s) of using the VI architecture shown below is:

A  there is no way of shutting down the VI during execution.

B  you cannot use wires to pass data between case structures.

C  the block diagram can become very large and hard to read, edit, and debug.

D  All of the above

31 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.

32 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.

33 Clicking in which areas on the following figure allows you to move the cursor on the plot?

A  B & D

B  A & C

C  C & D

D  A & D

34 Which of the following will allow you to have multiple plots on a Waveform Graph?

A  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.

B  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.

C  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.

35 Which of the following could generate the following Waveform Graph?

A

 

B

 

C

 

D

 

36 To operate a series of frames in a set order you would use a(n):

A  Event Structure.

B  Case Structure.

C  Formula Node.

D  Sequence Structure.

37 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

38 In the figure below, the value at item G during the fourth iteration is:

A  5

B  2

C  4

D  3

39 Which of the following could have produced this Waveform Chart?

A

 

B

 

C

 

D

 

40 For best performance when programming a sequence of functions or calculations, you should use a:

A  Stacked Sequence structure.

B  Flat Sequence structure.

C  Both A. and B. have the same performance.

1 B 21 D2 A 22 C3 F 23 D4 C 24 C5 B 25 D6 A 26 D7 D 27 C8 D 28 D9 B 29 B10 A 30 C11 C 31 B12 B 32 E13 B 33 A14 C 34 E15 C 35 A16 B 36 D17 B 37 D18 D 38 B19 A 39 D20 C 40 A