PROGRAM #2
Fall 2011
Due: October 5, 2011, 5pm on Angel
General Guidelines:
All source code must be in C++. You can use Windows or Unix environments at your discretion.
Each program project should be accompanied by a COVER SHEET (see details below). Assignments without cover page will NOT be graded.
This is an individual programming assignment. No team work is allowed.
The final material for submission should be entirely written by you. If you decide to consult with others or refer materials online, you MUST give due credits to these sources (people, books, webpages, etc.) by listing them on the cover sheet mentioned below. Note that no points will be deducted for referencing these sources. However, your discussion/consultation should be limited to the initial design level. Sharing or even showing your source code/assignment verbiage to anyone else in the class, or direct reproduction of source code/verbiage from online resources, will all be considered plagiarism, and therefore will be awarded ZERO points and subject to the WSU Academic Dishonesty policy. (Reproducing from the Weiss textbook is an exception to this rule, and such reproduction is encouraged wherever possible.)
Grading will be based on correctness, coding style, implementation efficiency, exception handling, source code documentation, and the written report. Try to also follow the good coding practices discussed in class during the C++ review lecture.
How to submit using Angel?
All assignments with cover sheet should be zipped or tarred into one archive folder (named after your last name).
DROPBOX METHOD (PREFERRED):
I have set up a have set up a new DropBox inside Angel. SO PLEASE SUBMIT
YOUR PROJECTS INTO THE DROPBOX. IF YOU DO THAT, THERE IS NO NEED TO ALSO
SUBMIT BY MAILS (JUST SUBMITTING INTO DROPBOX IS SUFFICIENT). The way to
submit to the dropbox is as follows:
1) Once you login to Angel, click on the "Lessons" tab.
2) You will see "Program project 2".
Click on that and you will see the submission website.
Under Title, just write your first and last name and say
Program 2 - e.g., "Ananth Kalyanaraman, Program 2".
Leave the message textbox empty, unless you want to add a
special comment to us.
Then click on the "Attachments" button and attach your ZIP
file there.
And then press the SUBMIT button.
For this assignment, I would like all of you to submit the project to the dropbox. Only if that method does not work for you due to some technical reason, then you need to submit it by EMAIL which is the old method:
EMAIL
METHOD (NOT PREFERRED):
Attached by email and sent to:
"All course faculty"
through Angel. This will send out an email to both the
instructor and the TA. Submissions are due by 5pm.
Late submission policy: A late penalty of 10% will be assessed for late submissions within the next 24-hour. Note: Submissions will be accepted only through the eLearning webmail. Any other submission outside the eLearning portal will be discarded and not graded. (In the unlikely event of an eLearning server outage on the day of submission, assisgnments can be emailed to the instructor's EECS email account.)
PROBLEM Maximum subsequence sum problem:
For this assignment you will be comparing the performance of the four different algorithms we discussed in class for the maximum subsequence sum problem. Here are the details:
Report:
In a separate document (Word or PDF), compile the following sections:
· A: Problem statement. In 1-2 sentences state the goal(s) of this exercise.
· C: Experimental Results: In this section, include the following:
o The plots from the above test results
o Are the observations made in the above plots as per your theoretical expectations? If so, why, and if not, why not? Explain.
FINAL CHECKLIST FOR SUBMISSION:
___ Cover sheet
___ A separate folder containing all your source code (including the main function you used for testing)
___ Report
___ Both the above zipped into another folder archive called Program2<YourLastName>.zip