|
|
Assigned |
Due |
Note |
| June 17 |
Introduction to the course
Tutorial to jGrasp: installation |
Reading: Ch. 1
Homework 1 |
|
Late registration begins |
| June 18 |
Computer organization, data representation and the evolution of programming languages.
Algorithms to solve problem.
CentsConverter.java |
Reading: Ch.1, Ch. 2 (21-37)
Homework 2 |
Homework 1 |
Late registration ends |
| |
|
|
|
|
| June 21 |
Java basics: syntax, data types, operators, expressions, (Strings)
ExchangeWater.java
AverageKeyboard.java |
Reading: Ch. 2 (37-end)
Homework 3 |
Homework 2 |
|
| June 22 |
Variables; I/O; Package, class, method; Complete Java program
Lecture04.java
|
Reading: Ch. 3 |
|
|
| June 23 |
Quiz 1
Throws; Class-Object-Method; String; GUI I/O dialog box; String Tokenizer; File I/O
Lecture05.java
DialogGUI.java
Tokenizer.java
FileGUI.java
|
Reading: Ch. 4 (148-172) |
|
|
| June 24 |
Decimal formatting; logical operators; boolean expression; if-else statement
State.java
Guessing.java
GradeReport.java (if-else)
GradeReportTake2.java (switch)
|
Reading: Ch. 4 (175-end) and Ch.5
Homework 4 |
Homework 3 |
|
| June 25 |
nested if-else; switch
Review:
if, if-else, nested if, switch
A complete Java application program, how to build a bigger program
JOptionPane, StringTokinizer, DecimalFormat, File I/O
|
Reading: Ch. 5 |
|
|
| |
|
|
|
|
| June 28 |
Loops:
while, for, do...while, break, continue
nested controls: loops+conditions
Average.java
WinPercentage.java
TelephoneDigitProgram.java
|
Reading: Ch. 6
Homework 5 |
Homework 4 |
|
| June 29 |
Nested control structures
Object-Oriented Design (OOD)
Review for the Quiz
CalculatorWithoutExtraMethods.java
CalculatorWithExtraMethods.java
|
Reading: Ch. 6 |
|
|
| June 30 |
Quiz 2
Writing methods; Writing classes |
Reading: Ch. 7 (skip
347-359) Ch. 8 |
|
Last day for undergraduate student to drop |
| July 1 |
More about writing methods
Review for the mid-term exam |
Reading: Ch. 7 (skip 347-359) Ch. 8 |
|
|
| July 2 |
Mid-term exam |
Reading: Ch. 8 |
|
Mid-term exam |
| |
|
|
|
|
| July 5 |
No class |
|
|
|
| July 6 |
Writing classes |
Reading: Ch. 9 (467-491) |
|
|
| July 7 |
Review of midterm
Writing classes; Array |
Reading: Ch. 10 (523-542)
Homework 6
The jar file for hw6
New tutorials about how to open/create .jar files in jGrasp is available now.
|
Homework 5 |
Last day to withdraw for credit |
| July 8 |
Quiz 3
Continuing on Arrays
Discussion of homework 6
|
Reading: Ch. 10 (523-542) |
|
|
| July 9 |
More discussion of homework 6: how to write classes
Continuing on Arrays |
Reading: Ch. 6 (264-290)
Skim Ch. 13 (725-806)
|
|
|
| |
|
|
|
|
| July 12 |
Review: Arrays
GUI
MyGUI.java
MyGUI_2.java
MyGUI_3.java
|
Reading: Ch. 6 (264-290)
Skim Ch. 13 (725-806) |
|
|
| July 13 |
Review of GUIs; JButton and event Handler
A how-to page about setting up your web space at www.unc.edu. |
Homework 7
The dabase file
|
Homework 6 |
|
| July 14 |
Convert application program into applet
Review for Quiz |
|
|
|
| July 15 |
Quiz 4
Homework 7
Convert application program into applet ; Advanced GUI (not required and not included in final exam)
gui_example.jar
|
Reading: 542-548, 565-570, 582-585, 616-621, 598-602, 602-603, 614-615, 678-684 |
|
|
| July 16 |
Review Homework 5, 6, Quiz 4
Discussion: Homework 7, 8 |
Reading: 542-548, 565-570, 582-585, 616-621, 598-602, 602-603, 614-615, 678-684, 814-833
Homework 6 : sample codes
Homework 7 - Option 2
codes for this new option
Homework 8 - option 1
Homework 8 - option 2 |
|
|
| July 17 |
|
|
Homework 7 |
|
| July 18 |
|
|
|
|
| July 19 |
Various topics: Vector class; more about String class; inheritance, composition, protected modifier, Object class, interface (abstract class); Exception handling; Recursion; |
|
|
Last day to withdraw without credit |
| July 20 |
Review for the final |
|
|
Last class |
| July 21 |
Reading day |
|
Homework 8 |
Reading day |
| July 22 |
Final exam: 8:00am - 11:00am in 011 |
|
|
Final exam |
The course is now offcially over. I have been having a GREAT time with all you guys, and I hope you did learn something useful from the course.
Sincerely, Qiong Han.
|