Self-test

  1. When should arrays be used? Why?

  2. Why is it important to use dynamic memory allocation for all large arrays?

  3. How does a lookup table improve program performance? What is the down side of lookup tables?

  4. What is an out-of-bounds error? What kinds of problems can it cause?

  5. When passing an array as an argument to a subprogram, what must always be passed with it? Why?