1 / 31

CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012

CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012. Instructor: Uma Murthy CSS SKL 161 A Instructor: Joe McCarthy. Outline. Update / reminder Introduction to Computers Introduction to Java. Updates. Assigned readings

gwen
Download Presentation

CSS 161 Fundamentals of Computing Introduction to Computers & Java September 26, 2012

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSS 161Fundamentals of ComputingIntroduction to Computers & JavaSeptember 26, 2012 Instructor: Uma MurthyCSS SKL 161 A Instructor: Joe McCarthy CSS 161: Fundamentals of Computing

  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, 5th Edition Walter Savitch & Kenrick MockAddison-Wesley, 2013 4th Edition OK, too CSS 161: Fundamentals of Computing

  5. Supplemental Material (1/2) 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

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

  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/ • 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. CSS 161: Fundamentals of Computing

  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 bluej.org eclipse.org netbeans.org CSS 161: Fundamentals of Computing

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

  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 CSS 161: Fundamentals of Computing

  20. Computer Memory CSS 161: Fundamentals of Computing

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

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

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

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

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

  26. CSS 161: Fundamentals of Computing

  27. CSS 161: Fundamentals of Computing

  28. CSS 161: Fundamentals of Computing

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

  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

More Related