1 / 34

Introduction

Introduction Let’s begin Goal Teach you how to program effectively Skills and information to be acquired Mental model of computer and network behavior Problem solving Object-oriented design Java Computer Organization Computer advertisement specification

Mia_John
Download Presentation

Introduction

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. Introduction

  2. Let’s begin • Goal • Teach you how to program effectively • Skills and information to be acquired • Mental model of computer and network behavior • Problem solving • Object-oriented design • Java

  3. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card

  4. Computer Organization

  5. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card 3.06 billion operationsper second

  6. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card 512 million bytes of memory that can betransferred at doublethe normal rate A byte is 8 bits A bit is a 0 or a 1

  7. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card Stores 200 billionbytes of data. You want high RPM andlow seek time.0.009 seconds isaverage

  8. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card 17” on the diagonal.Resolution up to1,280 by 1,024pixels

  9. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card Microprocessor fordisplaying images with64 million bytes ofmemory. More memorysupports more colorsand higher resolution

  10. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card Reads DVDs 16 timesfaster than a basic DVDdrive. Can hold up to8 billion bytes of data

  11. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card Can read and writeCDs. Can hold 650million bytes of dataReads at 48 timesfaster and writes24 times faster thana basic drive

  12. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card Can send or receiveup to 56 thousandbits per second

  13. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card Computer operatingsystem using agraphical interface

  14. Computer Organization • Computer advertisement specification • Intel® Pentium 4 Processorat 3.06GHz with 512K cache • 512MB DDR SDRAM • 200GB ATA-100 Hard Drive(7200 RPM, 9.0 ms seek time) • 17” LCD Monitor • 64MB NVIDIA GeForce4MX Graphics Card® • 16x Max DVD-ROM Drive • 48x/24x/48x CD-RW Drive • 56K PCI Telephony Modem • Windows XP Home Edition SP2 ® • 10/100 Fast Ethernet Network Card Can send or receivedata at two rates – 10 or 100 million bytesper second

  15. Problem Solving • Remember • The goal is not a clever solution but a correct solution

  16. Problem Solving • Accept • The process is iterative • In solving the problem increased understanding might require restarting

  17. Problem Solving • Solutions • Often require both concrete and abstract thinking • Teamwork

  18. Problem Solving Process • What is it? • Analysis • Design • Implementation • Testing

  19. Problem Solving Process • What is it? • Analysis • Design • Implementation • Testing • Determine the inputs, outputs, and other components of the problem • Description should be sufficiently specific to allow you to solve the problem

  20. Problem Solving Process • What is it? • Analysis • Design • Implementation • Testing • Describe the components and associated processes for solving the problem • Straightforward and flexible • Method – process • Object – component and associated methods

  21. Problem Solving Process • What is it? • Analysis • Design • Implementation • Testing • Develop solutions for the components and use those components to produce an overall solution • Straightforward and flexible

  22. Problem Solving Process • What is it? • Analysis • Design • Implementation • Testing Test the components individually and collectively

  23. Problem Solving Process

  24. Tips • Find out as much as you can • Reuse what has been done before • Expect future reuse • Break complex problems into subproblems

  25. Engineering software • Complexity of software grows as attempts are made to make it easier to use • Rise of wizards

  26. Software engineering • Goal • Production of software that is effective and reliable, understandable, cost effective, adaptable, and reusable

  27. Software engineering • Goal • Production of software that is effective and reliable, understandable, cost effective, adaptable, and reusable • Work correctly and not fail

  28. Software engineering • Goal • Production of software that is effective and reliable, understandable, cost effective, adaptable, and reusable • Because of the long lifetime many people will be involved • Creation • Debugging • Maintenance • Enhancement • Two-thirds of the cost is typically beyond creation

  29. Software engineering • Goal • Production of software that is effective and reliable, understandable, cost effective, adaptable, and reusable • Cost to develop and maintain should not exceed expected benefit

  30. Software engineering • Goal • Production of software that is effective and reliable, understandable, cost effective, adaptable, and reusable • Design software so that new features and capabilities can be added

  31. Software engineering • Goal • Production of software that is effective and reliable, understandable, cost effective, adaptable, and reusable • Makes sense due to the great costs involved to have flexible components that can be used in other software

  32. Object-oriented design • Purpose • Promote thinking about software in a way that models the way we think and interact with the physical word • Object • Properties or attributes • Behaviors

  33. Object-oriented design • Class • Term for a type of software object • Object • An instance of a class with • specific properties andattributes

  34. Java and the Internet

More Related