Homework for 2/11/11

Sorry folks, I need to remember to check that automatic tasks launch, when they are meant to.

  1. What is meant when software is said to be modular?
  2. What is the disadvantage in using GLOBAL variables?
  3. What is the advantage in using LOCAL variables?
  4. Describe what a local variable is used for.
  5. Why should care be taken when using global variables?
  6. Give an extract of code which illustrates how a formal and actual parameters are used.
  7. Illustrate the difference in syntax between procedures/subroutines and functions.
  8. What is the advantage in using subprograms?
  9. Describe parameter passing by value.
  10. Describe parameter passing by reference.