Congratulations, the Cal Poly Records office has hired you as a programmer at the princely wage of $50 an hour. Your first assignment is to write an enhancement to an existing program that generates a report of the percent of students in each department that are on academic probation. As you study the source code (created by a previous programmer who is no longer around) you notice that the programmer used an array to store the student records.
This strikes you as an incredible waste of space. You learned in your data structures class that arrays have to be statically allocated and in this case the programmer declared the array with room for 20,000 students, even though during any particular report probably only about 5,000 students are going to be on probation. You decide to rewrite the program using a dynamic data structure so that memory is allocated as needed. It takes you only an hour to revise the program and test it.
Calculate the net cost to your employer for your revision. That is, how much did the employer pay you versus how much would it have cost to simply pay for the RAM to store the 15,000 students.
Assume: