CS 340 Programming Language Workshop in Java (1 Credit)

  • Office Hrs : TTh, 3-4pm  (or by appointment), 337 RC
  • One and Only Class : April 4, Tue, 3:30-4pm, 337 RC

  • Course Description

    This course is designed as a self-study in Java. You are expected to learn the Java language and solve a set of programming problems assigned to you using it. (You may develop your code using any IDE you like, but you must ensure that it eventually runs using JDK 5). There are no exams. We officially meet only once in a quarter. However,  I will be available in the posted office hours for clarifications and discussions about the programming problems.

    Prerequisite


    Course Text


    Relevant Websites


    Download Sites

    1. JDK 1.5 (http://java.sun.com/j2se/1.5.0/download.jsp)

    2. JBuilder 2005 Enterprise 30-Trial and Foundation is the same download (http://www.borland.com/products/downloads/download_jbuilder.html)

    3. NetBeans 4.0 (http://www.netbeans.org/community/releases/40/index.html)

    4. Eclipse 3.0 (http://www.eclipse.org/downloads/index.php)

    5. TextPad Editor (www.textpad.com)

    6. WinZip (www.winzip.com)

    7. Apache Tomcat (www.apache.org)

    Java IDE Tutorials by Y. Daniel Liang

    1. Compiling and Running Java from the Command Window

    2. Compiling and Running Java from TexPad

    3. JBuilder Tutorial

    4. NetBeans Tutorial

    5. Eclipse Tutorial


    Grading

    Each programming assignment will be graded as Pass/Unsatisfactory, and the letter grade 'P' or 'U' will be assigned at the end of the course.


    Course Policies

    1. All work must be turned-in by May 30, 2005. 
    2. Do not expect an incomplete for any reason. Each assignment will also have a separate deadline.
    3. You must pass all the projects to pass the course.
    4. Each program should be well-documented and adequately tested.
    5. You must turnin the source code, a README.txt with a brief description of the design and use of the code, and where applicable, a sample output, as a single zip-archive for each assignment. To turnin the ith assignment (where i = 1,2,3,4), create the archive asgi.zip, and execute the following shell command on paladin:
      csh% /common/public/tkprasad/cs340/turnin-paasgi.zip
    6. You may also be required to demonstrate your code on paladin.wright.edu or on your laptop in my office hours after the due date.


    Assignments

    Topic Problems, Page No. Due Date
    I
    Basics

    Guessing Game: Ex. 6.33, pp. 283

    April 11

    II

    Arrays

    Eight Queen's Problem: Ex. 7.24, pp. 347

    April 25

    III
    Graphics

    Screen Saver: Ex. 12.18, pp. 634

    May 11

    IV
    GUI

     Shape Drawing Applet: Ex. 20.12, pp. 976

    May 30

    T. K. Prasad (03/10/2006 )