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.
Grade (0-5): 5

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

Student answer: Global variables have file scope.
Grade (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.
Grade (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.
Grade (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
Grade (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.
Grade (0-5): 5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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