Algorithms and Problem Solving I
This is the course blog for Winona State CS234, Spring 2011.
Wednesday, April 20, 2011
Grading of Assignment #11
In order for us to grade Assignment #11, we need at least one person from each group (even if you were a group of one) to send an email to both Nicole and Tim that identifies the team members. I know that some of you indicated your team in the comments of your DateBook class, but not everyone did so we would like every team to send us an email. Thanks.
Monday, April 18, 2011
Assignment Due Date Change
Due to confusion on the due date for the assignment, we will allow submission of the DateBook assignment through Tuesday (April 19th) at 11:59PM.
Wednesday, April 6, 2011
Assignment 11
Next week you will be working on the development of a Datebook class, which relies upon the Date class you have constructed for your previous assignment. This development should be completed in class on April 11th and 13th, and should be done and submitted in pairs. Your instructors will be attending a conference during this time, so please ask any necessary questions in class today as it will be our last class opportunity to do so before the assignment is due. The assignment is available here.
Tuesday, March 1, 2011
Assignment Due Date Change
We've decided to postpone the due date for the current assignment. You may submit it through March 15th (the Tuesday after spring break). Please take this time to make sure you understand the construction of contracts through your Javadoc specification.
Monday, February 28, 2011
JavaDoc Configuration
Here is the line you need to get the @require and @ensure tags in JavaDoc.
-author -version -tag require:cm:"Require:" -tag ensure:cm:"Ensure:"
-author -version -tag require:cm:"Require:" -tag ensure:cm:"Ensure:"
Wednesday, February 9, 2011
Assignment 5
If you successfully completed the last two assignments, you should utilize the PiggyBank and Item classes you created. However, if you were not able to complete the assignments, you may utilize the PiggyBank.class and Item.class files that have been placed along with Mommy.class in the class store for assignment 5.
Tuesday, February 8, 2011
Help on setting up the ID on Assignment #4
The ID should be created by concatenating the first and last characters of the description with the first and last characters of the store of the item. If you are using description as the instance variable for the item's description and id as the instance variable for the item's ID then the following line of code will set id to the first character of the description:
id = "" + description.charAt(0);
The "" + at the beginning of the expression is simply concatenating the empty string to the first character of the description. This is necessary because otherwise the characters will be converted to ints and added together rather than the characters being concatenated together to form a String.
Start with the statement above and then add the last character of the description followed by the first and last characters of the store of the item.
id = "" + description.charAt(0);
The "" + at the beginning of the expression is simply concatenating the empty string to the first character of the description. This is necessary because otherwise the characters will be converted to ints and added together rather than the characters being concatenated together to form a String.
Start with the statement above and then add the last character of the description followed by the first and last characters of the store of the item.
Subscribe to:
Comments (Atom)