1 / 15

Welcome to Computing

Welcome to Computing. Presentation slides modified by M. A. Papalaskari from “Java Software Solutions Foundations of Program Design (3 rd ed.)” by John Lewis and William Loftus. Overview. History of computing Information representation Computer hardware Computer software.

sanura
Download Presentation

Welcome to Computing

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. Welcome to Computing Presentation slides modified by M. A. Papalaskari from “Java Software SolutionsFoundations of Program Design (3rd ed.)”by John Lewis and William Loftus

  2. Overview • History of computing • Information representation • Computer hardware • Computer software

  3. History of Computers

  4. Hardware and Software • Hardware • the physical, tangible parts of a computer • keyboard, monitor, disks, wires, chips, etc. • Software • programs and data • a program is a series of instructions • A computer requires both hardware and software • Each is essentially useless without the other

  5. Main Memory CPU and Main Memory Chip that executes program commands Intel Pentium 4 or Sun ultraSPARC III Processor Central Processing Unit Primary storage area for programs and data that are in active use Synonymous with RAM

  6. Hard Disk Floppy Disk Secondary Memory Devices Information is moved between main memory and secondary memory as needed Secondary memory devices provide long-term storage Central Processing Unit Hard disks Floppy disks ZIP disks Writable CDs Tapes Main Memory

  7. Monitor Keyboard Hard Disk Floppy Disk Input / Output Devices I/O devices facilitate user interaction Central Processing Unit Monitor screen Keyboard Mouse Joystick Bar code scanner Touch screen Main Memory

  8. Analog vs. Digital • There are two basic ways to store and manage data: • Analog • continuous, in direct proportion to the data represented • music on a record album - a needle rides on ridges in the grooves that are directly proportional to the voltages sent to the speaker • Digital • the information is broken down into pieces, and each piece is represented separately • music on a compact disc - the disc stores numbers representing specific voltage levels sampled at specific times

  9. Digital Information • Computers store all information digitally: • numbers • text • graphics and images • video • audio • program instructions • In some way, all information is digitized - broken down into pieces and represented as numbers

  10. 72 105 44 32 72 101 97 116 104 101 114 46 Representing Text Digitally • For example, every character is stored as a number, including spaces, digits, and punctuation • Corresponding upper and lower case letters are separate characters H i , H e a t h e r .

  11. Representing images • A digitized image consists of pixels (picture elements) • Black and white images can be stored using one bit per pixel (1 = white and 0 = black) • There are several techniques for representing colors • Often a color is represented as a mixture of the three additive primary colors: Red, Green, and Blue • In many applications each color is represented by three numbers between 0 and 255 that collectively are called an RGB value

  12. Retrieve an instruction from main memory fetch execute decode Carry out the instruction Determine what the instruction is The Central Processing Unit • A CPU is on a chip called a microprocessor • It continuously follows the fetch-decode-execute cycle:

  13. The Central Processing Unit • The CPU contains: Performs calculations and makes decisions Arithmetic / Logic Unit Coordinates processing steps Control Unit Small storage areas Registers

  14. The Central Processing Unit • The speed of a CPU is controlled by the system clock • The system clock generates an electronic pulse at regular intervals • The pulses coordinate the activities of the CPU • The speed is measured in megahertz (MHz)

  15. Software Categories • Operating System • controls all machine activities • provides the user interface to the computer • manages resources such as the CPU and memory • Windows XP, Windows 2000, Unix, Linux, Mac OS • Application program • generic term for any other kind of software • word processors, missile control systems, games • Most operating systems and application programs have a graphical user interface (GUI)

More Related