Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Chapter 1 Introduction toComputers, Programs, and Java   Liang, Introduction to Java Programming, Eighth Edition, (c) 2011...
What is a Computer?                                                              Bus   Storage                            ...
How Data is Stored?   Memory address         Memory content                .           .                .           .     ...
What is a Computer?                                                              Bus   Storage                            ...
Programs &Programming          LanguagesMachine Language 1101101010011010Assembly Language                              Ad...
Programs &Programming          LanguagesMachine Language 1101101010011010Assembly Language                              Ad...
Programs &Programming          LanguagesMachine Language 1101101010011010High-Level Language                              ...
Operating Systems                                    User                        Application Programs                     ...
Why Java?Developed      by Sun Microsystems (now Oracle)Java   is a general purpose programming language.  Platform    ...
CompanionWebsite          Characteristics of Java  Java Is Simple  Java Is Object-Oriented  Java Is Distributed  Java ...
JDK Editions Java   Standard Edition (J2SE)  – J2SE can be used to develop client-side standalone    applications or appl...
Popular Java IDEs Notepad  – Javac         -- the Java compiler      MyProgram.java                  -> javac -> MyProgr...
Assignment Createaccounts for the Book’s online sites (p2 of Syllabus)  – Videos  – Text book site Download  JDK 7u w/ N...
kg0000931 Chapter 1 introduction to computers, programs part ia
kg0000931 Chapter 1 introduction to computers, programs part ia
kg0000931 Chapter 1 introduction to computers, programs part ia
kg0000931 Chapter 1 introduction to computers, programs part ia
Upcoming SlideShare
Loading in …5
×

kg0000931 Chapter 1 introduction to computers, programs part ia

873 views

Published on

Liang Chaoter 1 Part p

Published in: Technology, News & Politics
  • Be the first to comment

  • Be the first to like this

kg0000931 Chapter 1 introduction to computers, programs part ia

  1. 1. Chapter 1 Introduction toComputers, Programs, and Java Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 1
  2. 2. What is a Computer? Bus Storage Communication Input Output Memory CPU Devices Devices Devices Devicese.g., Disk, CD, e.g., Modem, e.g., Keyboard, e.g., Monitor, and Tape and NIC Mouse Printer Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 6
  3. 3. How Data is Stored? Memory address Memory content . . . . . . 2000 01001010 Encoding for character ‘J’ 2001 01100001 Encoding for character ‘a’ 2002 01110110 Encoding for character ‘v’ 2003 01100001 Encoding for character ‘a’ 2004 00000011 Encoding for number 3Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 7
  4. 4. What is a Computer? Bus Storage Communication Input Output Memory CPU Devices Devices Devices Devicese.g., Disk, CD, e.g., Modem, e.g., Keyboard, e.g., Monitor, and Tape and NIC Mouse Printer Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 8
  5. 5. Programs &Programming LanguagesMachine Language 1101101010011010Assembly Language Add(R1, R2)High-Level Language SalesTax = Amt * .06; Print Student-Date Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 9
  6. 6. Programs &Programming LanguagesMachine Language 1101101010011010Assembly Language Add(R1, R2)High-Level Language SalesTax = Amt * .06; Print Student-Date Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 10
  7. 7. Programs &Programming LanguagesMachine Language 1101101010011010High-Level Language SalesTax = Amt * .06; Print Student-Date Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 11
  8. 8. Operating Systems User Application Programs Operating System HardwareLiang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 12
  9. 9. Why Java?Developed by Sun Microsystems (now Oracle)Java is a general purpose programming language. Platform independent Byte Code Java Virtual Machine Interpreted Object OrientedJava is the Internet programming languageJava is an Application development language Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 13
  10. 10. CompanionWebsite Characteristics of Java  Java Is Simple  Java Is Object-Oriented  Java Is Distributed  Java Is Interpreted  Java Is Robust  Java Is Secure  Java Is Architecture-Neutral  Java Is Portable  Javas Performance  Java Is Multithreaded  Java Is Dynamic www.cs.armstrong.edu/liang/intro8e/JavaCharacteristics.pdf Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 14
  11. 11. JDK Editions Java Standard Edition (J2SE) – J2SE can be used to develop client-side standalone applications or applets. Java Enterprise Edition (J2EE) – J2EE can be used to develop server-side applications such as Java servlets and Java ServerPages. Java Micro Edition (J2ME). – J2ME can be used to develop applications for mobile devices such as cell phones.This book uses J2SE to introduce Java programming. Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 15
  12. 12. Popular Java IDEs Notepad – Javac -- the Java compiler  MyProgram.java -> javac -> MyProgram.class – Java --- the Java Virtual Machine java MyProgram --- executes you program Textpad NetBeans Open Source by Sun Eclipse Open Source by IBM Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 16
  13. 13. Assignment Createaccounts for the Book’s online sites (p2 of Syllabus) – Videos – Text book site Download JDK 7u w/ NetBeans Download Textpad v5.4.2 See Blackboard Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 17

×