CS 112
Ileana Streinu
Lecture 1
Topics
- Object-Oriented Programming:
Java, and perhaps just a bit of
C++.
-
Data Structures:
stacks, queues, lists, trees, graphs, etc.
- More Unix commands, utilities and concepts.
- More advanced and more sophisticated programming techniques, and basic software engineering programming discipline.
Platforms, software
- Java on our Linux machine beowulf
- c++ on our Linux machine beowulf
Today
- Motivation: why Object-Oriented Programming? Why Java? Why C++?
Why data structures?
I will give an overview of what we will do in this course. I use examples from last semester, so that you see where we are heading to and how much
fun programming in Java can be. We will use graphics, design games and do lots of cool things with a visual impact, in addition to mastering techniques
that will make you proud of your skills. Along the way, we learn fundamental concepts such as recursion, and fundamental data structures, such as stacks,
queues, lists, trees and graphs.
- To do after the class: email me the answers to this questionnaire. By the end of the day TODAY, via an email to Ileana at the 112b
account.
- The first example Hello, World!:
- In-class exercise:
- Log onto your class account, change the password. Try both Windows (via ssh) and Linux.
- Create, compile and view the simple Hello Java example from here.
For further reference (we do everything in detail on Thursday and next week):
- 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.
Reading
Optional Reading assignments if you want to move faster:
Ileana Streinu