Lecture | Date | Topics | Assigned / Referenced |
Assignments Due/Comments |
0 | W, Aug 22 |
syllabus, labs, Blackboard, jGRASP | Homework 0 Read Chapters 1 and 2 |
|
r | F, Aug 24 |
JDK, jGrasp installation Hello_World.java SimpleIO_Demo.java http://java.sun.com/j2se/1.4.2/docs/api/ complete Java specification. Java3rdEdSourceCode.zip Source code from the book. |
||
1 |
M, Aug 27 |
Computers, binary numbers, algorithms New java SDK: jdk-6u2-windows-i586-p-iftw.exe MakeChange.java |
Homework 1 Program 1 Ch. 1 |
Homework 0 due. Late registration ends. |
2 |
W, Aug 29 |
Primitives, Operator Precedence, Expressions, Casting,
Strings ExpressionsDemo.java http://java.sun.com/nav/used/ Java in the real world. http://en.wikipedia.org/wiki/IEEE_754 floating point: _1.___*2^___ Floating point means the numbers represented by a float can have the decimal point in many different places. As opposed to fixed point. http://en.wikipedia.org/wiki/Floating_point for more. http://www.javaranch.com/style.jsp Some ideas on Java coding style. http://horstmann.com/bigj2/style.html Some more ideas... old edition book on closed reserve. building use only, 2 hrs +. |
Ch. 2 |
|
r | F, Aug 31 | Conversion.java
MathStats.java Tokenize.java TriAreaCalculatorEmpty.java |
|
|
L-DAY |
M, Sep 3 |
Labor Day |
No classes |
|
3 |
W, Sep 5 |
Java basics (program structure Free peer tutoring, Tuesday evenings 6-9, Dey Hall 2nd floor (Martin Mayer) More links: Learning Center: http://www.unc.edu/depts/lcweb/ |
Homework 2 Program 2 |
Homework 1 due. Program 1 due. |
r |
F, Sep 7 |
input, variables,output, writing a whole program, programming style (finish Ch. 2) | Read Ch. 3, Ch. 6 |
hw1Answers.doc |
4 |
M, Sep 10 |
Objects, reference objects, String methods |
||
5 | W, Sep 12 |
GUI input/output (I/O), Tokenizer, File I/O UsingGUI.java FileGUI.java |
Ch. 3, Ch. 6 |
|
r |
F, Sep 14 |
TriAreaCalculator.java , integrate with GUI | Read Ch. 4, Ch. 5 |
|
6 |
M, Sep 17 |
Comparing Strings, relational, logical operators and
expressions |
||
7 | W, Sep 19 |
Conditional (if) statements, block statements, switch
statement State.java Min.java GradeReport.java |
Ch. 4 |
hw2Questions.txt
|
r |
F, Sep 21 |
if, if-else, and switch statements |
Ch. 4 |
Homework 2 due. Program 2 due. |
8 |
M, Sep 24 |
while, loops Average.java - sentinel-controlled WinPercentage.java - input validation TelephoneDigitProgram.java - sentinel-controlled |
Ch. 5 | hw2Answers.doc |
9 | W, Sep 26 |
the for loop and the do...while loop Multiples.java - for loops Flips.java - nested structures Guessing.java |
Ch. 5 Homework 3 Program 3 |
|
r |
F, Sep 28 |
loop problems - Table.java - Scan1.java - Find1.java - WhileLoops.java - ForLoop.java |
Ch. 5 Read Ch. 7 |
|
10 |
M, Oct 1 |
object-oriented design, classes UseRectangle.java Rectangle.java RectangleTester.java |
Ch. 7 |
|
11 | W, Oct 3 |
object-oriented design, classes, methods RectangleProgram.java |
Homework 4 Ch. 7 |
Homework 3 due.
|
r |
F, Oct 5 |
OddsEvensEmpty.java
how
it should look |
Ch. 6, Ch. 7 | hw3Answers.doc
|
12 |
M, Oct 8 |
methods II, and classes RectangleProgram.java Rectangle.java OddsEvens.java |
Ch. 7 | |
r | W, Oct 10 |
algorithms, coding with loops and methods |
Mid-term in one week. Homework 5 (doc) |
Program 3 due.
Homework 4 due. |
r | F, Oct 12 |
Homework and Program Review | ||
r | M, Oct 15 |
continue review |
Homework 5 due IN CLASS. hw4Answers.doc hw5Answers.doc |
|
test |
W, Oct 17 | Mid-term exam |
Mid-term exam |
Mid-term exam
|
F, Oct 19 |
Fall Break |
Read Ch. 8 Read Ch. 9 |
No classes |
|
r |
M, Oct 22 |
Midterm Review and Solutions, introduce arrays |
Homework 6 |
midtermF07Solutions.doc
|
13 |
W, Oct 24 | Arrays, classes ArrayDemo.java |
Ch. 8, Ch. 9 |
|
r | F, Oct 26 | classes, arrays MyClass.java MyClassTester.java AverageWithArray.java |
Read Ch. 10 | |
14 |
M, Oct 29 | more on arrays Die.java Dice.java DiceGame.java |
Ch. 9 |
|
15 | W, Oct 31 |
Searching and sorting SortingCode.java BinarySearch.java |
Homework 7 Ch. 10 |
Homework 6 due.
|
r |
F, Nov 2 |
|
|
hw6Answers.doc |
r | M, Nov 5 |
|
||
16 |
W, Nov 7 |
Linked lists, Stacks, Queues, Binary Trees Node.java LinkedList.java LinkedListTester.java LinkedSortingTest.java |
Program 4 |
Homework 7 due Friday in class, on paper. |
r |
F, Nov 9 |
MyStack.java MyStackTester.java |
Read Ch. 14 | |
17 |
M, Nov 12 |
Recursion TreeNode.java BinaryTree.java BinaryTreeTester.java |
Homework 8 Ch. 14 |
|
18 |
W, Nov 14 |
Graphics and the Web Web pages, html simple.html otherTags.html take a look blackjack applet |
Set up your homepage. |
|
r |
F, Nov 16 | blackjackCodes.zip
Card.java Hand.java, HandTester.java Deck.java, DeckTester.java BlackjackGame.java BlackjackUI.java Blackjack.java BlackjackApplet.java |
|
Program 4 due.
LinkedListForMe.java This is my solutions to the program. |
19 |
M, Nov 19 |
more on recursion FibonacciNumbers.java |
Homework 8 due. |
|
W, Nov 21 |
Thanksgiving Recess |
No classes |
||
F, Nov 23 |
Thanksgiving
Recess |
No classes |
||
20 |
M, Nov 26 |
Reverse Polish Notation: StringNode.java LinkedList2.java MyStringStack.java ReversePolishTest.java |
Program 5 |
|
W, Nov 28 |
Bioinformatics Graphics and the Web. |
|
||
F, Nov 30 |
More on Graphics, the Web SphereLightApplet.java SphereLightPanel.java Medical Image Analysis |
|||
M, Dec 3 |
review |
Program 5 due. | ||
W, Dec 5 |
review Some additional materials: practiceQuestions.doc practiceQuestions-Solutions.doc final-fall2004.doc Final-f06.doc Final-f06_Answers.doc |
|
||
M, Dec 10 |
Final, 4:00PM |
Final |