CS 1520 – Summer 2009 – Review for Exam1

Carefully read over all of the notes from our class meetings, BOTH from the PowerPoint slides (available on-line) and from class discussions and the chalkboard. If you missed any classes, it is NOT ENOUGH to just get the on-line notes -- get the notes taken in class from a fellow student as well.

For Java, study ALL of the Powerpoint slides
For PHP, study all slides up through and including most of regular expressions (PHP Lecture 6)

Download, read, compile (if necessary) and execute all examples from my Web page. These examples demonstrate the material that was emphasized in class. You should understand every detail of these handouts, including the comments. You should understand their executions and be able to trace and/or code each of them. When running the programs, be sure to experiment. You can also learn a lot by making modifications to the programs and then examining their effects.

Read all chapters assigned in the Sebesta textbook:

Sebesta Appendices A, B and C

Sebesta Chapter 2 for HTML
Sebesta Chapter 11 for PHP

If you have the Niemeyer text, read pertinent sections in there as well (ex: on Java Threads and Sockets).

Some of the material in the text was emphasized in the class notes/handouts and some was not. I suggest reading everything in the text chapters after reading through the notes and handouts -- that way you will know what to emphasize.

If you have a chance, you may also want to try to download and run some of the authors' handouts.  Sebesta has some Powerpoint slides and source code segments available at ftp://ftp.aw.com/cseng/authors/sebesta/www4e/ .

I also have posted some see handouts from the Niemeyer text.

Read through and understand ALL notes and handouts from your recitation meetings. Also carefully review Quiz 1 and its solution.

Understand all of your assignments (so far) and how they relate to and demonstrate the material covered in lecture and recitation.

Look through all of the relevant parts of the online Java Tutorial (especially the sections on Threads and Sockets) and other online Java documentation. You may also want to look through the Java online API documentation at:  http://java.sun.com/j2se/1.5.0/docs/api/index.html (you may use the 1.6 docs if you prefer).

Look for PHP information from the sources stated in the notes, especially http://www.php.net/ (and the PHP manual therein).

Prepare for the exam by reading the definitions/syntax carefully, but also practice both running and writing Java and PHP programs. Any programming on the exam will be fairly simple, but you need to use a language in order to understand it, so write as many small programs as you can. Even typing in the examples from the text (rather than just downloading them) will help you to understand the code better, since you will notice each line as you type it in.