Labview Clad 1

Embed Size (px)

Citation preview

  • 7/29/2019 Labview Clad 1

    1/14

    1. Which of the following graphs matches the result in Comparison Values after the following code hasexecuted?

    A

    B

    1

  • 7/29/2019 Labview Clad 1

    2/14

    C

    D

    2. What VI is typically used to terminate an Error Cluster wire and to display any error message?

    Simple Error HandlerMerge ErrorsGenerate Front Panel ActivityOne Button Dialog/Two Button Dialog

    3. In what instance would you use the Probe tool rather than Highlight Execution?

    A to slowdown the VI to show values in wiresB to look into a SubVI, as the process is running

    C to see the value of a wire in real timeD to see the flow of data

    4. Program functionality comments should be included on the:

    A Block Diagram.

    2

  • 7/29/2019 Labview Clad 1

    3/14

    B Front Panel.C Both A. and B.D None of the above. Comments are not needed in graphical programming.

    5. In which of the following functions does the number of output terminals solely depend on the number ofelements in the input Cluster?

    A UnbundleB BundleC Unbundle by NameD Bundle by Name

    6. To place an Express VI on the Block Diagram you would select it from the:

    A Tools PaletteB Icon Palette

    C Controls PaletteD Functions Palette

    7. What is the result in subarray after the following code has executed?

    A a 1-D Array of{6, 8, 10}B a 1-D Array of{4, 6, 8}C a 1-D Array of{8, 16, 32}D a 1-D Array of{2, 4, 6}

    8. Which VI architecture allows the user to run several tasks concurrently?

    A Multiple Case Structure VIB Parallel Loop VIC State Machine VID None of the above

    9. To access a graphical representation of all of the Sub VI's and nodes that is called in the current VI, then:

    A select Browse >> Show VI Hierarchy from the menu bar.B right-click on a SubVI in the Block Diagram and select Show VIHierarchyC right-click on the VI icon and select Show VI Hierarchy.D Both A. and B.E Both A. and C.

    3

  • 7/29/2019 Labview Clad 1

    4/14

    10. The STOP button shown below is an example of which data type?

    A LetterB BooleanC StringD Numeric

    11. Which of the following performs the most efficient conversion of random numbers of double precisioninto an array of single precision values?

    A

    B

    C

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

    13. How would you turn off the Debugging capabilities of a VI?

    A Select VI Properties, and deselectAllow Debuggingfrom the Execution sub-menu.B Make the VI a SubVI and then selectAbove Priorityto automatically turn of debugging.C You cannot turn off debugging because it is an integral part of the LabVIEW environment.

    4

  • 7/29/2019 Labview Clad 1

    5/14

    14. 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}

    15. Which of the following allows you to plot any set of points, evenly distributed or not?

    A Waveform GraphB Waveform ChartC XY ChartD Both A. and C.

    16. What is the result in Array after the following code has executed?

    A a 1-D Array of{1, 8, 6, 2}B a 1-D array of{1, 4, 3, 2, 1, 0, 8, 6, 2}C a 1-D array of{1, 3, 2, 1, 8, 6, 2}D a 1-D array of{1, 2, 1, 0, 8, 6, 2}

    17. Which answer matches the correct labels with their corresponding legend/palette on the following FrontPanel?

    5

  • 7/29/2019 Labview Clad 1

    6/14

    A A - Plot Legend; B - Cursor Legend; C - Scale Legend; D - Graph PaletteB A - Cursor Legend; B - Graph Palette; C - Plot Legend; D - Scale LegendC A - Plot Legend; B - Scale Legend; C- Graph Palette; D - Cursor LegendD A - Plot Legend; B - Graph Palette; C - Scale Legend; D - Cursor Legend

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

    19. Comments should be added to the Block Diagram:

    A to describe basic functions.B to describe unfamiliar functions.C comments are unnecessary as LabVIEW automatically adds them.D to describe every function.

    6

  • 7/29/2019 Labview Clad 1

    7/14

    20. What is the output of the Build Array function in the figure below when Concatenate Inputs is selected?

    A a 1-D Array of{1, 7, -4, -2, 3, 6}B a 1-D Array of{1, -4, 3, 7, -2, 6}C a 2-D Array of{{1, -4, 3, 0}, {7, -2, 6}}D a 2-D Array of{{1, -4, 3}, {7, -2, 6}}

    21. clicking in which area on the following figure will allow you to adjust the plot color and point style?

    A AB BC CD D

    22. Which of the following will allow you to run text-based code in LabVIEW?

    A Case StructureB Formula Node

    C Event StructureD Sequence Structure

    23. A custom probe is created by:

    A placing a property node onto the block diagram and selecting Custom Probe from the Properties menu.B double clicking on a normal probe.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.

    7

  • 7/29/2019 Labview Clad 1

    8/14

    24. In the detailed context help window, a SubVI's terminals:

    A appear in bold for required terminals.B appear as plain text for optional terminals.

    C appear dimmed for recommended terminals.D All of the above.

    25. What is the value in Length after the following code has executed?

    A 13

    B 12C 11D 10

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

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

    8

  • 7/29/2019 Labview Clad 1

    9/14

    A VOLTS DC +2.B VOLTS DC +2C 50D 250

    28. Which of the following will continuously display multiple plots on the same Waveform Chart until the stopbutton is pressed?

    A

    B

    9

  • 7/29/2019 Labview Clad 1

    10/14

    C

    D

    29. What is one disadvantage of using the State Machine VI architecture?

    A The diagram becomes significantly larger when changing from a General VI to a State Machine VI.B A State Machine VI can only traverse states in order.

    C If two events occur at the same time, only the first event will be handled and the second will be lost.D State Machines cannot acquire data or use DAQ functions.

    30. If a user needs to enter a name on the front panel and then use the name later in the VI, they would usea:

    A Numeric controlB ASCII controlC String controlD Boolean control

    31. Which of the graphs below matches the output in the Waveform Graph indicator after the following codehas executed?

    10

  • 7/29/2019 Labview Clad 1

    11/14

    A

    B

    11

  • 7/29/2019 Labview Clad 1

    12/14

    C

    D

    32. A For Loop will stop executing:

    Awhen a false value is present at the conditional terminal and the conditional terminal is .

    Bwhen the value of the count terminal, , is one less than the value of the iteration terminal, .

    Cwhen the value of the iteration terminal, , is one more than the value of the count terminal, .

    D None of the above.

    33. A While Loop stops iterating when:

    Aa false value is present at the conditional terminal and the conditional terminal is

    Ba true value is present at the conditional terminal and the conditional terminal is

    C Both A. and B.D None of the above

    34. Which DAQ board will allow for the detection of a 2.1 mV change in a signal if a 0-10 volt range wasselected?

    A 12-bit boardB 16-bit board

    12

  • 7/29/2019 Labview Clad 1

    13/14

    C Both A. and B.D None of the above.

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

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

    37. What is the output of the Build Array function after the following code has executed?

    A a 1-D Array of{4, 8, 3, 3, 6, 4}B a 2-D Array of{{4, 2, 0}, {3, 6, 4}}C a 2-D Array of{{4, 8, 3}, {3, 6, 4}}D a 1-D Array of{4, 2, 3, 6, 4}

    38. What is the output of the Build Array function in the figure below when Concatenate Inputs is notselected?

    A a 2-D Array of{{2, 4}, {6, 3}}B a 1-D Array of{2, 4, 7, 6, 3}C a 2-D Array of{{2, 4, 7}, {6, 3, 0}}D a 1-D Array of{6, 3, 2, 4, 7}

    39. What is the value in Shift Register Answerafter the following code has executed?

    13

  • 7/29/2019 Labview Clad 1

    14/14

    A 10B 16C 32D 24

    40. Who is known as father of LabVIEW?

    14