CPSC 421 OOP Scope

123456789101112131415161718192021222324252627282930313233
Across
  1. 6. _____ Scope is where the name binding is limited to the class definition and method definition
  2. 8. In essence, file scope variables are _____ to the file
  3. 10. File scope variables may be accessible by other _____ in the program
  4. 12. In non-OOP languages, Class Scope is accomplished by _____
  5. 13. Associating a symbolic name with a storage location is _____ _____
  6. 20. Problems with the order of creation of global variables between translation units are known as the _____ _____ _____ fiasco
  7. 21. An _____ _____ is allocated where it is declared and deallocated automatically when the program leaves the variable's scope
  8. 25. All global variables are created before entering the _____() function
  9. 26. To ensure scope is limited to the file with the declaration, you could use the specifier static or an _____ _____
  10. 29. In the class definition, names must be _____ before they are used
  11. 30. Where the value of a variable is stored is the _____ _____
  12. 32. In other parts of the program, the name may refer to another _____, i.e., it is not the same variable
  13. 33. _____ Scope is where the name binding is limited to the block of the function
Down
  1. 1. _____ Scope is where the name binding limited to the expression
  2. 2. _____ _____ have access to all of the fields (data members) of their class, i.e., the fields are in scope
  3. 3. Replace any global variables with _____ _____
  4. 4. Scope is the _____ of the name binding
  5. 5. _____ Scope is where the name binding is limited to the block statement of the declaration
  6. 7. Ordering problems with global variables can cause _____ when the program runs
  7. 9. In a function declaration, the scope of parameter names ends right before the _____
  8. 11. The best way to improve a design is to _____ scope whenever possible
  9. 14. _____ Scope is where the Name binding is available to more than one source-code file of a program
  10. 15. To improve design, _____ the amount of code that has access to a variable
  11. 16. Files using a global variable from another file use the _____ specifier
  12. 17. A _____ is an abstract storage location paired with an associated symbolic name, which contains some known or unknown quantity of information referred to as a value
  13. 18. _____ Scope is where the name binding is available to the file of the declaration
  14. 19. Parameter names are a form of _____
  15. 20. The scope we are examining is lexical scope or _____ scope
  16. 22. To improve design, place the variable in the _____ block possible
  17. 23. The most common occurrence of expression scope is in function declarations or function prototypes, known as _____ _____ _____
  18. 24. The visibility of a variable may be hidden by _____
  19. 27. The _____ of a name binding is the portion of source code in which a binding of a name with an entity applies
  20. 28. Order of _____ is the order of declaration
  21. 31. The _____ of creation of global variables between different translation units is not specified by the C++ Standard