CS479 Java Programming

Fall, 1997

Instructor Roger Hartley, SH 148, telephone 646-1218
Office Hours: Mondays, Tuesdays, Wednesdays 10:00 am - 12:00 noon; also by appointment.
Email: rth@cs.nmsu.edu
Internet: http://www.cs.nmsu.edu/~rth/cs
Where and when Room: SH112 Time: MWF 1:30 – 2:20pm Textbook: The Java Tutorial, by Campione and Walrath. Addison Wesely, 1996. Course outline This course an introduction to Java programming. The aim of the course is to give a throrough grounding in object-oriented techniques for Java, as well as to examine the major uses of Java—internet programming, graphics, user interfaces and networking.

The course will be taught using the department’s Macintosh cluster (donated by Apple computers), although the CD included with the book has Java for all platforms. Instruction will be given on using the Macs.

Syllabus, by week number [1] Program structure. Syntax and layout conventions.
Classes, instances and objects.

[2] Encapsulation, methods, ,messages, modularity, information hiding,
Byte code compilation and type checking.
Subclasses and inheritance.

[3] Java elements: Variables and type. Names and scope. Operators, expressions, control, exceptions, arrays strings, streams.

[4,5,6,7,8] Using objects: initialization, constructors, calling methods, cleanup, access control. Interfaces. The String class, I/O streams, System facilities, exceptions, threads,.

[9,10] User interfaces. The Java GUI, the AWT, Java 1.0.2. vs. 1.1, graphics.

[11,12] Applets. Network security. HTML tags. Server/client. Browsers. Communication.

[13] Networks. URLs, ports, sockets, security.

[14,15] Other topics

Calendar

 

August  
Sun Mon Tue Wed Thu Fri Sat  
          1 2  
3 4 5 6 7 8 9  
10 11 12 13 14 15 16  
17 18 19 20 21 22 23 20th : classes start
24 25 26 27 28 29 30 29th : last day to add, HW #1
31              
  September  
Sun Mon Tue Wed Thu Fri Sat  
  1 2 3 4 5 6 1st : Labor day
7 8 9 10 11 12 13  
14 15 16 17 18 19 20 HW #2
21 22 23 24 25 26 27 HW #3
28 29 30          
  October  
Sun Mon Tue Wed Thu Fri Sat  
      1 2 3 4 HW #4
5 6 7 8 9 10 11 10th : first exam.
12 13 14 15 16 17 18 15th : last day to drop, HW #5
19 20 21 22 23 24 25  
26 27 28 29 30 31    
  November  
Sun Mon Tue Wed Thu Fri Sat  
            1 HW #6
2 3 4 5 6 7 8  
9 10 11 12 13 14 15 HW #7
16 17 18 19 20 21 22  
23 24 25 26 27 28 29 26th to 28th : thanksgiving holiday
30              
  December  
Sun Mon Tue Wed Thu Fri Sat  
  1 2 3 4 5 6 5th : Last day of classes, HW #8
7 8 9 10 11 12 13 Exam week, 12th : Last day
14 15 16 17 18 19 20  
21 22 23 24 25 26 27  
28 29 30 31        
 

Assessment

There will be a mid-term test and a final comprehensive examination, which may be take-home. There will also be between six and eight programming assignments, to be completed in the lab (SH118) or elsewhere by permission. The proportion of credit is as follows:

Test 1: 10%
Final: 10%
Homework: 80%

My grading is always flexible, but justice will also be done! The penalty for late work is that it receives a maximum B grade for up to one week late and a maximum C grade after that.