On this page:
Welcome to CS2510
Version: 5.3.0.10

Blog

Welcome to CS2510

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

Mon Apr 15 11:49:37 EST 2013

In light of today’s events at the Boston Marathon, we’d like to make the following adjustments to course projects since we know many people were not able to work today and may have limited availability over the next few days:

Please contact me and Prof. Proulx if you have any questions.

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

Sun Apr 14 20:45:32 EST 2013

Help on April 15th

Look for tutors and TAs in the FishBowl on the third floor and other common areas of WVH - they will post signs when they are available.

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

Tue Apr 9 07:43:47 EST 2013

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

exam3-fl12.pdf exam3-sp12.pdf exam3-sp11.pdf

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

Thu Mar 28 15:54:21 EST 2013

Submission details - please, read:

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

Fri Mar 15 13:34:45 EST 2013

WebCAT has been down most of this morning. I finally got through to systems and it is back up. Sorry for the problem.

I reduced the late penalties to one point per day late.

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

Thu Mar 14 17:04:35 EST 2013

To celebreate Pi day and the Ides of March, the deadline for Assignment 8 has been extended till Friday, March 15th, at 10:00 pm.

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

Wed Feb 27 12:34:35 EST 2013

Review session for the Exam 2 will be on Monday, March 11th 6:00 - 8:00 pm in 130 HT

Led by Ryan, Mike, and Catherine

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

Tue Feb 26 11:43:37 EST 2013

Joshua Caron’s office hours this week will be

Friday 10:00 am - 12:00 noon

(instead of Wednesday)

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

Tue Feb 26 07: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

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

Sat Feb 19 08:51:31 EST 2013

The deadline for Assignment 6 is extended till Thursday, February 21st at 11:59 pm.

Submission for WebCAT will be open sometimes tonight.

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

Sat Feb 18 16:41:51 EST 2013

Here is a list of new partner pairs by their user-names.

p101 thomast ngthao

p102 baileya dyer.w

p103 bjliuy eplumley

p104 iswain aahoang

p105 cuozzo aas2011

p106 joneill evanmega

p107 ssingh94 hailu

p108 jchiu jcrotty

p109 derekc caponem

p110 Linok zhickman

p111 weizhen tmitch

p112 Hasanajf khrystia

p113 aolgin rkosha

p114 jmor cobrien

p115 levinebe bachiri

p116 brandt31 mattmano

p117 chadboum freyrem

p118 markm1 ababioa

p119 bmadden ryantho

p120 yyu25 dbeard

p121 escowart jjvh17

p122 jzimbel jeruane

p123 manserm lyverc

p124 alice twebber

p125 ali69 fortune7

p126 pharma7 syue198

p127 zwebert tylernr

p128 speronid chanwai

p129 elias94 kevind11

p130 berltes djbehar

p131 bronan99 dankline

p132 aas2011 cuozzo

p133 pangbo fanxiang

p134 shiyu singhb

p135 oconnorc bcox18

p136 lyverc kuffert

p137 tys annie823

p138 jckelly mtage70

p139 Badhe Premal16

p140 arao Branden1

p141 slauture cwgolden

p142 deshmukh.r vukatana

p143 jburns slazard

p144 mhawks sonata

p145 chiehl zhenhuan

p146 slushie lucyk

p147 ctong24 peterlu

p148 sdavies joberste

p149 acloud otieno

p150 arjunb bdeng

p151 bdr94 beahuang

p152 wrights csr85

p153 DLHersey garin

p154 gfh1993 jcl132

p155 jdaly jennyj

p156 jlam94 Kdbond

p157 kimjinh knuckles

p159 mqconley nabeel

p160 oates olinaba

p161 pdemirdj philowe

p162 ppx1030 psharma7

p163 awscherb reemh

p164 songsf thevp

p165 syue198 whuntoon

p166 biross kyang

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

Thu Feb 21 11:57:51 EST 2013

Something went terribly wrong with WebCAT while I was teaching tonight. It seemed to have been fixed shortly before midnight.

The homework submission deadline for assignment 6 has been extended till 4:00 pm on Friday, February 22nd.

I will check with systems if they had some problems - as I know my internet connection on CS Xnet went down in the mid-afternoon on Thursday.

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

Wed Feb 13 11:27:51 EST 2013

Every pair has to meet with an instructor, a TA, or a tutor to review their game design submitted for assignment 4.

Sign-up sheet is posted on David Van Horn’s office door (350 WVH)

Both partners must attend the review.

If your submission was incomplete, please email the remaining parts to the reviewer well ahead of the scheduled meeting time (this includes images, design documents, user’s guides, as well as a code that compiles and runs).

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

Mon Feb 11 17:53:17 EST 2013

I did not specify the type of Exception you should throw in the second problem (BoundedPt). Please, use RuntimeException.

Some of you have already submitted, matching my original IllegealArgumentException. If your submission is complete and passed all tests, leave it.

If you are making changes to your submission and resubmit, you will need to change this to

RuntimeException

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

Sat Feb 9 10:23:47 EST 2013

Updated Assignment 5 with submissions instructions has been now posted.

Also, check out the latest lecture notes.

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

Tue Feb 5 10:33:22 EST 2013

Here is a Java Style Guide for WebCAT submissions that should help you in designing your code and preparing your homework submission.

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

Tue Feb 5 08:03:52 EST 2013

Here is a copy of questions a student asked - and my response. I think all of you may find it helpful.

When submitting to Web-Cat, it is currently expecting us to write tests the method in the GameRunner, which, as far as I understood, was essentially a copy and paste job with minor changes from the AppleOrchardRunner file. Is this a mistake, or if not, how are we supposed to write tests for them?

