| CS183 -- Lab 2: Class Implementation |
|
|
Course Objectives Addressed
OverviewThe purpose of this lab is to implement a Histogram class for which the public interface has already been designed. AcknowledgementThis lab was developed by Dr. Chris Taylor. Problem StatementImplement the Histogram class (refer to the Histogram.h header file) and write a program that will use the Histogram and LogEntry classes to generate histograms of the:
The histogram should look something like this:
Request by Day of Week
| *
| *
| *
| * *
Requests | * * * *
| * * * * *
| * * * * * *
| * * * * * * *
----------------------
A B C D E F G
A: 20 - Sunday
B: 210 - Monday
C: 276 - Tuesday
D: 422 - Wednesday
E: 180 - Thursday
F: 227 - Friday
G: 109 - Saturday
or
Requests by Filesize
| *
| *
| *
| *
Requests | *
| *
| * * *
| * * * * *
------------
A B C D E
A: 48 - 0-5000
B: 59 - 5000-10000
C: 301 - 10000-50000
D: 24 - 50000-100000
E: 7 - 100000-500000
Notes:
Lab reportThe lab report should consist of the following:
Lab report templateAs with any report you submit, correct spelling and grammar are required. In addition, your report should be submitted electronically following the Electronic submission guidelines. (You may wish to consult the sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost. It may be wise to keep a diskette backup as well. Your lab grade will be determined by the following factors:
If you have any questions, consult your instructor. |
| © 2003 Dr. Christopher C. Taylor | Office: CC-27C | Phone: 277-7339 | Last Updated: Mon Mar 17 06:00:36 2003 |
| I am responsible for all content posted on these pages; MSOE is welcome to share these opinions but may not want to. | |||