Lab 2: Compiling, creating, editing,
debugging and running Java programs.
Lab 4: Data types, simple arithmetic and basic I/O with a SimpleGUI object.
Lab 5: Operation order, casting, arithmetic expressions.
Lab 6: Drawing colored shapes
in applets and five minutes of HTML.
Lab 8: Decision Making, static fields, constructors.
Lab 9: The getBoolean method.
Lab 10: Nested ifs and switch blocks.
Lab 11: Exceptions and try-catch blocks.
Lab 12: Loops and counting.
Quiz 1, Quiz 2, Quiz3, exam 2 key
> cd cs120
then you should type
cd cs120
> cd
> nedit .kshrc
CLASSPATH=./:/usr/local/lang/java/lib/classes.zip:/usr/local/lang/java/classes/:$CLASSPATH
export CLASSPATH
> cd
> chmod 700 .kshrc
> . .kshrc
> echo $CLASSPATH
If all went well, you should see the list of paths to directories
which you entered into the .kshrc file, on your screen.
Back to Top of file.