CS670K - Special Topics - Java for C Programmers - Fall 1998

Shoveling mounds of Java
Time:   Tuesday Thursday 3.55pm - 5.25pm
Place:   Kaplan G101
Instructor:   Howard Okrent
Extension:   7068
Fax Extension:   7261
Office:   Echlin 201
Email:   okrent@cs.newhaven.edu

Prerequisites: Fluency in C and CS644 - Operating Systems

Course Materials:
  • NEWS: 12/8/98
    • Final Examination is re-scheduled to Tuesday, December 15
      The schedule for the rest of the term is:
      Thursday, December 10
      Review
      Tuesday, December 15
      FINAL EXAMINATION covers chapters 1-10 and 14 and the wait(), notify() and notifyAll() methods, but OMIT chapter 16
      Thursday, December 17
      NO CLASS but Machine Problem 3 is due

    • Here are the Spinning Boxes I couldn't demo in class
  • Machine Problem 3, due Thursday, December 17
  • The Fahrenheit to Celsius converters as given in lecture, but modified slightly to run either as an applet, or stand-alone:
  • To avoid the security problem exposed in Machine Problem 2, I moved all the Machine Problem 2 files over to http://system2.newhaven.edu/~okrent/mp2.html. If you run your Machine Problem 2 from system2, using this file on System2 as input, there should be no more security problem.
  • Java Inheritance notes.
  • If you have not yet received your score for Machine Problem 1 by email, then you don't have one!
  • The Bouncy Applet Example
  • Click here to discover your LOGINID and PASSWORD on System2.
  • System2 has a web server. For help in using it, click here.
  • To learn how to access your System2 directory as a network drive from Windows, click here.
  • HTML References Page.
  • Tentative Schedule
  • Laboratory Assignments: Machine Problem 1 Machine Problem 2 Machine Problem 3
  • Homework Sets: Homework Set 1 Homework Set 2 Homework Set 3 Homework Set 4 Homework Set 5
  • Java Sites:
  • Office Hours (tentative):
    T Th   11.30am - 3.30pm

    Text:
    Lewis, J. and Loftus, W. Java Software Solutions, Addison Wesley, 1998.

    References:
    Flanagan, D. Java in a Nutshell, 2nd edition O'Reilly & Associates, Inc. 1997
    The Java Tutorial

    Course Covers:
    Covers: objects and classes; events; image maps; animation; sound; basic principles of graphical user interface design with Java resources; files and pipes; internet communication principles; clients and servers; programming with threads; Java language processors; programming for security.
    Grading:
    35% Examinations (2 exams- lowest grade dropped)
    35% Final Examination
    30% Homework Sets and Laboratory Assignments

    There will be no make-up examinations. If you are unable to take one of the mid-term examinations on the assigned date, then its score is automatically dropped. If you are unable to take the final examination on the assigned date, then the instructor will record a course grade of incomplete which can be redeemed by taking the final examination when the course is next offered (usually less than 1 year later).

    In case of a class cancellation, use U.S. mail, e-mail, fax, or hand delivery to send in the homework assignment by the Friday following the due date. The activity scheduled for a cancelled meeting date, whether exam or lecture, is automatically postponed to the next class meeting when it is eventually held. After a cancellation, a new tentative schedule will be issued.

    Late homework will be penalized 1 point/day, up to a maximum penalty of 5 points. All assignments must be turned in before the final exam to receive credit. Each reading assignment should be completed before the weekly meeting, in preparation for a pop quiz. Homework is due at the meeting following the week when it is assigned.

    Where to run Java Programs

    The text is based on the Java Development Kit (JDK) from Sun Corporation. The JDK 1.1.3 has been installed on the Windows 95 machine(s) in Echlin 206, and on the 9 Windows NT machines in Buckman 225A. These same machines are also equipped with MS J++, an integrated development environment for Java, found in the Windows icon labeled Developer Studio. Unfortunately, there are numerous incompatibilites between JDK 1.1.3 and J++ Version 1.1, which prevent many of the textbook examples from running in J++ (or Netscape!) without some modification.

    You MUST NOT give, receive, lend or borrow solutions to assignments.