This outline is subject to change. It will be updated during the semester as necessary.
Reading, lab and homework assignments will be given in lab, but this outline indicates which chapter/lesson is relevant.
Using the ProgramLive CD. Chapter/Lesson 0.
Homework for 29 Aug.: Do Lesson 0, intro to livetexts, on the CD. Read Ch 1 to the end, AND Do Lesson 1 thru 1.6, but SKIP JLiveRead/console-input in lesson 1-5.
Do the exercises even though they're not assigned to turn in!
Note: sections of the book mostly correspond to PL, e.g., section 1.6 corresponds to lesson 1-6. This week you should study both, to get familiar with the features of PL as well as the textbook. Later on you may decide to focus on one or the other, but know your options.
Intro to Java primitive data types and objects, expressions, graphics, programming style and habits. Intro to DrJava. Chapt 1.
Reading for 12 Sept: Read ch 2 through 2.3 (or PL through lesson 2-4).
Homework for 12 Sept: Turn in the following two programs:
A) In PL, review lesson 1-4 and under Labs do PGL-3 on the if-else statement. (To find the ``lab'' numbered PGL-3, go to one of the 1-X lessons and click on the chemistry beaker icon to see the list of labs.) Turn in: the programming exercise described in the lab, with your code for item 5 under step 4. Name the program file hw1_A.java
Follow the instructions: use JLiveWindow for input/output, even if you know some fancier Java GUI stuff.
B) In PL, review lesson 1-4 and under Homework do PGL-2 HW 2 Conditionals and comparisons, item B2. (Click the house icon and choose "PGL-2 HW 2".) Turn in: a program file named hw1_B.java
DO MORE: skim all the exercises for the assigned reading sections. If you know the answers instantly, fine, then you're done. If you don't take time to review and keep working on exercises until you feel confident. Bring questions to class and to TA's office hours.
Homework for 19 Sept: Read ch 2 (and/or PL 2-1 through 2-5). Do ch 2 exercises E8,9,16,17,30,31 (i.e., the exercises on p100-103 of the textbook).
To turn in: a single file that declares a class called Functions, as described in the paragraph on p100 at the beginning of this series of exercises. Follow the detailed submission instructions sent on the cs115 mailing list. Do not use the ``public'' keyword for the declaration of class Functions, because then Java would require the file to have that same name.
Subclasses, inheritance, OO design. Chapts 4,5.
Reading: Read the rest of ch 2, all of ch 3.
Homework for 27 Sept: Project PGL-1 ``Drawing faces'' in PL ch 3 (to find the project, go to PL lesson page 3-1 and click the hammer icon to see list of projects). To turn in: two program files, for class Face and class JLiveGraphics1.
Reading: ch 4.1-4.6 (lesson pages 4-1 to 4-4).
Homework for 3 Oct: ch 4 ex E6 (which is the Movie Reviews project). Pay attention to step 4, i.e., include code for testing. Note that this project uses JLiveRead; you'll need to investigate that on your own. Get to know the index, glossary, and other reference tools.
Homework for 10 Oct:
Read the rest of ch 4, and skim ch 5.1-5.3, 5.7, and 5.9.
Do exercises E7 through E11 on page 168. Put the code for all of the classes in a single file. Include one additional class that has some simple tests.
NO CLASS FRIDAY
Subclasses, inheritance, OO design. Chapt 4. Loops. Chapt 7.
Test on thursday at 2pm.
Ethics.
Test on thursday at 2pm.