CS302 -- Final Exam. May 1, 2008 -- Answer Sheet


Question 1

Part A: A B C D E F G H I
Part B:
Part C:
Part D: A B C D E F G H I
Part E: A B C D E F G H I
Part F: A B C D E F G H I
Part G:

















Question 2


Question 3

Part A:
Part B:

Question 3 - More guides in case you messed up the others

Part A:
Part B:

Question 4

Add to the class if you need to:
typedef vector <double> VD;

class FindA {
  public:
     vector <VD> A;
     double f(int i, int j);
                                       



}
Implement the method:
double FindA::f(int i, int j)
{





























}