230 likes | 413 Views
CSS 161 Fundamentals of Computing Introduction to Computers & Java. Joe McCarthy. Outline. Update / reminder Recap : Lab 1 Introduction to Computers Introduction to Java Assignment 1. Updates. UW1 -120 Occasionally , hopefully Assigned readings
E N D
CSS 161Fundamentals of ComputingIntroduction 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 readingsis potential fodder for exams, regardless of whether we cover itin 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 makethe 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
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 bluej.org eclipse.org netbeans.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
Computer Memory CSS 161: Fundamentals of Computing
[In Mac OS X Terminal window] d-173-250-140-5:Code joe$ lsFirstProgram* FirstProgram.java d-173-250-140-5:Code joe$ javacFirstProgram.java d-173-250-140-5:Code joe$ lsFirstProgram* FirstProgram.classFirstProgram.java d-173-250-140-5:Code joe$ java FirstProgram Hello reader. Welcome to Java. Let's demonstrate a simple calculation. 2 plus 2 is 4 d-173-250-140-5:Code joe$ CSS 161: Fundamentals of Computing
Assignment 1 • https://catalyst.uw.edu/collectit/assignment/joemcc/17387/68122 • (use “Assignment Dropbox” link on course homepage)