Question: What is the scope of global variables?
Instructor answer: File scope.

Student answer: Any functions that follows their deceleration that  are in the source code file are allowed to have access the variables.  Also global scope variables retrain their value throughout the execution of the program.
Score (0-5): 5

Student answer: they can be accessed by any C++ file anywhere.
Score (0-5): 2.5

Student answer: Global variables have file scope.
Score (0-5): 5

Student answer: The scope of global variables are created by placing variable declarations outside any class or function definition.  Global variables retain their values throughout the execution of the program and they can be referenced by any function that follows their declarations or definitions in the source file.
Score (0-5): 2.5

Student answer: A global variable is an identifier that retains it's value throughout the execution of the program. It has file scope.
Score (0-5): 5

Student answer: Global Variables can be used in any function as long as the appropriate .h file that holds the variable is included
Score (0-5): 4

Student answer: They can be accessed by any part of the program. It can be referenced by any function that follows the declarations or definitions in the source file.
Score (0-5): 5

Student answer: can be accesed by any classes that have and object of that variables class in it
Score (0-5): 3

Student answer: Global variables have file-scope.  The variable is know to all functions throught the file
Score (0-5): 5

Student answer: The entire program
Score (0-5): 4.5

Student answer: They have file scope when placed outside a function.
Score (0-5): 5

Student answer: File scope.
Score (0-5): 5

Student answer: They can be used throughout the program
Score (0-5): 4.5

Student answer: Global variable can b accessed by any class wit an object in the variables class
Score (0-5): 3

Student answer: The scope of global variables is at the file level.
Score (0-5): 5

Student answer: Global variables all have file scope.
Score (0-5): 5

Student answer: it is accessible by all functions within a program
Score (0-5): 4.5

Student answer: variables accessible anywhere in the program, as long as they are public.
Score (0-5): 4.5

Student answer: They can be referenced by any function following their declaration or definition inside the source file.
Score (0-5): 5

Student answer: globally, anywhere in the program.
Score (0-5): 4.5

Student answer: Global variables have a file scope
Score (0-5): 5

Student answer: The entire program.
Score (0-5): 4.5

Student answer: throughout the execution of the program
Score (0-5): 4.5

Student answer: If a variable is declared global, any function or class can use that variable.
Score (0-5): 4.5

Student answer: The entire program or file.
Score (0-5): 5

Student answer: throught the programm
Score (0-5): 4.5

Student answer: the whole code
Score (0-5): 4.5

Student answer: File scope
Score (0-5): 5

Student answer: can be referenced by any function that follows their declarations or definitions in the source file
Score (0-5): 5

Student answer: global variables have program scope (accessible anywhere in program)
Score (0-5): 4.5

Student answer: variables that exist throught the entire script. their values can be changed anytime in the code and fucntions.
Score (0-5): 4.5