|
Previous Announcements
November 30:
November 29:
- Test data
for assignment 8 has been posted to the assignment
page.
- There is a typo in the first problem of Assignment 8.
It should read:
... 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:
- Prelim 2: mean = 57.66, standard deviation = 21.7
- A correct version of the assignment
5 FPE parser has been posted.
- Code for the binary search tree has been added
to the lecture notes page.
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:
- No GUI or exceptions on this exam.
- Otherwise all we have done so far in class.
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 :
-
Change in schedule concerning topic for
lecture on Thursday, Oct. 7:
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.)
-
Information regarding cs211 Prelim on
Oct. 14., 7:30 - 9:00 pm
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.
- In the Project window, click the Target Settings button
to open the Java Application
Settings window.
- Expand Target, select Target Settings.
- Set Pre-linker Option to: JavaDoc Pre-linker.
- Save and close the Java Application Settings window.
- Compile your program, and view the html-documentation
created in your source code
folder using your web browser.
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:
- The name of the course: CS211
- The assignment number
- The assignment due date
- Your name, identification number and e-mail address
- Your partner's name, identification number and e-mail
address (if you have a
partner)
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:
September 20 :
- Tomorrow's lecture (9/21) will be using the GUI notes
available on the Lecture Notes
page.
- This weeks lectures (9/21, 9/23) will cover the
following topics:
- From OBP lecture notes, covered very briefly:
- Accessibility (class, interfaces, members)
- Abstract classes and methods
- Final classes, members and parameters.
- Example of program design - SaM Machine (lecture notes
and source code on the web).
- GUI:
- Containers and Component
- Component Hierarchy: Component layout using layout
managers
- Event driven programming: events, listeners and sources
- Implementing listeners using: Adapter Classes, Anonymous
Classes
- Example of GUI design - SaM GUI (lecture notes not yet
ready, but source code is on the web)
September 19 :
- You should not hand in the documentation generated by
javadoc - that documentation can be read from your *code*. However you should
hand in other documentation (UML diagrams, etc.) which explain the *design* of
your program.
- More UML links have been added to the Useful
Links page.
- Information on setting command line parameters in J++
has been added to the Miscellaneous
Links page.
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:
- Instance and static members
- Packages
- Accessibility (class, interfaces, members)
- Abstract classes and methods
- Final classes, members and parameters.
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.
Recent
announcements
|