On this page:
Welcome to CS 3500
5.3.5

Blog

Welcome to CS 3500

Please, check this page daily for any last-minute announcements about the class, assignments, lectures, and other information.

=================================================================

Thu Dec 5 09:15:09 EST 2013

Because WebCAT was so slow in accepting assignments last night, I have extended the deadline till midnight tonight.

Feel free to update your submissions. Any submissions that arrived late last night are automatically given back the lateness points.

=================================================================

Wed Nov 27 23:58:49 EST 2013

The last assignment is now ready for submissions on the WebCAT.

For now it uses the given files cinema.txt and orders.txt and expects the following two reports:

String salesReport =

      "1,1,960,20,30,40,730\n"

    + "1,1,960,30,20,50,840\n"

    + "1,1,960,40,30,50,0\n"

    + "1,3,1020,20,10,30,510\n"

    + "2,2,990,20,40,20,640\n"

    + "2,2,990,10,5,10,0\n";

 

String managerReport =

      "Report 1\n"

    + "Harry Potter,A,960,300,50,50,90\n"

    + "Harry Potter,A,1080,300,0,0,0\n"

    + "Harry Potter,A,1200,300,0,0,0\n"

    + "Harry Potter,C,1020,500,0,0,0\n"

    + "Harry Potter,C,1140,500,0,0,0\n"

    + "Great Expectations,B,990,90,0,0,0\n"

    + "Great Expectations,B,1210,90,0,0,0\n"

    + "Report 2\n"

    + "Harry Potter,A,960,300,50,50,90\n"

    + "Harry Potter,A,1080,300,0,0,0\n"

    + "Harry Potter,A,1200,300,0,0,0\n"

    + "Harry Potter,C,1020,500,20,10,30\n"

    + "Harry Potter,C,1140,500,0,0,0\n"

    + "Great Expectations,B,990,90,20,40,20\n"

    + "Great Expectations,B,1210,90,0,0,0\n";

The two files are already included in the WebCAT server - you do not need to upload them.

Make sure you include a README file that shows how to run your program.

=================================================================

Mon Nov 25 22:32:43 EST 2013

Update to Assignment 10 is posted. Here are links to sample files:

cinema.txt orders.txt

=================================================================

Thu Nov 21 23:02:45 EST 2013

Here is a link to the CRC cards example I have shown in class on Wednesday

=================================================================

Thu Nov 21 21:08:09 EST 2013

Unitentionally, I have set the submission deadline on WebCAT for Assignment 9 on November 25th.

Mea culpa.

As the result, 25 November is now the official deadline.

=================================================================

Tue Nov 19 22:52:42 EST 2013

Here is a link to the SampleDocuments.txt for assignment 9.

A quick way to learn to build basic GUIs is by working through the Fundies 2 Lab 11

=================================================================

Mon Nov 18 20:02:22 EST 2013

You can learn about how to use quickcheck to generate test data at SummerLab7-2012

=================================================================

Fri Nov 8 10:07:32 EST 2013

Assignment 7 - updated WebCAT tests and additional instructions:

Please note that we have modified the black box tests on WebCAT and added the following requirement.

Within your BTree implementation, you must add the following method:

/**

 * Method that accepts a visitor that produces a value of the type R

 * *param v the given visitor

 * *param <R> the type of elements this tree holds

 * *return the result of the visitor method

 */

public <R> R accept(RBTreeVisitor<T, R> v){

    //NOTE: tree is the name of my RBTree field. You would replace tree

    // with the name of your RBTree field.

    return tree.accept(v);

}

=================================================================

Thu Nov 7 18:24:37 EST 2013

Assignment 7 is due by midnight Sunday, November 10.

=================================================================

Tue Nov 5 15:34:15 EST 2013

Instructions for converting user-defined test suite into tester library version are available here. If you do not have it, download the tester.jar from this link.

There is a WebCAT Assignment A6 Testing to be used to check out your code from the previous assignment before submitting Assignment 7. This will not count towards the grade - it is to give you a chance to work out the WebCat problems.

=================================================================

Thu Oct 31 11:11:11 EST 2013

Here is an interesting article The Essence of the Visitor Pattern by Jans Palsberg and C. Barry Jay describing the Visitor pattern in Java and the ways one can achieve the same results without the additional work the Visitor requires.

=================================================================

Thu Oct 24 16:11:12 EST 2013

Additional hints for working on assignment 6 are posted here.

=================================================================

Wed Oct 16 17:17:17 EST 2013

Additional hints for working on assignment 5 are posted here.

=================================================================

Tue Oct 15 06:47:31 EST 2013

I have updated the links to the files you need for Assignment 5 to my web pages - apparently some links did not work.

=================================================================

Wed Oct 9 23:42:31 EST 2013

For the midterm exam you may bring one page of notes - write on it anything you wish.

Otherwise

– no books – no papers – no electronics

Hint: Read Liskov, especially boxed summaries; read carefully all lecture notes.

=================================================================

Mon Oct 7 22:47:37 EST 2013

The following technique assures that the client will only produce one distinct instance of the StringByLength Comparator:

class StringByLength implements Comparator<String> {

 

    static StringByLength sLength = new StringByLength();

 

    /**

     * Private constructor so everyone has to use the one and only

     * <code>static</code> instance.

     */

    private StringByLength() { }

    ...

}

The client then replaces

BTree b = BTree.binTree(new StringByLength());

with

BTree b = BTree.binTree(StringByLength.sLength);

=================================================================

Sun Oct 6 17:17:17 EST 2013

The WebCAT is now open for submitting Assignment 4. There may be a small change by the end of the day today - so make sure you re-check your submission once we announce that the final version is posted.

(There are a couple of additional tests we want to add to the test script - and when we re-grade with the change, you need to make sure those tests pass as well.)

=================================================================

Thu Oct 3 14:07:12 EST 2013

The following code illusttrates the desing and use of functional iterator.

=================================================================

Tue Oct 1 8:20:32 EST 2013

The following code can help you with assignment 4.

=================================================================

Tue Sept 10 8:20:32 EST 2013

The deadline for the first homework (Assignment 0) has been extended till Thursday night at midnight, so we can work out all the glitches.

=================================================================

Mon Sept 9 6:35:32 EST 2013

I have updated the grading program for Assignment 0 so you no longer get the NullPointerException - instead the tests tell you what you need to fix.

We will cover this in class today.

=================================================================

Fri Sept 6 18:15:32 EST 2013

I have added your usernames to the WebCAT server and published the warmup assignment. Please, try to submit your work - even if it is not complete. to become familiar with the environment.

I still need the user names for ten students - if you know who you are, please email it to me. Otherwise I will get them in class on Monday.

=================================================================

Thu Aug 29 12:15:32 EST 2013

If you will miss the class on Wednesday (September 4th) due to celebrating Rosh Hashana:

Please, read the required reading for that day ahead of the time.

Talk to Professor Proulx on Monday to see what you missed.

=================================================================

Mon Sept 2 8:35:34 EST 2013

If you do not have a CCIS user account you need to get one. Go to the room 313 WVH pick up the form from the box outside, The instruction on how to get one are available at how-to-acct

Make sure you have a CCIS user account set up asap and you know your user’s name.

=================================================================

    =================================================================