Вы находитесь на странице: 1из 31

1. Which of the following is represented in the Block Diagram?

a)
b)
c)
d)

NOT(Y AND X) OR (X AND NOT(Z OR X))


NOT(Y AND X) OR (X AND (Z OR X))
(Z AND X) OR (X AND (Z OR X)
(Y AND X) OR (NOT(X OR Y) AND X)

2. Which of the following is represented in the Block Diagram:

a) d (a b) 1 ((b c) (b c)) 2
b) d (( a b) 1 (b c)) (b c) 2
c) d (( a b) 1 (b c)) (b c)
d) d (b c) (( a b) 1 (b c)) 2

3. Which of the following is represented in the Block Diagram:

4. What is Numeric Value Out after the following has executed?

a)

A 1D Array with contents {0,2,12}

b)

A 1D Array with contents {0,2,24}

c)

A 1D Array with contents {0,2,48}

d)

A 1D Array with contents {0,2,96}

5. What is the value in Numeric Value Out after the following has executed?

a)

b) 1

c)

d) 3

6. What are the values of A, B, C & D after the following has executed?
a) A=TRUE, B=SercoSteveB, C=1, D=1D Array
containing {2}
b) A=FALSE, B=SercoSteveB, C=0, D=1D Array
containing {2}
c) A=TRUE, B=<empty string>, C=1, D=<empty 1D
array>
d) A=FALSE, B=<empty string>, C=0, D=<empty 1D
array>

NOTE: <empty string> means the string is empty (i.e. string length = 0) not a string containing
"<empty string>". Similarly for <empty array> (array size = 0).
7. What is Numeric Value Out after the following has executed?

a)

24

b)

A 1D Array with contents {0,8,16,24}

c)

A 1D Array with contents {0,2,4}

d)

A 2D Array with contents {{0,2,4},{0,2,4},{0,2,4},{0,2,4}}

8. What is the value in Numeric Value Out after the following has executed?

a) 0

b) 5

c) 9

d) 12

9. What is the value in Numeric Value Out after the following VI is loaded into memory and executed
once?

a) 0

b) 5

c) 9

d) Undetermined (the initial value of the


shift register is unknown)

10. What is the value in Numeric Value Out after the following has executed?

a) 0

b) 5

c) 6

d) 12

11. What is the value in Numeric Value Out after the following has executed?

a) 0

b) 1

c) 2

d) 3

12. What is the value in Numeric Value Out after the following has executed?

a) 0

b) 5

c) 9

d) 12

13. What is the value in Numeric Value Out after the following has executed?

a)

b)

c)

d)

14. What is the value in Numeric Value Out after the following has executed?

a)

b)

c)

d)

10

15. Assuming that before execution the display of each was clear; which of the following Waveform
Charts is displaying the data generated by the VI?

a)

b)

c)

d)

16. What is the status of Array Out and Array Size Out following execution of the VI?

a)

A 2D array of random numbers 3 columns and 5 rows, A 1D array with data = {5,3}

b)

A 2D array of random numbers 5 columns and 3 rows, A 1D array with data = {5,3}

c)

A 2D array of random numbers 3 columns and 5 rows, A 1D array with data = {3,5}

d)

A 2D array of random numbers 5 columns and 3 rows, A 1D array with data = {3,5}

17. The value in 'Numeric Value In' is 5. What are the values of 'Numeric Value In' and 'Numeric
Value Out' following execution of the VI?

a)

Numeric Value In=5, Numeric Value Out=12

b)

Numeric Value In=7, Numeric Value Out=11

c)

Numeric Value In=9, Numeric Value Out=10

d)

Numeric Value In=11, Numeric Value Out=12

18. What are the values of String Out and String Length Out following execution of the VI?

NOTE: Inverted commas shown to highlight whitespace, they do not appear in String Out.
a)

<empty string>, 0

b) Steve , 6

c) Steve Likes , 12

d) Steve Likes LabVIEW , 20

19. What are the values of String Out and String Length Out following execution of the VI?

a)

<empty string>, 0

b)

Steve Likes, 11

c)

Steve Likes LabVIEW, 19

d)

Steve Likes LabVIEW ,20

NOTE: The inverted commas ("") are to highlight white space they do not appear in String Out

20. What are the values in String Out and String Length Out following execution of the VI?

a) Starting String01234,
15

b) Starting String12345, c) Starting String01234, d) Starting String01234,


20
20
21

21. What is the state of Boolean Array Out following execution of the VI?

a)

A 1D array containing {TRUE, TRUE, FALSE, TRUE, FALSE}

b)

A 1D array containing {TRUE, FALSE, TRUE, FALSE, TRUE}

