Com S 100J Introduction to Computer Programming Grade: letter or S/U Fall 2003
4 credits Newsgroup: cornell.class.cs100j Instructor: David Gries

Assignments
Home
About email
Academic Excellence Workshop
Academic integrity
Announcements
DrJava
Exams & grades
FAQs
Handouts, general
    Assignments
    Labs
    Quizzes
Links
Staff info
Syllabus
Texts
Times & places
 
Email Gries

 

 

Assignment A1 handout in pdf This assignment is due on 18 September! not 16 September.
Look at this page for notes on the assignment.

Assignment A2. This is a short assignment, due in class on Thursday, 25 September, on drawing instances of classes.
                          Solution: pdf file

Assignment A3. Writing some methods in a class. Due in CMS the night of 3 October. pdf file
                          Also, look at these notes!!!

Assignment A4. Drawing frames for method calls. Solution

Assignment A5. Bowling frames I. pdf file     Frame.java

Assignment A6. Bowling frames II. html file   Frame.java    Game.java (skeleton)

Assignment A7. Bowling frames III. html file    zip file     duckpins.jar     scores.txt
File duckpins.jar is a Java application that you can execute to look at duckpin bowling games. Download it and scores.txt. You should then be able to double-click on the duckpins.jar icon to start the game running. Read and follow the directions that appear in the GUI that pops up. File scores.txt contains some duckpin games, in the format that is used by the Java application.

Assignment A8. Images. a8.html    a8skeleton.zip     images.jar
This assignment is about manipulating arrays --transposing them and reflecting them. The arrays are internal representages of images --jpeg and gif files. So you are writing a program that you can use to toy with your own pictures. You won't be able to access the arrays directly using array notation. Instead, you will use methods to get at and change its elements. The assignment is in a8.html (see above). The .zip file contains all the files you will need for this project, including three images. File images.jar is a java application for the completed program. Download this jar file, double click on the icon, and then play with the GUI that will come on your monitor in order to see what your final program will do.

Assignment A9. Matlab (pdf file)
You can do most of this assignment in your last lab in the ACCEL laboratory. It consists simply of writing some Matlab expressions and statements so that you get some understanding of the basics of handling arrays in Matlab.