I will post by end of day today the material covered in the tutorial and also go over it in the next lecture.
Please watch this space and the timetable for updates on the tutorial rooms - I am trying to arrange for classrooms that: a) have a computer and b) are closer to the labs.
These are the course-wide announcements that apply to all three campuses.
It's on the Tests page.
Good luck!
You must add the method getInventory() to the
BookStore class. This method will make it easier for
you to test your other methods for this class.
Since this is a new requirement, I have provided the code for
you:
Assuming you have some instance variable for the inventory of books on
hand:
private String bookInventory;
The method is as follows:
/**
* Returns the inventory of the books on hand at the
* BookStore.
* @return the inventory of the books on hand as a String
*/
public Sring getInventory() {
return bookInventory; // or whatever you named this instance variable.
}
The submission deadline is extended to Thursday, March 10 at 9:00 a.m. (sharp).
This will give you time to create a more thorough set of test cases and to ensure that your code meets
the checkstyle standard. The time is
given due to the length of the assignment - it is recommended that you take advantage of every minute
that you get.
You can improve the quality of your assignment by minimizing style errors. An automated style checker is available and should be used in order to reduce style errors (and needless loss of marks!) Detailed instructions and information can be found here .
A sample A1 solution has been posted. We have also posted the A1 tester that we used to generate your "automark". To run the tester on your code in DrJava:
You can see exactly which tests your program failed.
Assignment 2 is posted on the Assignments page.
This is an outstanding opportunity for first-year students with high academic standing.
*** The deadline for applications is March 31, 2005. ***
The award:
The successful applicants will receive a one-time award of $US5,000 and an
expense-paid trip to visit Lucent/Bell Labs Global Headquarters in Murray Hill,
New Jersey to attend the "Lucent Global Science Scholars Summit" in July 2005
along with other competition winners from around the world. When possible, the
winner will be offered a paid summer internship.
Eligibility:
To be eligible, you must be a citizen or permanent resident of Canada
who is a full-time student in first year undergraduate study in:
computer science, computer engineering, electrical engineering, or a
specialized technical communications major. To see the full list of
requirements, visit the website below.
Applications:
For an application form and more details, visit visit www.cbie.ca (choose
"Scholarships") or contact Svetlana Pisarenko at (613) 237-4820, ext. 243,
or spisarenko@cbie.ca.
We posted a list of mandatory style and submission rules on the Assignments page. A portion of your assignment marks will be based on style. Follow these rules!
The hosting service for CodeLab is experiencing technical difficulties, making the normal login and registration web address inaccessible.
Until this problem is fixed, please use the following web link to login or to register: CodeLab The Monday 9:00 a.m. submission deadline for all campuses is extended to Tuesday, January 18, 2005 at 9:00 a.m. for this week only.
If you need to contact Turing's Craft, Inc. for CodeLab support, they can be reached at arnow@its.brooklyn.cuny.edu