Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012 CSS 161: Fundamentals of Computing Instructor: Uma Murthy CSS SKL.

Similar presentations


Presentation on theme: "CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012 CSS 161: Fundamentals of Computing Instructor: Uma Murthy CSS SKL."— Presentation transcript:

1 CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012 CSS 161: Fundamentals of Computing Instructor: Uma Murthy CSS SKL 161 A Instructor: Joe McCarthy

2 Outline Update / reminder Introduction to Computers Introduction to Java CSS 161: Fundamentals of Computing

3 Updates 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 – Typically, shortly after each class Please complete survey by Friday, Sep 28 CSS 161: Fundamentals of Computing

4 Required Textbook Absolute Java, 5 th Edition Walter Savitch & Kenrick Mock Addison-Wesley, 2013 CSS 161: Fundamentals of Computing 4 th Edition OK, too

5 Supplemental Material (1/2) CSS 161: Fundamentals of Computing Java: An Introduction to Problem Solving & Programming, 6 th Edition Walter Savitch Addison-Wesley, 2012 http://courses.washington.edu/css161/joemcc/Notes/SavitchC h01.pdf http://courses.washington.edu/css161/joemcc/Notes/SavitchC h01.pdf (access via “Notes” link on course homepage)

6 Supplemental material (2/2) Practice It! http://webster.cs.washington.edu:8080/practiceit/ Instructions to be provided in the coming weeks CSS 161: Fundamentals of Computing

7 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 CSS 161: Fundamentals of Computing Corollary: All programs are experiments. The more programs you make the better.

8 Other introductory CS courses CSS 161: Fundamentals of Computing

9 Java Goal: – Write once, run anywhere – JDK: Java Developers Kit – JRE: Java Runtime Environment Editions – SE: Standard Edition – EE: Enterprise Edition – ME: Micro Edition (mobile, embedded) – Embedded: flash memory, closed systems Versions – 1.0 (1992),.. 1.6 (2006), 1.7 (2011) CSS 161: Fundamentals of Computing

10 Downloading Java [optional] http://www.java.com/getjava/ http://www.java.com/getjava/ – Current: Version 7 update 7 (1.7u7) On Mac, requires Mac OS X 10.7.3 or higher – Can also use Version 6 update 35 (1.6u35) http://www.java.com/en/download/manual_v6.jsp Supported thru February 2013 We will be writing Java, so we want JDK – Which includes JRE CSS 161: Fundamentals of Computing

11

12 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 CSS 161: Fundamentals of Computing netbeans.orgeclipse.orgbluej.org

13 Downloading BlueJ [optional] CSS 161: Fundamentals of Computing http://www.bluej.org/download/download.html

14 Computers CSS 161: Fundamentals of Computing

15 Computer Hardware CSS 161: Fundamentals of Computing

16 Computer Hardware CSS 161: Fundamentals of Computing

17 Computer Software CSS 161: Fundamentals of Computing

18 Computer Software CSS 161: Fundamentals of Computing

19 Note: program must be loaded into memory in order to execute

20 Computer Memory CSS 161: Fundamentals of Computing

21 Computer Memory CSS 161: Fundamentals of Computing Alternate perspectives: Key attributes: addressable / labeled locations that can store things

22 Computer Disk(s) CSS 161: Fundamentals of Computing

23 Computer Disk(s) CSS 161: Fundamentals of Computing Alternate perspectives:

24 Hierarchy of Memory CSS 161: Fundamentals of Computing Variables? [CSS 422 and CSS 430 go into much further depth]

25 Hierarchy of Memory CSS 161: Fundamentals of Computing Variables: Speed Cost Size Volatility [CSS 422 and CSS 430 go into much further depth]

26 CSS 161: Fundamentals of Computing

27

28

29 [In Mac OS X Terminal window] CSS 161: Fundamentals of Computing localhost:code umurthy$ ls FirstProgram* FirstProgram.java localhost:code umurthy$ javac FirstProgram.java Localhost:code umurthy$ ls FirstProgram* FirstProgram.classFirstProgram.java Localhost:code umurthy$ java FirstProgram Hello reader. Welcome to Java. Let's demonstrate a simple calculation. 2 plus 2 is 4 Localhost:code umurthy$

30 CSS 161: Fundamentals of Computing

31 Next time LAB 1 on Friday Homework 1 handed out on Monday Console input and output CSS 161: Fundamentals of Computing


Download ppt "CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012 CSS 161: Fundamentals of Computing Instructor: Uma Murthy CSS SKL."

Similar presentations


Ads by Google