On this page:
Welcome to CS2510
5.3.5

Blog

Welcome to CS2510

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.

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

Tue Nov 26 16:07:22 EST 2013

Gary Soeler will hold office hours on Sunday 3:00 - 5:00 pm

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

Sat Nov 23 16:06:36 EST 2013

WebCAT submission for the game is open. It is not the final version. This version is for you to submit as often as you wish, checking that everything works fine.

If you submit before Sunday in a way that I can do a code review in class on Monday - you get 10 bonus points. These will be added to your final grade for the imperative game.

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

Fri Nov 15 15:48:31 EST 2013

I have extended the deadline for the part one of assignment 7 for a day so that both parts are due at the same time.

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

Thu Nov 14 22:33:44 EST 2013

Assignment 7:

Helpful hints.

A well formatted (and updated) starting files for Lab 10 and Lab 10a can be found here:

Lab10-USmap-2.zip

Lab10-Visitors-2.zip

You do not need to upload the following files:

InFileCityTraversal.java

ISelect.java

The zip code in the class City should remain as int.

I made the field zipFormat in the file City a static field, so it does not show up in the tester output.

To turn zip code into a correctly showing String use the following code:

City.zipFormat.format(this.zip)

– its value is the String that has the leading zeros when appropriate.

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

Thu Nov 14 09:29:19 EST 2013

To compare doubles when defining the equals method add this method to your class:

/**

 * Are the two given values approximately equal?

 * *param d1 thie first value

 * *param d2 the second value

 * return true if the values are within 0.01 of each other

 */

public boolean sameDouble(double d1, double d2) {

    return Math.abs(d1 - d2) < 0.01;

}

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

Tue Nov 12 23:09:17 EST 2013

Exam review is scheduled for Sunday November 17th 7:00 - 9:00 pm in 104 WVG

Exam 3 is scheduled for Monday November 18th 6:00 - 9:00 pm in 305 Shillman

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

Tue Nov 12 10:04:23 EST 2013

All the remaining labs and assignments have been posted, to give you a chance to plan ahead. Have a look, even if you do not start the work yet.

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

Tue Nov 12 9:41:53 EST 2013

Samples of third exams from previous years:

Spring 2011 Spring 2012 Fall 2012 Spring 2013

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

Tue Nov 5 20:01:37 EST 2013

The room for the exam on November 18 at 6:00 pm - 9:00 pm is 305 Shillman

The office hours for Shiu Wang have changed to Thursdays 4:30 - 6:30 pm

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

Tue Nov 5 15:21:35 EST 2013

I have modified the due date for Assignment 6 to be Friday, November 7th.

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

Sat Oct 26 15:51:45 EST 2013

Here is a link to an extensive and detailed lecture on Loops.

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

Sat Oct 26 15:51:45 EST 2013

Assignment 5 – has been divided into two parts for the purposes of submission to WebCAT.

Part 5a includes the Buddies problem and the Binary Search problem.

Part 5b included the two versions of the Deque problem.

Make sure you read the instructions posted on WebCAT carefully and follow them exactly.

The WebCAT server is ready to accepst submissions.

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

Fri Oct 18 14:35:51 EST 2013

The review session for Exam 2 will be held on Sunday, October 20th at 7:00 pm in 110 WVH

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

Wed Oct 16 13:45:37 EST 2013

Old lectures notes that relate to the latest lectures can be found here:

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

Wed Oct 16 13:43:47 EST 2013

Sample exams 2 (some with solutions) can be found here:

exam2-sol-fl10.pdf exam2-sol-su10.pdf exam2-sp11.pdf

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

Fri Oct 4 7:45:57 EST 2013

Submission directions and hints for Assignment 3:

Our tests test the methods in your Strings.java file and Files.java file. We provide no tests for the game code (but you have to).

A revised version of the BlobWorldFun.java shows how to make sure your game code passes all style checks.

Important: Make sure in the code for the game you comment out any statement that would invoke the bigBang method. The WebCAT cannot run your game and if you ask it to try, it fails very miserably as it has no place where it would display your game canvas.

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

Wed Sep 25 10:09:27 EST 2013

Clarifications and corrections for Assignment 2:

– Design the method textLength that computer the number of letters in all text that appears on the web site starting at this web page. This includes the contents of the text, the names of the image files and their file types, the labels for links, and their titles of the web pages.

(I am not using Windows, and in my mind the file name always includes the file type. However, do not count the dot used to separte the two parts. So the textLength for the image of kevin in a file of the type ’png’ would be 5 + 3 = 8)

– Design the method images that produces one String that has in it all names of images on this web site, given with their file types, and separated by comma and space.

So for the example above this String would start with

"annie.jpeg, kevin.png"

(i.e., there is a comma and a space between two ’inner’ items, but not after the last one.)

Name you sample web page as myWP not myFriendsWP as originally requested.)

If you already got the full credit, you do not need to do anything. Otherwise, please, fix the dtails and resubmit.

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

Tue Sep 24 11:59:23 EST 2013

Assignment on Excel and WP will be accepted without penalty till Wednesday midnight - I will adjust the WebCAT asap - and will post any clarifications to the assignment instructions.

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

Mon Sep 16 11:59:23 EST 2013

Copies of sample first exams are here:

exam1-sol-fl09.pdf

exam1-sol-fl10.pdf

exam1-sol-sp10.pdf

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

Sun Sep 15 06:59:43 EST 2013

Assignment 2 is now posted. Sorry for the delay. The deadline for the assignment is Monday, September 23rd.

Lectures for next week are also posted - do read them.

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

Fri Sep 13 14:05:29 EST 2013

Exam 1 has been rescheduled for Wednesday September 25th

There will be no class on Monday September 23rd

Instead, there will be an exam review session on Tuesday September 24th from 5:00 - 7:00 pm – room 130HT

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

Fri Sep 6 14:35:32 EST 2013

Assignment 1 is not posted. Start working. Some topics included there will be covered in the lecture on Monday. You also need to make sure you re-read Lecture 1.

Ask questions in class - try to have most of the work done before your lab next week.

The assignment is due on Friday evening at 6:00 pm, 13th September 2013.

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

Tue Sep 2 12:15:32 EST 2013

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

Please, read the lecture notes for that day ahead of the time.

If you can, come to the lab on Friday.

If you cannot, please, contact Professor Proulx, so we can set up a time for you to make up what you have missed on those two days.

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

Tue Sep 2 15: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, fill it out, follow the instructions.

Make sure you have a CCIS user account set up asap and you know your user’s name. The TAs will collect these during the first week’s labs. You will need them to log into the homework WebCAT server.

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

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