By the end of this lab you should have Homework Assignment One done.
Here's the text in case you don't have the book yet.
The Base.xls file records information related to
- baseball salaries (in hundreds of thousands of dollars) and
- batting averages throughout a player's career.
Open Base.xls and:
- Display only those players whose career batting average is 0.310 or greater.
Print your results.
- Add a new column to the worksheet, displaying
- the batting average divided by the
player's salary and multiplied by 1000.
- Sort the worksheet in descending order of the new column you created.
What are the
top ten players in terms of batting average per dollar?
Print your results.
- Examine the number of years played in your sorted list.
Where do most of the first-year
players lie?
What would account for that?
(Hint: What are some of the other factors besides
batting average that may account for a player's high salary?)
- Save the workbook as
and turn it in.
Turn your assignment in OnCourse before the end of the lab.