nerdexam
National_Instruments

CLAD · Question #24

Which of the following illustrates an advantage of a global variable over a local variable?

The correct answer is A. A global variable can pass data between two independent VIs running simultaneously. You've hit your limit · resets 12:50am (America/New_York)

Data Flow

Question

Which of the following illustrates an advantage of a global variable over a local variable?

Options

  • AA global variable can pass data between two independent VIs running simultaneously
  • BOnly one process should ever write to any data in a global variable
  • CGlobal variables follow the dataflow model, and therefore cannot cause race conditions
  • DGlobal variables do not require owned labels to operate

How the community answered

(30 responses)
  • A
    93% (28)
  • B
    3% (1)
  • C
    3% (1)

Explanation

You've hit your limit · resets 12:50am (America/New_York)

Topics

#global variable#local variable#data sharing#race conditions

Community Discussion

No community discussion yet for this question.

Full CLAD Practice