CSS 161 Fundamentals of Computing Introduction to Computers & Java Joe McCarthy CSS 161: Fundamentals of Computing.

Post on 01-Jan-2016

227 Views

Category:

Documents

6 Downloads

Preview:

Click to see full reader

Transcript

CSS 161: Fundamentals of Computing

CSS 161Fundamentals of Computing

Introduction to Computers & Java

Joe McCarthy

CSS 161: Fundamentals of Computing

Outline

• Update / reminder• Recap: Lab 1• Introduction to Computers• Introduction to Java• Assignment 1

CSS 161: Fundamentals of Computing

Updates

• UW1-120 – Occasionally, hopefully

• Assigned readings– Any material in assigned readings

is potential fodder for exams, regardless of whether we cover it in a lecture, lab or assignment

• Slides will always be posted on web site– If not before, then shortly after each class

CSS 161: Fundamentals of Computing

Textbooks

Absolute Java, 4th Edition Walter SavitchAddison-Wesley, 2010

Computers, Ethics & Society,3rd EditionM. David Ermann & Michele S. ShaufOxford University Press, 2003

CSS 161: Fundamentals of Computing

Supplemental Material

Java: An Introduction to Problem Solving & Programming, 6th EditionWalter SavitchAddison-Wesley, 2012

http://courses.washington.edu/css161/joemcc/Notes/SavitchCh01.pdf

(access via “Notes” link on course homepage)

CSS 161: Fundamentals of Computing

Experimentation via programming

“Do not be too timid and squeamish about your actions. All life is an experiment. The more experiments you make the better.”

- Ralph Waldo Emerson

Corollary: All programs are experiments.The more programs you make the better.

CSS 161: Fundamentals of Computing

Lab 1 (last Friday)

• Submit Lab1a.java, Lab1b.java via Assignment Dropbox• Due Wednesday, 11:00am

CSS 161: Fundamentals of Computing

CSS 161: Fundamentals of Computing

CSS 161: Fundamentals of Computing

Integrated Development Environments(IDEs)

• Programming tools– Edit text (code) + compile + run– Graphical representations of components

• We’ll be using BlueJ, but you can use others

netbeans.orgeclipse.orgbluej.org

CSS 161: Fundamentals of Computing

Computers

CSS 161: Fundamentals of Computing

Computer Hardware

CSS 161: Fundamentals of Computing

Computer Hardware

CSS 161: Fundamentals of Computing

Computer Software

CSS 161: Fundamentals of Computing

Computer Software

CSS 161: Fundamentals of Computing

CSS 161: Fundamentals of Computing

Computer Memory

CSS 161: Fundamentals of Computing

CSS 161: Fundamentals of Computing

CSS 161: Fundamentals of Computing

[In Mac OS X Terminal window]

d-173-250-140-5:Code joe$ ls FirstProgram*FirstProgram.javad-173-250-140-5:Code joe$ javac FirstProgram.javad-173-250-140-5:Code joe$ ls FirstProgram*FirstProgram.class FirstProgram.javad-173-250-140-5:Code joe$ java FirstProgramHello reader.Welcome to Java.Let's demonstrate a simple calculation.2 plus 2 is 4d-173-250-140-5:Code joe$

CSS 161: Fundamentals of Computing

top related