CS 112
Ileana Streinu

Lecture 1

Topics

  1. Object-Oriented Programming: Java, C++.
  2. Data Structures: stacks, queues, lists, trees, graphs, etc.
  3. More Unix commands, utilities and concepts.

Platforms, software

  1. Java on our Linux machine beowulf
  2. Java under Windows (J++)
  3. c++ on our Linux machine beowulf

Today

  1. Motivation: why Object-Oriented Programming? Why Java? Why C++? Why data structures?
  2. A quick questionnaire. To do by the end of the day TODAY and email to Ileana at the 112b account. Send email from your class account.
  3. The first example Hello, World!:
  4. Recap: Unix and DOS commands (directories, permissions; mkdir, cd, ls, chmod)
  5. HTML: simple HTML document with title, a link and an image.
  6. In a web browser, view the source of an HTML document; save an HTML file.
  7. What is an applet? Inserting an applet into an HTML page.
  8. How to compile a Java program: compiling a simple applet (Colors example); including it in web page; viewing it with a web browser.
  9. In-class exercise:

Reading

Optional Reading assignments:

Ileana Streinu