Introduction to Computer Science


Lecture by lecture outline

  1. We presented an example of an applet - Example1Shalom.java, containing a few simple drawing instructions.

  2. We presented a simple application - Example2Simple.java. We discussed the following:

  3. We covered the following:

  4. We presented an application - Example3GCD.java - dealing with two algorithms for calculating the greatest common divisor of integers. The first algorithm is a naive one, stemming directly from the definition, and the second is the Euclidean algorithm. The algorithms are implemented by static functions residing at a separate class.

  5. Additional primitive data types: char and boolean.

  6. We covered the following:

  7. Simple examples of recursion:

  8. More examples of recursion:

  9. We discussed the semantics of simple programs, and then gave an introduction to objects via a simple example - Example10Customers.java .