(TCO 5) Source code documentation includes _____.

COMP 230 Introduction to Scripting and Database with Lab - OS Shell scripting  WEEK 5 Quiz Answers


  1. (TCO 5) Source code documentation includes _____.
  2. (TCO 5) What name is best suited to a module that calculates overtime pay?
  3. (TCO 5) If a subroutine or function is useful and well-written, you may want to use it more than once within a program or in other programs. This is known as _____.
  4. (TCO 5) In VBScript, argument variable names in the calling module _____ in the subroutine or function.
  5. (TCO 5) In VBScript, variables defined in the main code sequence of a program have _____ scope?
  6. (TCO 5) Variables declared within a module have what scope?
  7. (TCO 5) Variables that are not specifically used for user-input or to hold or display calculated values are referred to as _____ variables.
  8. (TCO 5) In what way do named constants differ from variables?
  9. (TCO 5) An example of an appropriate named constant would be _____.
  10. (TCO 5) Which VBScript statements below represent an acceptable definition for the subroutine displayResults( )?