c)

A 1D array containing {FALSE, TRUE, FALSE, TRUE, FALSE}

d)

A 1D array containing {FALSE, FALSE, TRUE, FALSE, TRUE}

22. The initial value of Numeric Value In 1 is 255, the initial value of Numeric Value In 2 is 5. What is
the value of Numeric Value Out following execution of the VI?

a) 0

b) 4

c) 256

d) 260

23. What is the status of Numeric Array Out following execution of the VI?

a)

An <empty array>

b)

An array with single element containing the value 0

c)

An array with single element containing the value 1

d)

An undefined value

24. What is the value in Numeric Value Out following execution of the VI?

a)

b)

c)

d)

25. The following VI is executed; exactly 2 seconds later the user performs a left mouse click on the
'Stop' control. Assuming an initial value for the 'Stop' control of FALSE and a 'latched when pressed'
mechanical action; what is the value of Numeric Value Out following activation of the 'Stop' button?

a) 11

b) 15

c) 21

d) Undefined

26. What are the values in Numeric Value Out 1 and Numeric Value Out 2 following execution of the
VI?

a) Numeric Value Out 1=18, Numeric Value Out 2=4


b) Numeric Value Out 1=20, Numeric Value Out 2=4
c) Numeric Value Out 1=22, Numeric Value Out 2=4
d) Numeric Value Out 1=26, Numeric Value Out 2=4

27. The following poorly written VI contains a race condition. What are the possible value(s) of
Numeric Value In following exection of the VI?
a) Numeric Value In = (Numeric Value In x 7) + 2
b) Numeric Value In = (Numeric Value In + 2) x 7
c) Numeric Value In = Numeric Value In x 7
d) Numeric Value In = Numeric Value In + 2

28. The following shows a State Machine VI followed by ALL of the Case Structure frames within the
state machine. What is the value of Numeric Value Out following execution of the VI?:

29. All of the hidden frames of the Case Structure from the question are shown below:

a) 10

b) 12

c) 14

d) 16

30. The following shows a State Machine VI followed by ALL of the Case Structure frames within the
state machine. What is the sequence of states transitioned by the state machine during execution:

All of the hidden case structure frames are shown below:

a) State 1, State 2, State 3, State 4, State 5


b) State 1, State 2, State 4, State 5, State 3
c) State 1, State 2, State 4, State 5
d) State 1, State 2, State 3, State 4

31. The value of Numeric Value In is 15. What is Numeric Value Out following execution of the VI?

All of the cases for the Case Structure in the question, excluding the Default case (shown in the
question) are shown below.

a) 14

b) 15

c) 99

d) 225

32. In the following VI, Numeric Value In is wired to an item on the boundary of a Stacked Sequence
Structure. What functionality does the item provide?

a) Allows data to be passed from one frame to any other frame in a Stacked Sequence structure.
b) Allows data to be passed from one frame to the next frame in a Stacked Sequence structure.
c) Allows data to be passed from one frame to any subsequent frame in a Stacked Sequence structure.
d) Allows data to be passed out of a Stacked Sequence structure.

33. What is the value of Numeric Value Out following execution of the VI?

a) 3

b) 11

c) 19

d) 51

34. What are the values of 'String Out' and 'String Length Out' following execution of the VI?

a) VE LIKES, 8

b) E LIKES, 7

c) LIKES LA, 8

d) E LIKES LABVIEW, 15

35. Which of the following Waveform Graphs is displaying the data generated by the VI?

a)

b)

c)

d)

36. What is Boolean Out after the values of A=FALSE, B=TRUE and C=TRUE pass through the OR,
AND, Not AND and Not OR nodes from the Boolean Palette.

a) TRUE

b) FALSE

37. What are the contents of Boolean Array Out following execution of the VI?

a) A 1D array containing {FALSE}


b) A 1D array containing {FALSE, FLASE, TRUE, FALSE}
c) A 1D array containing {FALSE, FALSE, TRUE, FALSE, FALSE}
d) A 1D array containing {FALSE, TRUE, FALSE, FALSE}

38. What is the valueof Numeric Value Out following execution of the VI?

a) 4

b) 5

c) 6

d) 7

39. The following shows a State Machine VI followed by ALL of the Case Structure frames within the
state machine. What is the value of Numeric Value Out following execution of the VI?:

All of the hidden frames of the Case Structure from the question are shown below:

a) 10

b) 12

c) 14

d) 16

40. The following shows a State Machine VI followed by ALL of the Case Structure frames within the
state machine. What is the sequence of states transitioned by the state machine during execution:

All of the hidden case structure frames are shown below:

