| CSCI A201/A597Lecture Notes 1 Spring 2000 |
We started by introducing ourselves, our coordinates are listed on the main page of the course. Requirements for this class were listed:
An e-mail distribution list will also be set up shortly. It will be used by the instructors to dispatch information on a weekly basis (on the average).
Cheating was discussed and we said you should not do it. If it seems like you cheated and you submitted work that is not yours we'll take one of two approaches as follows:
Homework and in-lab assignments will be turned in on floppies, at the end of the lab when they're due. Homework assignments differ from in-labs in that the homework assignments are
I was able to understand only English (no Russian or Japanese).
My set of actions were only:
Moreover we were able to define "turn right" as a sequence of three left turns, thus building a higher abstraction. (Not really a right turn, but the sequence of turning left three times does lead to the same final state as a turn right).
To program computers in this class we'll use the following language: Java.
Java as a language describes the primitive actions that we can rely on to build bigger, more complex programs.
The process of developing a computer program in Java involves the following steps:
The file created (with notepad) was Hello.java:
public class Hello {
public static void main(String[] args) {
System.out.println("Hello, and welcome to A201!");
}
}
Once we have this file we compile it using javac.
This in turn creates Hello.class.
We then run java Hello to produce the desired output.
The process is somewhat different if the compiler reports errors.
We said chapter 0 is a good reading assignment at this point, and a syllabus will be posted in a few days, detailing the topics to be covered, and tested, and a timeline for that.