CSIT 114: Introduction to Java

Course Information

SemesterFall 2007
Time T Th 5:30 PM–6:45 PM
Place M-02-213
TextbookJava Software Solutions, 5th Ed
Lewis & Loftus, Pearson/Addison Wesley
ISBN: 0321409493

InstructorJoshua Reyes
Office Hours T Th 4:00 PM–5:25 PM
OfficeMorris Lab (S-03-130)


Homework Assignments

Project 7 Visualizing Electric Charge. Due Thursday, 13 December 2007. (Details forthcoming.)
Project 6 Prisoner's Dilemma. Due Tuesday, 27 November 2007.
Project 5 The Matrix. Due Tuesday, 12 November 2007.
Project 4 Image Processing Collage. Due Thursday, 25 October 2007.
Project 3 Tame chaos: design and implement an iterated function system. Due Tuesday, 9 October 2007.
Project 2 Draw something beautiful. Due Tuesday, 2 October 2007.
Check-in 1Download, print out, and turn in Thursday, 20 September 2007 in class.
Project 1 Draw your initials. Gallery. Due Sunday, 16 September 2007.


6 September

Download and install Eclipse, the Dr. Java plug-in, and the course JAR file and Turtle.java. Make a project new project, add the JAR file to your project libraries (see the tutorial for a refresher), and drag Turtle.java into your project. (You'll need to do this to avoid the error I encountered in class.)

Play around with the Turtle class. Try out using combinations of forward() and turn(). Also see what you can do with a for-loop. If you feel up to it, try out some other Turtle methods that we didn't yet cover in class. Bring some ideas, questions, and concerns to class for Thursday. If you haven't already, accept your invitation to the course mailing list.

Notes and Tutorials

Code from Lecture

4 Dec Factorial.java
29 Nov Complex.java
Try: java Mandelbrot 0.5 0 2 mandelbrot.jpg, for example.
Other good parameters are .1015 -.633, with zooming scales of 0.1, 0.01, and 0.001.
27 Nov Complex.java
15 Nov PDGame.java
6 Nov Matrix.java
1 Nov IFS.java
25 Oct TileImage.java
23 OctPicture.java
18 Oct csit114-2007-classes.zip
16 OctPicture.java
11 OctPicture.java
9 Oct Pixel.java
4 Oct csit114-2007-picture-classes.jar
2 OctTurtle.java
27 SeptTurtla.java
25 SeptTurtle.java
20 SeptTurtle.java
13 SeptTurtle.java
11 SeptTurtle.java
6 Sept Turtle.java
3 Sept Turtle.java


Javadocs and Background

Homework and Grading

Schedules and Assignments


The best way to learn to program is to program, and often. I'll assign manageable programming projects roughly every week. You will always have at least one week to work on the project before its due date. In between that time, I encourage you all to work together. (Nobody programs in isolation.) That even means working with me, through the class mailing list. Of course, whatever you pass in ought to be your own, and you should give credit where credit is due: be sure to cite your collaborators appropriately.


I've decided against in-class tests or exams. In their stead, you will have short check-in assignments about every two weeks. You can think of these as take-home quizzes. They're exist only to make sure that I've covered the basics well enough; as a result, they will mirror what we do in lecture pretty closely. The check-ins are more a guide for me than they are for you. Unlike the projects, however, I ask that you do not discuss the check-ins with anyone but me.

Late Homeworks

Everyone in the class will be granted exactly three late assignments. To turn in a project late, email me so that I know that you still intend to pass it in. Late assignments must be passed in within 48 hours of the original due date (unless you've spoken to me and I've agreed to something else).

Turning in Homework

To turn in your project assignments, use Secure File Transfer to copy the project directory from your PC to your home directory on the UNIX System. You will need to obtain a user name first by using the apply program. Then login to users.cs.umb.edu to upload your files. If you do not have a secure file transfer client, you can download one from me here.

You will pass in each check-in to me during class.

Please note that for all projects, the memo.txt file that you upload to the UNIX system must be a plain text file and not a Word or RTF file. On a Windows PC, I recommend that you use Notepad to create this file. On a Mac, you must use a suitable program for creating a plain text file.


The break-down is as simple as can be:

Project Assignments75%


Section 504 of the Americans with Disabilities Act of 1990 offers guidelines for curriculum modifications and adaptations for students with documented disabilities. If applicable, students may obtain adaptation recommendations from the Ross Center for Disability Services in the Campus Center (617-287-7430). The student must present these recommendations and discuss them with each professor within a reasonable period, preferably by the end of Drop/Add period.

Student Conduct

Students are required to adhere to the University Policy on Academic Standards and Cheating, to the University Statement on Plagiarism and the Documentation of Written Work, and to the Code of Student Conduct as delineated in the catalog of Undergraduate Programs. The Code is also available online at: Code of Student Conduct.