a) State 1, State 2, State


3, State 4, State 5

b) State 1, State 2, State


4, State 5, State 3

c) State 1, State 2, State


4, State 5

d) State 1, State 2, State


3, State 4

41. The value of Numeric Value In is 15. What is Numeric Value Out following execution of the VI?

All of the cases for the Case Structure in the question, excluding the Default case (shown in the
question) are shown below.

a) 14

b) 15

c) 99

d) 225

42. What is the value of Numeric Value Out following execution of the VI?

a) 3

b) 11

c) 19

d) 51

43. What is Boolean Out after the values of A=FALSE, B=TRUE and C=TRUE pass through the OR,
AND, Not AND and Not OR nodes from the Boolean Palette.

a) TRUE

b) FALSE

44. What are the values of 'String Out' and 'String Length Out' following execution of the VI?

a) VE LIKES, 8

b) E LIKES, 7

c) LIKES LA, 8

d) E LIKES LABVIEW, 15

45. Which of the following Waveform Graphs is displaying the data generated by the VI?

46. What are the contents of Boolean Array Out following execution of the VI?

a) A 1D array containing
{FALSE}

b) A 1D array containing
{FALSE, FLASE, TRUE,
FALSE}

c) A 1D array containing
{FALSE, FALSE, TRUE,
FALSE, FALSE}

d) A 1D array containing
{FALSE, TRUE, FALSE,
FALSE}

47. What is the value of Numeric Value Out following execution of the VI?

a) 4

b) 5

c) 6

d) 7

48. What is the value in Loop Count Out control following execution of the VI?

a) 3

b) 4

c) 5

d) 6

49. What is the value in Numeric Value Out following execution of the VI?

a) 13

b) 15

c) 30

d) 40

50. What is the value in Numeric Value Out following execution of the VI?

a) 0

b) 7

c) 11

d) 54

NOTE: Please read the comments associated with this post. The 'In Range and Coerce' node has
'Compare Aggregates' and 'Compare Elements' modes which impact this question. Nice spot
NielHayes

51. The following VI is run. Which of the following are possible values passed to 'Timer Values Out'?

a) {16188300, 16188456, b) {16188300, 16188400, c) {16188300, 16188356, d) {16188300, 16188456,


16188612, 16188768}
16188500, 16188600}
16188412, 16188468}
16188512, 16188612}

52. What is the value of Numeric Value Out following execution of the VI?

a) 3

b) 4

c) 6

d) 24

53. What is the value of Numeric Value Out following execution of the VI?

a) 17

b) 18

c) 19

d) 20

54. What are the contents of Array Out following execution of the VI?

a) A 1D Array {5,4,3,2,1,1,2,3,4,5}
b) A 1D Array {5,1,4,2,3,3,2,4,1,5}
c) A 2D Array {{5,1,4,2,3},{3,2,4,1,5}}
d) A 2D Array {{5,4,3,2,1}, {1,2,3,4,5}}

55. The following VI is loaded, Numeric Value In 1 is set to 2 and Numeric Vlaue In 2 is set to 1; what
is the value of Numeric Value Out after the first and second execution of the VI?

a) 0, 0

b) 0, 3

c) 3, 3

d) 3, 6

56. Which of the following most closely describes the sizes of the files generated by the following VI?

a) steve.txt is the same


size as steve2.txt

b) steve.txt is larger than


steve2.txt

c) steve.txt is smaller than


steve2.txt

d) steve2.txt is the larger


as steve.txt was not
created due to an error

57. Which of the following most closely describes the sizes of the files generated by the following VI?

a) steve.txt is the same


size as steve2.txt

b) steve.txt is larger than


steve2.txt

c) steve.txt is smaller than


steve2.txt

d) steve2.txt is the larger


as steve.txt was not
created due to an error

58. Describe the data displayed on Waveform Graph and Waveform Chart following execution of the
VI?
NOTE: Assume Transpose Array is disabled for both Waveform Graph and Waveform Chart.

a) Both Waveform Graph and Waveform Chart contain 3 plots each with 5 data points
b) Waveform Graph contains 3 plots each with 5 data points, whereas Waveform Chart contains 5 plots
each with 3 data points
c) Waveform Graph contains 5 plots each with 3 data points, whereas Waveform Chart contains 3 plots
each with 5 data points
d) Both Waveform Graph and Waveform Chart contain 5 plots each with 3 data points

59. Describe the difference between the data displayed on Waveform Chart #1 and #2 following
execution of the VI?

