Elements of the Java Platform
CS 161 - Java
Programming Assignment Road Map
Assignment 1
Goal:
Create an easy program and get your chosen Java environment to work.
Purpose:
To get you used to the compiler and the interpreter;
For you to experience common initial problems;
Decide where you will do the remainder of the assignments;
Get familiar with tools.
Assignment 2
Goal:
Write a simple Java program from scratch;
Learn how to write a Java class with fields and methods.
Purpose:
To start thinking in terms of breaking a problem into smaller pieces.
To start getting the computer to calculate answers. To start learning to be
exact
when giving the computer instructions.
Assignment 3
Goal:
Write a second Java class and use the two classes written so far, this week's uses last's.
Purpose:
Learn about instances of classes and calling methods on them.
To start building solutions from smaller pieces: Java classes; to get those pieces to interact.
Assignment 4
Goal:
Add input/output capabilities to a Java class;
read data, process it, and produce some results calculated from the input using multiple classes.
Purpose:
To access data from an external source,
To learn how to instruct the computer to process it,
How to break data into pieces associated with objects.
Learn about I/O principles;
Building more complex programs by combining simple pieces.
jwd