Introduction to Computer Science:
Quiz 4
    Sewickley Academy, 2000-2001

See Course Home Page.  Also, see the Solutions to Quiz 4.

SHOW YOUR WORK  and  WRITE NEATLY !!!

This is a programming quiz.  You must use Visual C++ for this quiz.  You will also need the following file for this quiz: quiz4.cpp. Finally, you will also need apvector.hand apvector.cpp.

1.  Create a new project and demonstrate this program (quiz4.cpp) working properly (unmodified).

2.  Modify the program to sort largest-to-smallest, rather than smallest-to-largest.

3.  Modify the program to also output the median value.  Recall that the median in a list with an odd number of elements is the middle value, and in a list with an even number of elements is the average of the two middle values.

See Course Home Page.