I am not sure what you are saying here. GameRunner only has the code the actually runs the game - not the code that tests the individual methods. The method tests are still in Examples... class.

Also, I am having a slight issue with other testing in my program. I have a method that involves an object reappearing at a random x coordinate and a set y coordinate after hitting the ground, and this is applied on both a single object and list of said object. How should I do tests for it? I read the information posted the website’s blog and even with checkRange, I’m failing to see how to pull it off, at least in order for Web-Cat to accept it as a valid test for the methods.

For a single object you could check that the y=coordinate of the object is within the expected range.

To design proper tests for the list of objects, you would need some of the techniques we are just now covering in class. If you could make an example with only two or three of these objects and test that at least the first (or all three) are within the given range it would solve the problem.

You are asking the right questions and learning valuable lessons as you do so.

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

Sun Feb 3 20:43:57 EST 2013

To generate random numbers for your game:

// add to your imports the following

import java.util.*;

 

// define in the class where you need a random number:

 

// a random number generator

public Random rand = new Random();

 

// when you need a random integer in the range from 0 to 4

// just write:

rand.nextInt(5)

To test the results use either checkOneOf or checkRange test methods. See the documentation for samples and examples at the tester library User’s Guide

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

Thu Jan 30 15:03:46 EST 2013

Mike Ravert will hold his office hours next week on Monday 3:00 - 5:00 instead of usual Wednesday.

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

Thu Jan 30 12:33:42 EST 2013

Sample exams can be found here:

exam1-sol-fl09.pdf exam1-sol-fl09.pdf exam1-sol-sp10.pdf

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

Wed Jan 30 11:13:52 EST 2013

Exam Review Session has been scheduled for Wednesday, February 6th 5:00-7:00 pm in room 201 MU

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

Tue Jan 29 18:49:15 EST 2013

Josh Caron will hold this week’s office hours on Thursday, January 31st from 6:00 - 8:00 pm the lab in 102 WVH as usual.

No office hours for him on Wednesday, January 30th.

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

Tue Jan 29 08:09:10 EST 2013

On Tuesday evenings 6:00 - 10:00 pm the lab in 212 WVH is opened for students to work in.

Matthew Clamp is working as a tutor in this lab from 6:00 - 8:00 pm.

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

Mon Jan 28 10:51:34 EST 2013

Assignment 3 submissions instructions

Your HW3.zip file should contain the following files:

Special instructions:

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

Fri Jan 25 17:12:46 EST 2013

Assignment 3 update

I have posted the instructions for how to design the display of the mobile, how you can show the display, as well as links to documentation for image drawing library.

We will work with this library during the lab on Tuesday.

Do not submit the file that shows the mobile with your homework - it will fail if you do so, as it has no place where to show the images.

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

Tue Jan 22 11:15:24 EST 2013

Correction to Assignment 2 part 1:

The name of the test instance should be jenLink:

// making sure the code contains at least one test

boolean testAll(Tester t) {

  ExamplesPhoneChain epc = new ExamplesPhoneChain();

  return t.checkExpect(epc.jenLink, epc.jenLink);

}

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

Wed Jan 9 12:15:14 EST 2013

Here is a list of partners by their usernames.

Please, include your assigned pair number in all your submissions.

p001…..

bjliuy

aahoang

p002…..

eplumley

Linok

p003…..

baileya

kdbond

p004…..

hailu

weizhen

p005…..

caponem

jchiu

p006…..

zhickman

derekc

p007…..

nabeel

William Dyer

p008…..

kevind11

jcrotty

p009…..

kimjinh

peterlu

p010…..

iswain

tmitch

p011…..

awscherb

cuozzo

p012…..

Premal16

ssingh94

p013…..

bcox18

markm1

p014…..

joneill

oates

p015…..

hasanajf

beahuang

p016…..

sonata

thomast

p017…..

ababioa

jjvh17

p018…..

jdaly

jeruane

p019…..

cobrien

jmor

p021…..

chiehl

zhenhuan

p022…..

elias94

zwebert

p023…..

rkosha

yyu25

p024…..

whuntoon

philowe

p025…..

speronid

twebber

p026…..

aolgin

levinebe

p027…..

bachiri

escowart

p028…..

forgeron

ryantho

p029…..

dankline

jzimbel

p030…..

acloud

arjunb

p031…..

brandt31

freyrem

p032…..

fortune7

ngthao

p033…..

evanmega

chadboum

p034…..

syue198

psharma7

p035…..

mattmano

bmadden

p036…..

alice

mhawks

p037…..

alima

manserm

p038…..

fanxiang

zhangyou

p039…..

khrystia

jennyj

p040…..

tys

csr85

p041…..

singhb

pangbo

p042…..

gfh1993

lucyk

p043…..

wrights

shiyu

p044…..

sayeed.a

jcl132

p045…..

bronan99

Berltes

p046…..

dankline

dibehar

p047…..

oconnore

mtage70

p048…..

kuffert

lyverc

p049…..

songsf

badhe

p050…..

ilam94

bdr94

p051…..

ctong24

thevp

p052…..

tylernr

sdavies

p053…..

chanwai

annie823

p054…..

garin

biross

p055…..

rachd12

olinaba

p056…..

pdemirdj

mqconley

p057…..

reemh

dbeard

p058…..

jckelly

slauture

p059…..

arao

cwgolden

p060…..

jburns

branden1

p061…..

peterlu

DLHersey

p062…..

vukatana

slazard

p063…..

joberste

bdeng

p064…..

knuckles

???

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

Mon Jan 7 8:35:34 EST 2013

Make sure you have a CCIS user account set up asap.

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