Monday, November 28, 2011

Alpha Beta Demo

All,
I put together a little javascript demo for AlphaBeta that essentially recovers the worksheet. Your browser needs to support the canvas element. If you have errors, try using chrome.
Make sure you understand what is going on (x means the alphabeta cutoff was reached).
-Jack

Tuesday, November 15, 2011

[IMPORTANT] SocialNet Extended with Private Test Release

It has turned out that the FrontDesk functionality of releasing hidden staff tests based on the quality of student tests was revived in the SocialNet assignment but not informed to all the students properly. I apologize for a late notice. Because of this confusion, we are extending the due date for the SocialNet assignment by 3 days. The new due date will be Nov. 20th 11:59PM. (A gentle reminder that I have office hours on Nov. 20th from 3:00PM-5:00PM, so please come by for a last minute help or debugging.)

Note that there are only 4 really basic public tests, and more complicated tests are hidden. If you wrote good JUnit tests and submitted them to FrontDesk, you would be able to release some private test results based on the quality of the tests you wrote. The button for this functionality can be found at the bottom of the submission result page as "Release Private Tests". Basically, it shows if there's any hidden test that your program fails. You can repeat fixing the problem and submitting the program again to see the result, but please be warned there is a limit in the number of tests that can be released in a day, and you can be banned for a while if you try to submit too many times within a short period of time.

As always, you must write your own robust test cases to make sure your program work correctly, and it is a part of the assignment. One general tip for writing good test cases is to try to come up with all the possible usage cases for the classes and the methods including edge cases like illegal arguments. If you are uncertain about how your program should behave for a certain situation, for example, write a JUnit test and submit it to see what happens against the staff code.

Monday, November 14, 2011

Dong Bae's Office Hours Changed This Week Only

I will be out of town this Friday, so my office hours will be held on Sunday Nov. 20th 3:00PM - 4:00PM at Gates 4122. The change is for this week only. From next week, it will go back to Friday 1:30PM-2:30PM as usual.

Thursday, November 10, 2011

Midterm grades released

The grades for the 2nd midterm have been released. The min, max, mean, and median (out of 69 possible points) were 22, 63, 49, and 48 points, respectively. You will get the exams back next Wednesday in recitation.

Wednesday, November 09, 2011

Midterm Review Available

The schedule had been unintentionally reverted.
Please find the midterm review through the following link:

Friday, November 04, 2011

Sample Midterm and Extra Office Hours

Sample Midterm 2 is uploaded on the Lectures page. The partial solution will be provided during the weekend for your study purpose. We are not having a separate review session this time. Instead, extra office hours will be held on Sunday 3:00PM - 5:00PM at Gates 4122 so that you can have available office hours everyday until the second midterm. Please work on the practice problems by yourselves, and drop by an office hour whichever day fits best for you. Good luck on your exam!

Wednesday, November 02, 2011

DP Extension

Due to FrontDesk being down for much of yesterday and this morning, we've extended the due date for Seamcarving by 24 hours. HW5 SocialNet will still be released tomorrow night, and its theory and programming will still be due Nov. 9th in recitation and Nov. 17th at 11:59PM, respectively.

Frontdesk grading service back online.

There was an issue with maintenance on the Frontdesk server, but the issue has been resolved. If anyone has continuing issues, try resubmitting and then after that doesn't work email Jack.