CS 112
Ileana Streinu
Lecture 1
Topics
- Object-Oriented Programming:
Java,
C++.
-
Data Structures:
stacks, queues, lists, trees, graphs, etc.
- More Unix commands, utilities and concepts.
Platforms, software
- Java on our Linux machine beowulf
- Java under Windows (J++)
- c++ on our Linux machine beowulf
Today
- Motivation: why Object-Oriented Programming? Why Java? Why C++?
Why data structures?
- 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.
- The first example Hello, World!:
- Recap:
Unix and DOS commands (directories, permissions; mkdir, cd, ls, chmod)
-
HTML: simple HTML
document with title, a link and an image.
- In a web browser, view the source of an HTML document; save an HTML file.
- What is an applet? Inserting an
applet
into an HTML page.
-
How to compile a Java program: compiling a simple applet
(Colors example);
including it in web page; viewing it with a web browser.
- In-class exercise:
- Log onto your class account
- Email to Ileana from your class account (using pine) and set up the forward address to regular email address
- Create, compile and view the simple Hello Java example from here.
Reading
Optional Reading assignments:
Ileana Streinu