Computer Unit (1) (PPT)


Published on

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Computer Unit (1) (PPT)

  1. 1. The Computer System
  2. 2. What is a Computer? <ul><li>A computer is an electronic device, operating under the control of instructions stored in its own memory unit, that can accept data (input), process data arithmetically and logically, produce results (output), and store the results for future use. </li></ul>
  3. 3. Components of a computer <ul><li>Basic Components </li></ul><ul><ul><li>Input Devices </li></ul></ul><ul><ul><li>System Unit </li></ul></ul><ul><ul><li>Output Devices </li></ul></ul><ul><ul><li>Storage Devices </li></ul></ul><ul><li>Other Components </li></ul><ul><ul><li>Peripheral Devices </li></ul></ul><ul><ul><li>Communication Devices </li></ul></ul>
  4. 5. Strengths of Computers <ul><li>Speed </li></ul><ul><li>Reliability </li></ul><ul><li>Accuracy </li></ul><ul><li>Storage </li></ul><ul><li>Communication/Connectivity </li></ul>
  5. 6. Types of Computer <ul><li>Microcomputer (PC) </li></ul><ul><li>Workstation </li></ul><ul><li>Minicomputer </li></ul><ul><li>Mainframe Computer </li></ul><ul><li>Supercomputer </li></ul>Increasing speed & processing power!
  6. 7. Data Representation <ul><li>Bits </li></ul><ul><ul><li>off or on digital value, short term for binary digits. </li></ul></ul><ul><li>Bytes </li></ul><ul><ul><li>a group of eight bits, a unique code can be assigned to 256 different data possibilities. (e.g. 01000001 represents the letter A.) </li></ul></ul>
  7. 8. Coding Scheme <ul><li>ASCII (American Standard Code for Information Interchange) </li></ul><ul><ul><li>8 bits; used in many PC & minicomputer. </li></ul></ul><ul><li>EBCDIC (Extended Binary Coded Decimal Interchange Code) </li></ul><ul><ul><li>8 bits; used in Mainframe Computer </li></ul></ul><ul><li>Unicode </li></ul><ul><ul><li>16 bits </li></ul></ul><ul><ul><li>can represent > 65000 characters </li></ul></ul>
  8. 9. 1. System Unit
  9. 10. Components of System Unit <ul><li>Motherboard </li></ul><ul><li>Central Processing Unit (CPU) </li></ul><ul><li>Memory </li></ul><ul><li>Upgrade sockets </li></ul><ul><li>Co-processor </li></ul><ul><li>Buses </li></ul><ul><li>Expansion Slot </li></ul><ul><li>Ports & connectors </li></ul>
  10. 11. The Central Processing Unit <ul><li>It is the brain of a computer system </li></ul><ul><li>The CPU: </li></ul><ul><ul><li>receives input. </li></ul></ul><ul><ul><li>interprets instructions provided by programs. </li></ul></ul><ul><ul><li>directs other components of the system to act. </li></ul></ul><ul><ul><li>processes data. </li></ul></ul><ul><ul><li>controls output. </li></ul></ul>
  11. 12. The Central Processing Unit <ul><li>Control Unit </li></ul><ul><ul><li>It coordinates the flow of data and instructions. It contains a clock that generates a uniform stream of electrical pulses that synchronize the operating of the CPU and other computer components </li></ul></ul>Note: The control unit controls the computer by repeating 4 operations, called the machine cycle. The 4 operations are: fetching program instructions from memory; decoding the instructions into commands that the computer can process; executing the commands; and storing the results in memory Control Unit ALU Registers Memory Bus CPU
  12. 13. The Central Processing Unit <ul><li>Arithmetic and Logic Unit (ALU) </li></ul><ul><ul><li>It performs calculations and comparisons of data. </li></ul></ul>Control Unit ALU Registers Memory Bus CPU
  13. 14. <ul><li>Registers </li></ul><ul><ul><li>They hold program instructions, data values, and memory locations as the computer executes a program. </li></ul></ul>The Central Processing Unit Control Unit ALU Registers Memory Bus CPU
  14. 15. <ul><li>Buses </li></ul><ul><ul><li>They are electrical pathways that carry signal (bits) between a CPU’s components and outside devices. </li></ul></ul>The Central Processing Unit Control Unit ALU Registers Memory Bus CPU
  15. 16. Multiprocessing <ul><li>Large computer systems, as well as newer workstations and network servers, frequently contain more than one central processing unit. </li></ul><ul><li>Multiple CPUs enable the computer to execute more than one instruction or process more than one program, at the same time. </li></ul>
  16. 17. Main Memory <ul><li>Before programs are executed or data processed, they must first enter into main memory . </li></ul><ul><li>Main memory holds information read from disk or captured by input devices. </li></ul><ul><li>The CPU then moves information from the main memory into its registers for processing. </li></ul>RAM ROM CACHE
  17. 18. Random Access Memory (RAM) <ul><li>Integrated circuit containing data that can be read and written by the microprocessor or other devices. </li></ul><ul><li>Volatile - programs & data stored in RAM are erased when the power is off. </li></ul>
  18. 19. <ul><li>Chips that store information or instructions that can be read and used, but cannot be changed. </li></ul><ul><li>Non-volatile - retains its contents even the power is turned off. </li></ul><ul><li>The instructions to start the computer are on a special chip known as a ROM BIOS chip (Basic Input/Output System). </li></ul>Read Only Memory (ROM)
  19. 20. Cache Memory <ul><li>Cache memory is a specialized chip used with the computer's memory. </li></ul><ul><li>Cache chips are faster and more expensive than regular RAM chips. </li></ul><ul><li>The computer stores the most frequently used instructions and data in cache. Cache has a relatively small storage capacity but can significantly increase the system's speed. </li></ul>
  20. 21. In summary, memory <ul><li>accepts and holds program instruction and data </li></ul><ul><li>acts as the CPU’s source for data and instructions and as a destination for operation results </li></ul><ul><li>holds the final processed information until it can be sent to the desired output or storage devices, such as printer or disk drive </li></ul>
  21. 22. Motherboard <ul><li>A circuit board that contains most of the electronic components of the system unit. </li></ul>CPU Slot (PII) DIMM Sockets for Memory BIOS Chip Ports & Connectors Expansion Slots (for display card, modem card…)
  22. 23. Internet References How microprocessor works ( ) Introduction to PC ( ) Computer Hardware ( ) Tom’s Hardware Guide ( ) Multimedia Tutorials (Available in SLCSS Intranet Only) Lab 1: Computer Fundamentals Lab 2: Central Processing Unit
  23. 24. 2. Input Devices
  24. 25. Input Devices <ul><li>Input devices, such as keyboards or scanners, are hardware components that capture, collect, and transmit data and programs to the computer in a form that computer can understand. </li></ul><ul><li>Input devices transmit the input to the computer in a series of electronic pulses representing bits, or digits, of the binary code. </li></ul>
  25. 26. Types of Input <ul><li>Data </li></ul><ul><ul><li>raw facts that a computer receives and processes to produce information </li></ul></ul><ul><li>Programs </li></ul><ul><ul><li>instructions that direct the computer operations </li></ul></ul><ul><li>Commands </li></ul><ul><ul><li>key words that direct the computer to perform certain activities </li></ul></ul><ul><li>User Responses </li></ul><ul><ul><li>data a user enters to respond to a question or message. </li></ul></ul>
  26. 27. A. Keyboard <ul><li>The most commonly used input devices. </li></ul><ul><li>Contains alphanumeric, cursors and function keys. </li></ul>Function key Numeric keypad
  27. 28. <ul><ul><ul><li>Function Keys , labeled from F1 to F12, allow user to quickly access commands and functions, such as saving a document or calling up a program’s Help feature. </li></ul></ul></ul><ul><ul><ul><li>Cursor-control Keys govern the movement of the cursor on the screen. They include Up Arrow, Down Arrow, Left Arrow and Right Arrow key on the keyboard. </li></ul></ul></ul><ul><ul><ul><li>Special Purpose Keys are used in conjunction with other keys to enter commands into a computer. Control (Ctrl), Alternate (Alt) and Shift keys are example of special purpose keys. </li></ul></ul></ul>
  28. 29. <ul><ul><ul><li>Toggle Keys are keys that, when pressed, activates a certain mode or condition, and when pressed again, deactivates the condition. The Num Lock key, Cap Lock key and the Scroll Lock key are examples of toggle keys. (For example, pressing the Cap Lock key will cause all the alphanumeric characters to appear in capitals without holding down the Shift key.) </li></ul></ul></ul><ul><ul><ul><li>Numeric Keypad , located in the far right portion of the keyboard, is used for entering numbers quickly and for performing the same operations as a calculator. </li></ul></ul></ul>Not all keyboards have the same layout. Most keyboards have adopted the so-called QWERTY layout for the alphanumeric keys.
  29. 30. Types of Keyboard 104-key keyboard Natural keyboard Keyboard for the Mac
  30. 31. B. Pointing Devices <ul><li>Many people use pointing devices instead of keyboards whenever possible. </li></ul><ul><li>Pointing devices minimize the amount of typing (and the number of errors). </li></ul>
  31. 32. Mouse <ul><li>Palm-sized pointing devices </li></ul><ul><li>a ball on the bottom senses its movement </li></ul><ul><li>various actions can be preformed by moving the pointer and then pressing one of the buttons on top of the mouse. </li></ul>
  32. 33. Types of Mouse Cordless wheel mouse 3-button mouse Wheel mouse for notebooks iMouse for iMac
  33. 34. Mouse Interfaces Serial PS2 USB
  34. 35. Trackball <ul><li>Up-side down mouse </li></ul><ul><li>user rotates the ball itself while clicking nearby buttons </li></ul>
  35. 36. TrackPoint Touchpad <ul><ul><ul><li>The mouse is not practical for people using a notebook computer in a small space. Track Point or Touch pad is therefore used instead to control the pointer. </li></ul></ul></ul>
  36. 37. Touch-Sensitive Screens <ul><li>Touch screens enable the user to select an option by pressing a specific part of the screen. </li></ul><ul><li>Touch screens are commonly used in grocery stores, fast-food restaurants, and information kiosks. </li></ul>A touch screen kit solution
  37. 38. Joysticks <ul><li>Use the movement of a vertical stem to direct the pointer. </li></ul>
  38. 39. C. Pen Input Devices <ul><li>Input data with hand written characters, select items by pressing the pen against the screen, and use gestures, which are special symbols, to issue commands. </li></ul>
  39. 40. Light Pen <ul><li>Used to select processing options or to draw on the screen </li></ul>The tip of a light pen contains a highly sensitive photoelectric cell. When the light pen is pointed close to the screen, the photoelectric cell detects the light emitted from the exact spot the pen is touching. This accuracy makes light pens very popular among engineers and draftsmen who use computer-aided design (CAD) software to create blueprints and drawings of products or construction projects.
  40. 41. Digitizing Tablet <ul><li>A digitizing tablet consists of a grid on which designs and drawings can be entered. </li></ul><ul><li>Most tablets are pressure-sensitive, and the user draws directly on the tablet using a special pen called a stylus. </li></ul><ul><li>Digitizing tablets are used to design cars, buildings, medical devices, and robots. </li></ul>
  41. 42. Chinese Handwriting Recognition Device <ul><li>Used for inputting and recognizing Chinese handwriting </li></ul>Nowadays, sophisticated Chinese handwriting recognition system also contains voice recognition function.
  42. 43. D. Scanning Devices
  43. 44. Image Scanner <ul><li>Electronically capture an entire image & convert it into digital form that can be processed by a computer </li></ul>
  44. 45. Image Scan Edit
  45. 46. Bar Code Reader <ul><li>Bar code consists of a set of vertical lines and spaces of different widths </li></ul><ul><li>Universal Product Code (UPC) is very common </li></ul>An example of a bar code
  46. 47. Magnetic Ink Character Recognition (MICR) <ul><li>Use a special ink that can be magnetized during processing </li></ul><ul><li>MICR is used by the banking industry as a means of processing checks it receives in every day. </li></ul>Magnetic Ink Character
  47. 48. Optical Character Recognition <ul><li>OCR software can be installed in a computer to perform character recognition. </li></ul><ul><li>a system of producing machine-readable code on a data source item and reading that code by means of optical scanning devices. </li></ul>
  48. 49. Optical Mark Recognition <ul><li>Optical marks are the filled-in shape, usually ovals or rectangles, on scan sheets. </li></ul><ul><li>The data collected on the scan sheets are translated into binary form by an optical mark reader (OMR) </li></ul>Use lead pencil to mark on scan sheet Feed the scan sheets into the OMR
  49. 50. Smart Card <ul><li>A smart card, often the size of a credit card, contains a built-in microprocessor and memory that identify the card (and its owner) and assists in financial and other transactions. </li></ul><ul><li>Its primary advantage is increased security: the information can only be read by an authorized user with appropriated password. </li></ul>
  50. 51. E. Multimedia Input Devices
  51. 52. Voice Input Devices <ul><li>A voice input device has two functions: </li></ul><ul><ul><li>First, it can simply record and play back the voice inputted by the user. </li></ul></ul><ul><ul><li>Secondly, it can record a human voice, then with appropriate voice recognition software , convert the voice input to ASCII characters. </li></ul></ul>
  52. 53. Digital Camera <ul><li>Record images in a form that can be stored by a computer. </li></ul><ul><li>Some digital cameras resemble traditional cameras and are portable. Some are connected directly to a computer. </li></ul>View Cam Digital camera
  53. 54. Video digitizers <ul><li>Video digitizers can capture input from virtually any type of video device, such as VCRs, televisions, and camcorders. </li></ul><ul><li>Audio digitizers can digitize music or voice from a microphone. </li></ul>
  54. 55. Internet References Jan’s Illustrated Computer Literacy 101 ( ) Introduction to PC ( ) Computer Hardware ( ) Tom’s Hardware Guide ( ) Multimedia Tutorials (Available in SLCSS Intranet Only) Lab 3: Input/Output Devices
  55. 56. Storage Devices
  56. 57. Storage Devices <ul><li>Also called secondary storage </li></ul><ul><li>store data & programs permanently for future use </li></ul><ul><li>can be used as both input & output devices </li></ul>
  57. 58. Magnetic Disk Storage <ul><li>Most widely used storage medium </li></ul><ul><li>consists of a round piece of plastic or metal, the surface on which is covered by a magnetic materials. </li></ul><ul><li>e.g. floppy disks, hard disks and removable disk cartridge </li></ul>
  58. 59. Floppy Disk <ul><li>Random-access storage medium </li></ul><ul><li>provides storage of 1.44MB data </li></ul><ul><li>A circular piece of thin plastic that is coated with magnetic material </li></ul><ul><li>the circular piece of plastic is enclosed by a rigid plastic shell </li></ul><ul><li>Formatting prepares a floppy disk for storage by defining the tracks, cylinders, and sectors on the disk surface </li></ul><ul><li>time required to locate data and transfer it to memory is called the access time . </li></ul>
  59. 60. Data is recorded on disk in concentric circular bands called tracks . The tracks on a disk are similar to the grooves on a phonograph record. Each track is divided into pie-shaped wedges called sectors . Two or more sectors combine to form a cluster .
  60. 61. Most computers maintain on the disk a table with the sector and track locations of data. This table, the file allocation table (FAT), enables the computer to locate data easily.
  61. 62. Structure of a Floppy Disk
  62. 63. Hard Disks <ul><li>Fixed in the System Unit </li></ul><ul><li>Consists of one or more rigid platters coated with a magnetic material </li></ul><ul><li>the platters, read/write heads, and the access arms that move the heads across the disk surface are all enclosed in an airtight, sealed case </li></ul>
  63. 64. <ul><li>Access time for a hard disk is significantly less than that for a floppy disk because a hard disk spins faster and unlike a floppy disk, a hard disk is spinning constantly (7200 revolutions per minute). </li></ul><ul><li>hard disks are permanently encased within the disk drive in a sealed environment free from dust and dirt. The disk can spin very rapidly, with the read/write head &quot;floating&quot; above the disk's surface. </li></ul>
  64. 65. Hard Disk Interfaces <ul><li>To connect a hard disk to a microcomputer motherboard, you must have a hard disk interface. </li></ul><ul><li>This component includes circuitry that conforms to a standard recognized by both the hard disk and the motherboard manufacturer. </li></ul><ul><li>Common standards are Integrated Drive Electronics (IDE) and Small Computer System Interface (SCSI). </li></ul>
  65. 66. Removable Disks <ul><li>Provide both the storage capacity and fact access time of hard disk and the probability of floppy disks. </li></ul><ul><li>Examples: </li></ul><ul><ul><li>Iomega’s ZIP (100, 250, 750 MB) </li></ul></ul><ul><ul><li>Imation’s Superdisk (120MB) </li></ul></ul><ul><ul><li>Sony’s MO Disk (4~9GB) </li></ul></ul>
  66. 67. Maintaining Stored Data <ul><li>To prevent loss of data, 2 procedures should be performed regularly: </li></ul><ul><ul><li>Backup </li></ul></ul><ul><ul><ul><li>process of creating a copy of important programs and data </li></ul></ul></ul><ul><ul><li>Defragmentation </li></ul></ul><ul><ul><ul><li>process of reorganizing data stored on a disk so that files are located in contiguous (adjacent) clusters. </li></ul></ul></ul>
  67. 68. CD-ROM and Optical Disks <ul><li>By using laser technology, optical disk can store large quantities of data </li></ul><ul><li>a high power laser writes data on an optical disk by burning microscopic holes on the disk surface </li></ul><ul><li>a lower power laser reads the data by reflecting light off the disk surface. The reflected light is converted into a series of bits </li></ul>
  68. 69. <ul><li>CD-ROM </li></ul><ul><ul><li>CD-Read Only Memory </li></ul></ul><ul><ul><li>can store 650 MB data </li></ul></ul><ul><ul><li>suitable for reference material such as encyclopedias, catalogs and pictures </li></ul></ul><ul><li>CD-R </li></ul><ul><ul><li>CD-Recordable </li></ul></ul><ul><ul><li>write once, read many </li></ul></ul><ul><li>CD-RW </li></ul><ul><ul><li>CD-Rewritable </li></ul></ul><ul><ul><li>erasable; write many, read many </li></ul></ul><ul><li>MO </li></ul><ul><ul><li>Magneto-Optical </li></ul></ul><ul><ul><li>Floptical (Optical & Magnetic) </li></ul></ul>
  69. 70. Magnetic Tape <ul><li>Consists of a thin ribbon of plastic, one side of which is coated with a material that can be magnetized to record binary data. </li></ul><ul><li>A sequential storage media (must write and read records on after another) </li></ul><ul><li>usually cartridge tape </li></ul><ul><li>serves as a primary means of </li></ul><ul><ul><li>backup, </li></ul></ul><ul><ul><li>a method of transferring data between system, and </li></ul></ul><ul><ul><li>a cost-effective way to store data that does not have to be accessed immediately </li></ul></ul>
  70. 71. Other types of Storage Devices <ul><li>PC Cards (PCMCIA) </li></ul><ul><li>Compact Flash Memory Card </li></ul><ul><li>Memory Stick </li></ul><ul><li>Smart Card </li></ul>
  71. 72. Output Devices
  72. 73. Types of Output <ul><li>Output is data that has been processed into a useful form called information. </li></ul><ul><ul><li>Report </li></ul></ul><ul><ul><li>Computer Graphics </li></ul></ul><ul><ul><li>Audio Output </li></ul></ul><ul><ul><li>Video Output </li></ul></ul>
  73. 74. Types of Output <ul><li>Most output can be divided into 2 categories: Soft copy & hard copy. </li></ul><ul><ul><li>Soft copy is what you see on the monitor. Soft copy is temporary. </li></ul></ul><ul><ul><li>Hard copy can be touched and carried. Hard copy is usually some form of paper output. </li></ul></ul>
  74. 75. Monitors <ul><li>A visual output device of a computer. </li></ul><ul><li>Monitor output is a most common form of soft copy. </li></ul>CRT Monitor Flat-panel Monitor
  75. 76. Resolution of Display <ul><li>Images on the screen are created by configurations of dots called pixels (picture elements) </li></ul><ul><li>The more the pixels, the better the resolution of the image </li></ul><ul><ul><li>SVGA = pixel configuration of 800 by 600 </li></ul></ul><ul><ul><li>XVGA = pixel configuration of 1024 by 768 </li></ul></ul>
  76. 77. Printers <ul><li>Produce permanent output (hard copy) </li></ul><ul><li>consists of 2 main types: impact & non-impact </li></ul>
  77. 78. Impact Printers <ul><li>Line printers </li></ul><ul><ul><li>they can produce only text--no graphics. </li></ul></ul><ul><li>Chain printers </li></ul><ul><li>Dot Matrix Printers </li></ul><ul><ul><li>The most common character printers create images by using a dot pattern. </li></ul></ul>
  78. 79. Non-impact Printers <ul><li>Laser Printer </li></ul><ul><ul><li>work in the same manner as copy machines; a laser beam creates electrical charges that attract toner to form an image and transfer it to paper. </li></ul></ul>Color Laser Printer Laser Printer
  79. 80. <ul><li>Inkjet Printers </li></ul><ul><ul><li>significantly less expensive than laser printers </li></ul></ul><ul><ul><li>relatively low resolution </li></ul></ul><ul><ul><li>Electronically charged ink is sprayed through a jet nozzle and passed through an electronic field, which deflects the ink to form a dot-matrix character </li></ul></ul>
  80. 81. Other Output Devices <ul><li>Plotter </li></ul><ul><ul><li>produce high-quality line drawings </li></ul></ul><ul><ul><li>A continuous-curve plotter is used to draw maps from stored data. </li></ul></ul>
  81. 82. <ul><li>LCD Projectors </li></ul><ul><ul><li>project a computer image onto screen </li></ul></ul><ul><li>Voice Output Devices </li></ul><ul><ul><li>generate spoken words from text </li></ul></ul><ul><li>Computer Output microfilm (COM) </li></ul><ul><ul><li>records output as microscopic images on roll film. </li></ul></ul><ul><li>Facsimile (FAX) Machine </li></ul><ul><ul><li>transmit & receives document over telephone line. </li></ul></ul><ul><li>Multifunctional Devices (MFD) </li></ul><ul><ul><li>can print, copy and fax </li></ul></ul>