Previous Announcements
November 30:
November 29:
... Argue that she is correct by showing the following:
log2(n) = O(log3(n))
log3(n) = O(log2(n))
The notation log2(n) stands for logarithm of n to base 2 etc.
November 23:
Assignment 8 is due on December 2nd. The original due date of Dec. 4th was erroneous.
November 22:
November 18:
Assignment 8 has been posted. It is due December 2nd.
The solution to prelim exam 2 has been posted to the exam page.
November 12:
The file SymbolTable.java has been posted to the assignment page. You may use it for assignment 7 if your compiler does not support the Java 2 collection classes (Map, HashMap).
The solution to assignment 6 has been posted to the assignment page.
A message from Professor Pingali:
Dear class,
My email file runneth over with requests for an extension
for the current assignment that is due on November 18th. If you promise to learn data structures and amaze my colleagues with your knowledge of Java when you take their courses, I'll move the due date to November 23rd. So call me a sucker for a sob-story (or more precisely, about 43 sob-stories as of this minute...).Prof Pingali
PS: Please stop sobbing into my email now. I'm working on a big
proposal to the NSF with a number of my colleagues, and their email is getting drowned. Java nice day.
November 11:
Assignment 7 has been posted to the assignment page. It is due on November 23th.
The solution to assignment 5 has been posted there as well.
A sample second prelim has been posted to the exam page.
November 8:
In problem 1, if your Java version does not support java.util.ArrayList
than you can use the java.util.Vector class.November 5:
Assignment 6 has been posted to the assignment page.
November 2:
About the minus operator ('-')
If the minus sign is to be used as a binary subtraction, leave a space around both sides of the minus sign
e.g. 3 - 4 (Result = -1)
If the minus sign is to be used as a unary negation, do NOT leave space between the sign and the magnitude (integer) of the number.
e.g. 3 - -4 (Result = 7)
The following is not correct:
4 -4 (Because the scanner reads this as two numbers without an operator).
October 27:
Assignment 5 has been posted to the assignment page.
October 25:
More errata and notes for Assignment 4 have been posted to the Assignments page.
Another version of the RunTime.java class, RunTime3.java has been posted as well. This fixes a bug in the previous version.
October 19:
Important errata and notes for Assignment 4 have been posted to the Assignments page.
A new version of the RunTime.java class, RunTime2.java has been posted as well.
October 18:
The due date for Assignment 4 has been moved to October 28th.
Andrew Lee's office hours for this week have been moved to Thurs, 12:15 - 1:15/
October 13:
The solution to assignment 3 has been posted to
the the Assignments page.
Prelim Topics: Andrew Lee will be holding office hours from 3:15
to 4:15 on Thursday, Oct. 14. These are in addition to his regular hours
on Friday.
October 12:
Make-up exam for CS 211
Date: October 14th (Thursday)
Time: 12;30 PM - 2:00 PM
Place: 5130 Upson Hall
October 8 :
Assignment 4 has been posted.
Andrew Lee has cancelled his office hours for this afternoon. They will be rescheduled next week.
October 7 :
Students will be demonstrating their solutions to assignment 3 to the consultants. There is a schedule posted on the door of the consultant office where students can sign up for a demo.
October 6 :
Lecture topic will be Recursion.Lectures notes on Recursion are posted on the course web pages.
(Exceptions will be covered in recitations at a later date.)
The following rooms have been reserved in Olin: 155, 165, 255.Students will be allocated rooms alphabetically.
This schedule will be coming up soon.
Those who would like to do a makeup MUST send e-mail to Professor Pingali.
They will be notified about the makeup schedule.
A sample prelim had been posted on the web page.
October 5 :
Generating javadoc Documentation in Code Warrior.
September 30 :
Exceptions will be discussed in lecture next week (beginning Oct. 5). The relevant lecture notes have been posted to the Lecture Notes page.
September 28 :
There will be a special help session this Saturday for students having difficulty with basic object-oriented programming concepts such as constructors, references and inheritance. If you got below 60 in Assignment 2, you are strongly advised to show up.
Date: October 2
Time: 10 AM - 5 PM
Place: Olin 255
This is not the place to get help for the current assignment; rather it is intended to shore up your knowledge of the basics of Java.
The solution to assignment 2 has been posted to the Assignments page.
Regarding Assignment 3
Read the assignment carefully. Follow any explicit instructions that are given for designing the solution. If anything is unclear, give your own interpretation and provide the details in your solution.
You can hook up your solution for the GUI in Assignment 3 to ANY non-GUI solution of the game Life and its variation from Assignment 2. Feel free to use the solution for Assignment 2 that is posted on the course web pages.
You should hand in a Cover Sheet with your solution of the assignment, that *just* has the following information:
Failure to do so will be penalized by at least 5 points.
You will need to demo your code for assignment 3. The practical details of how this will be done will be posted later.
September 22 :
Assignment 3 has been posted to the Assignments Page
Assignment 2 notes:
Clarification on submitting examples
Choose 2 unique initial generations. Preferably 40x40 grid recommendation that was posted or the two described in the assignment. Run them both for Conway's Life and the variation.
For each run, capture 3 generations. That is a total of 12 computed generations to hand in. Try and save some trees.
Clarification on marking cells: '+' or 'X'
To begin with, all cells that are on in the *initial* generation are shown as '+' . From then on, in the future generations: A cell that is on in the current generation and will remain on in the next one is shown as 'X' . A cell that is not on in the current generation but will be on in the next one is shown as '+' .
September 20 :
September 19 :
September 15 :
Recommendation for Assignment 2 :
Use the following initial generation on a 40x40 grid:
20 20
21 20
21 21
21 22
22 20
22 22
23 22
A bit more interesting than the suggestions in the assignment.
Lecture Topics for Thursday 9/16 :
From OBP lecture notes:
Example of program design (new lecture notes on the web).
September 14:
Graded assignments will be returned in the Consulting office during regular consulting hours.
Today's lecture notes on the SaM stack machine have been added to the Lecture Notes page. Source code and examples for SaM can also be found there.
September 10:
Assignment 2 has been posted to the Assignments page.
Information on passing command line parameters in Code Warrior has been added to the Miscellaneous Notes page.
Information on printing screen shots has been added to the Miscellaneous Notes page.
A link to the UML resource site has been added to the Useful Links page.
September 8:
Professor Mughal has posted a brief explanation of packages to the Miscellaneous Notes page.
September 7:
Students who do not have all the handouts need to print the Postscript versions of these notes.
Extra copies of the earlier handouts, once there are gone from 303 Upson, will not be made.
September 6:
Professor Mughal will run a Java help session this Tuesday and Wednesday in Olin 155 from 7:30 PM to 9:30 PM.
The help session is intended for students whose reach exceeds their grasp of Java. Attendance is not mandatory.
Regular consulting hours have started, and you can find the consultants in Upson 305 during the consulting hours posted there. Consultants can help you with small problems in your code. Do not expect them to teach you Java.
September 2:
For those wishing to view Postscript (.ps) files on their home machines, a link to Aladdin Ghostscript has been added to the Useful Links page.
Assignment 1 has been posted to the Assignments page.
August 31:
The CS211 input and output classes have been added to the Java Files page.
August 26:
Links to guides for those wanting to install and use Code Warrior have been added to the Useful Links page.