Fall 2011
HYBRID COURSE
Meets selected Tuesdays, 1:55 pm -- 4:36 pm, Brookhaven A204
6 Sep 2011, 20 Sep 2011, 4 Oct 2011, 18 Oct 2011, 1 Nov 2011, 15 Nov 2011, 29 Nov 2011, 6 Dec
2011
Herbert J. Bernstein (
)
All assignments are to be submitted as text-only email or posted on the web and submitted by email
containing the URL of the
assignment to:
with absolutely no attachments. No assignments will be accepted late.
No assignments will be accepted on paper. No assignments will be accepted on diskettes.
An assignment is late if the email is sent after the start of the class at which it is due.
The grade for the assignment will be sent back to the email address from which the
assignment email was sent. In the case of group assignments in which multiple students
are involved, one student should be the sender of the email and the other students should
be listed both in the email "CC:" list and in the body of the message.
Students should check this page frequently for updates.
Important notes for Mac OSX 10.5 users
You may have difficulty in running Java 6 programs under Mac OSX 10.5. The best
solution is to upgrade the java on you mac to Java 6. In addition to choosing
Java 6 using the Java Preferences utility, you will need to add code to
your ~/.profile:
Assignment #1, assigned Tuesday, 6 September 2011, due Tuesday, 20
September 2011.
If you have not already done so, create a Sourceforge account and a Google Sites
account to have a reliable place to store your work for this course.
If you have not already done so, be sure to activate your arcib account.
If you are unsure of your skill with Python, refresh your recollection
with one of the online courses, e.g. Khan Academy
or the MIT open courseware.
Get your textbooks and bring them to the next class.
Read the Hubbard Text through Chapter 6. By read, we mean read every word
and do every problem. To do the problems you will need to install a java development
environment on your computer. See Oracle Java SE Downloads
Read the relevant links of the course syllabus web page.
Assignment #2, assigned Tuesday, 20 September 2011, due Tuesday, 4
October 2011.
In preparation for the work we will do next month, start
reading the Brackeen text. By Tuesday, 4 October, you are to
have read Chapters 1 through 5 of Brackeen, covering at least
Chapters 1 and 2 before 27 September and 3, 4 and 5 by
4 October.
You now should have read all of Hubbard. If you have not
already done so, go back and do all of
assignment 1, above. Our objective for this period is to work on
java applets (chapter 14 in Hubbard), and you have to understand all
the material in Hubbard to do that.
Go to http://www.landofcode.com/java-tutorials
and do the full set of tutorials and take the Java quiz as many times as
you have to until you can get a perfect score. Again our objective is
to work on applets (the first tutorial under Java extras), but as
with Hubbard, you need to understand all the rest of the material
to understand applets.
Read the relevant links of the course syllabus web page.
Using what you have learned, prepare a java applet that converts the
temperature in Fahrenheit to the temperature in Celsius and vice-versa and
post the resulting java script and driver web page both on your arcib web site
and on your google sites web site.
Assignment #3, assigned Tuesday, 4 October 2011, due Tuesday, 18
October 2011.
In preparation for the work we are doing on game programming
in java continue reading the Brackeen text. By Tuesday, 18 October, you are to
have read Chapters 6 through 11 of Brackeen, covering at least
Chapters 6, 7 and 8 before 11 October and 9, 10 and 11 by
18 October.
Using what you have learned, prepare a java application that converts the
temperature in Fahrenheit to the temperature in Celsius and vice-versa and
post the resulting java program on your arcib web site
and on your google sites web site.
In class on 3 October, we will have prepared a java applet that
converts the temperature in Fahrenheit to the temperature in Celsius and
vice-versa as assigned previously. Use that as a template and prepare
a new java applet that converts between English units and metric and
post the resulting java script and driver web page both on your arcib web site
and on your google sites web site. Using what we will have done in class,
make your applet able to run both as an applet and as an application.
Assignment #4, assigned Tuesday, 18 October 2011, due Tuesday, 1
November 2011.
Carefully finish reading the Brackeen text.
To help elaborate on and reinforce what you have read in Brackeen, you
are to go the web site for Andrew Davison's "Killer Game Programming
in Java" http://fivedots.coe.psu.ac.th/~ad/jg/.
It is important
that you use the web site, rather than the book because the web site has
material not included in the book. Read all the chapters through Chapter
13.7. (Scratchable Java).
Read the relevant links of the course syllabus web page.
Using what you have learned, prepare a java application that bounces a
ball around in a box and post the resulting java program on your arcib web site
and on your google sites web site. You may use the Fred Swartz
bouncing ball JApplet as a starting point if you wish, but
you must significantly enchance the program with color and/or more balls or some
other creative input of your own.
Continue reading the web site for Andrew Davison's "Killer Game Programming
in Java" http://fivedots.coe.psu.ac.th/~ad/jg/.
Read the Java Art section.
Using what you have learned, prepare a proposal for a java-based game or
java-based work of art that you will create as your project for this course. You will
be asked about it on quiz 8.
The end of the semester and the in-class final are approaching. The final
will be closed book, open notes, so it is important to start getting your notebooks
in shape. Only notes in you own hand in hardbound notebooks will be permitted
for the final. Bring whatever notebooks you have ready to class on 1 Nov.
Assignment #5, assigned Tuesday, 1 November 2011, due Tuesday, 15
November 2011.
This is your next to last assignment before the final. Be sure to
catch up on all prior assignments.
Continue reading the web site for Andrew Davison's "Killer Game Programming
in Java" http://fivedots.coe.psu.ac.th/~ad/jg/.
Read the Natural User Interfaces section.
Continue reading the web site for Andrew Davison's "Killer Game Programming
in Java" http://fivedots.coe.psu.ac.th/~ad/jg/.
Read the Java 3D section.
Using what you have learned, and what you have proposed for a java-based
game or java-based work of art that you will create as your project for this
course and implement it You will be asked about it on quiz 10 and have to
present it to the class during one of the 2 remaining class sessions.
Assignment #6, assigned Tuesday, 15 November 2011, due Tuesday, 29
November 2011.
This is your last assignment before the final. Be sure to
catch up on all prior assignments. All work that you hope to have credited
for a grade in this course must have been submitted no later than
9 pm on Thursday, 8 December 2011.
Continue reading the web site for Andrew Davison's "Killer Game Programming
in Java" http://fivedots.coe.psu.ac.th/~ad/jg/.
Read the Networking section, chapters 29 through 35.
Continue reading the web site for Andrew Davison's "Killer Game Programming
in Java" http://fivedots.coe.psu.ac.th/~ad/jg/.
Read the Bluetooth section, chapters B1 through B4.
You will have presented your project or discussed the status of your project
in class on 15 November. If you only discussed your project on 15 November,
you will have to present in class on 29 November 2011. You have until no
later than 9 pm on Thursday, 8 December 2011 to post the best version of
your project either on your arcib web site or on a Google sites web site
(preferably both). What you post should be a complete presentation, not
just your code. Email the URL of the best version to the instructor.
Bring the final set of notes you intend to use for the final exam to
class on 29 November 2011.
Final Exam: There will be an in-class final examination on Tuesday,
6 December, in room A204 on the Brookhaven campus from 1:55 pm to 4:36 pm.
It is very important that you show up in person on that day and time to take
the final. This will be a closed book, open notes exam, but the only notes
you may use are notes in harbound notebooks written in your own hand. Be sure
to copy all the code you may need into your notebooks.