a) Chart #1 has 1 plot containing 8 data points, whereas Chart #2 has 8 plots containing 1 data point
b) Chart #1 has 2 plots containing 4 data points, whereas Chart #2 has 4 plots containing 2 data points
c) Chart #1 has 4 plots containing 2 data points, whereas Chart #2 has 2 plots containing 4 data points
d) The data displayed on both Charts is the same

60. Describe the data displayed on Waveform Chart following execution of the VI?

a) 1 plot containing 8 data


points

b) 2 plots each containing


4 data points

c) 4 plots each containing


2 data points

c) 8 plots each containing


1 data point

61. Which of the following is displaying the data that might be generated by the VI?

NOTE: Assume the Transpose Array option for Waveform Graph is set to OFF (do not transpose).

62. Describe the data displayed on Waveform Graph #1 and Waveform Graph #2 following execution
of the VI?

NOTE: Assume the Transpose Array option for both graphs is set to OFF (do not transpose).

a) Graph #1 contains 2 plots each with 4 data points, whereas Graph #2 has 4 plots each with 2 data
points.
b) Graph #1 contains 4 plots each with 2 data points, whereas Graph #2 has 2 plots each with 4 data
points.
c) The data displayed is the same for both graphs; each containing 2 plots each with 4 data points.
d) The data displayed is the same for both graphs; each containing 4 plots each with 2 data points.

63. Describe the plots on Waveform Graph following execution of the VI?

a)
b)
c)
d)

1 graph plot with 5 randomly spaced data points.


2 individual graph plots, each with 5 equally spaced data points.
5 individual graph plots, each with 2 equally spaced data points.
5 individual graph plots, each with 1 data point.

64. Describe the plots on Waveform Graph following an execution of the VI?

a) 1 graph plot with 15 equally spaced data points.


b) 3 individual graph plots, each with 5 equally spaced data points.
c) 5 individual graph plots, each with 3 equally spaced data points.
d) 15 individual graph plots, each with 1 data point.

65. Which of the following graphs is showing the data written to 'Waveform Graph' following
execution of the VI?
NOTE: Assume the Transpose Array option for the graph is set to OFF (do not transpose).

66. What are the values in Numeric Value Out following execution of the VI?

a) {0,3}

b) {0,4}

c) {3,4}

d) {4,4}

67. What is the value in Numeric Value Out following execution of the VI?

a) 0

b) 7

c) 14

d) Undefined (The VI does not Stop)

68. What are the contents of String Out following execution of the VI?

a) teve likes LabVIEWS

b) WEIVbaL sekil evetS

c) LabVIEW likes Steve

d) evetS sekil WEIVbaL

69. Through the Tools menu it is possible to configure LabVIEW to display the symbol identified by
the arrow (the little black square). What does 'the little black square' indicate?

a) LabVIEW is allocating memory space in the form of a buffer


b) LabVIEW is performing a concatenation on the Initialize Array node Output
c) LabVIEW is showing an output coersion dot
d) LabVIEW is indicating that the output array size is 10 or more elements

70. Given an intial value of 0 for 'Multiplier', what are the possible values of 'Numeric Value Out'
following execution of the VI?

a) 0 only

b) 64 only

c) 0 or 64

71. What are the contents of 'Array Out' following execution of the VI?

72. What are the contents of 'Cluster Out' following execution of the VI?

d) Undetermined

73. What are the contents of String Out following execution of the VI?

Here is the only hidden case of the Case Structure.


a) another case Structure
Requiring an Answer

expression

question

b) another an Answer
c) Structure Requiring Answer
d) another Structure Requiring an Answer

74. What is the value in 'String Value Out' following execution of the VI?

The single hidden case of the Case Structure is shown below


a) every equivalent each
b) every equivalent answer allows each available atom
c) each
d) <empty string>

75. Which of the following is TRUE following execution of the VI?

a) SercoSteveB.txt is empty and 'error out' contains an error


b) SercoSteveB.txt is empty and 'error out' does not contain an error
c) SercoSteveB.txt contains LabVIEWRocks and 'error out' contains an error
d) SercoSteveB.txt contains LabVIEWRocks and 'error out' does not contain an error

76. What are the contents of 'Search Position Out' following execution of the VI?

The other case for the case structure used in the question is shown below:

a) A 1D Array containing
{-1,-1}

b) A 1D Array containing
{0,0}

c) A 1D Array containing
{0,2}

d) A 1D Array containing
{2,0}

77. What are the contents of 'Search Position Out' following execution of the VI?

The other case for the case structure used in the question is shown below:

a) A 1D Array containing
{-1,-1}

b) A 1D Array containing
{0,0}

c) A 1D Array containing
{0,1}

d) A 1D Array containing
{1,0}

Вам также может понравиться