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.

Ppt Lesson 04


Published on

Published in: Education, Technology
  • Be the first to comment

Ppt Lesson 04

  1. 1. Lesson 4 How a Computer Processes Data Unit 1—Computer Basics
  2. 2. Objectives <ul><li>Identify computer system components. </li></ul><ul><li>Explain how the CPU works. </li></ul><ul><li>Differentiate between RAM and ROM. </li></ul><ul><li>Describe how data is represented. </li></ul>Computer Concepts BASICS - -
  3. 3. Computer Systems <ul><li>A computer system requires many components to do its job: </li></ul><ul><ul><li>It requires some device or method to input data so it can be processed. </li></ul></ul><ul><ul><li>It requires circuit boards and programs to process the data. </li></ul></ul><ul><ul><li>It needs some type of output device to display the result of its processing. </li></ul></ul><ul><ul><li>It needs some mechanism for storing data. </li></ul></ul>Computer Concepts BASICS - -
  4. 4. Common System Components Computer Concepts BASICS - - This figure shows several devices that are common components of a computer system.
  5. 5. System Motherboard <ul><li>The motherboard contains the electronic circuitry of the computer. </li></ul><ul><li>Components found on the motherboard include </li></ul><ul><ul><li>The primary processing chip (CPU) </li></ul></ul><ul><ul><li>The memory chips </li></ul></ul><ul><ul><li>Expansion slots for system interface cards </li></ul></ul>Computer Concepts BASICS - -
  6. 6. System Motherboard (cont.) <ul><li>Components found on a motherboard (cont.) </li></ul><ul><ul><li>Ports for connecting external devices </li></ul></ul><ul><ul><li>BIOS chips that control system startup </li></ul></ul><ul><ul><li>The circuitry that enables all of these components to communicate </li></ul></ul>Computer Concepts BASICS - -
  7. 7. Example of a Motherboard Computer Concepts BASICS - - This figure shows the devices inside a PC case including the motherboard, the power supply, and some storage devices.
  8. 8. The Central Processing Unit <ul><li>The CPU is the brains of a computer system. </li></ul><ul><li>The CPU is housed on a silicon chip that contains millions of switches and circuits. </li></ul>Computer Concepts BASICS - -
  9. 9. The Central Processing Unit (cont.) <ul><li>The CPU has two primary sections: </li></ul><ul><ul><li>Arithmetic/logic unit (ALU) </li></ul></ul><ul><ul><ul><li>This section performs arithmetic and logical operations. </li></ul></ul></ul><ul><ul><li>Control unit </li></ul></ul><ul><ul><ul><li>This section is the boss of the CPU and coordinates all activity within the CPU. </li></ul></ul></ul><ul><ul><ul><li>It uses programming instructions to control what actions the CPU performs and when it performs them. </li></ul></ul></ul>Computer Concepts BASICS - -
  10. 10. A CPU Chip Computer Concepts BASICS - - This figure shows a CPU chip for a small computer. Computer programs are written in programming languages. Each program statement causes one or more actions to occur in the CPU. The CPU determines which of the millions of switches that it contains should be turned on or off by processing program statements that tell it what to do.
  11. 11. Computer Memory <ul><li>Data being processed by a CPU is stored in system memory. </li></ul><ul><li>Memory consists of addressable locations within the machine that the computer can access directly. </li></ul>Computer Concepts BASICS - -
  12. 12. Computer Memory (cont.) <ul><li>Data stored in memory is volatile. </li></ul><ul><ul><li>If the power fails, everything in memory is lost. </li></ul></ul><ul><li>Data must be stored on a disk or some other device when not being processed so it is not lost each time the computer shuts down. </li></ul>Computer Concepts BASICS - -
  13. 13. Types of Memory <ul><li>RAM —Random Access Memory </li></ul><ul><ul><li>RAM is short-term memory in which data is processed while a program is running. </li></ul></ul><ul><ul><li>Data stored here can be accessed and modified as needed. </li></ul></ul><ul><ul><li>This type of memory loses any data it holds if the computer is shut down. </li></ul></ul>Computer Concepts BASICS - -
  14. 14. Types of Memory (cont.) <ul><li>ROM —Read-Only Memory </li></ul><ul><ul><li>ROM is memory placed on the motherboard by the manufacturer and contains instructions that tell the computer how to start itself. </li></ul></ul><ul><ul><li>This data cannot be accessed or modified by application programs. </li></ul></ul><ul><ul><li>The contents of this memory are not lost when the computer is shut down. </li></ul></ul>Computer Concepts BASICS - -
  15. 15. The Instruction and Execution Cycles Computer Concepts BASICS - - The execution cycle is the amount of time required to execute the instruction and store the results. This figure illustrates the basic machine cycle involved in processing a program statement. The instruction cycle is the amount of time required to read and decode the instruction.
  16. 16. The Machine Cycle Computer Concepts BASICS - - Machine cycles are measured in microseconds. The faster your computer can process machine cycles, the faster it can process data. The instruction cycle and one or more execution cycles create a machine cycle .
  17. 17. Computer System Controllers <ul><li>A PC motherboard contains several controllers. </li></ul><ul><li>Controllers are devices that control the transfer of data between the computer and peripheral devices. </li></ul>Computer Concepts BASICS - -
  18. 18. Computer System Controllers (cont.) <ul><li>Common peripheral devices include a mouse, monitor, printer, keyboard, and so on. </li></ul><ul><li>Controllers usually are found on a single chip that can handle all common devices. </li></ul>Computer Concepts BASICS - -
  19. 19. Ports <ul><li>Serial and parallel ports are used to connect peripheral devices to the computer circuitry. </li></ul><ul><ul><li>Serial devices (mice/monitors) transmit data one bit at a time. </li></ul></ul><ul><ul><li>Parallel devices (printers) transmit data several bits at time. </li></ul></ul>Computer Concepts BASICS - -
  20. 20. Ports (cont.) <ul><li>USB is a newer, high-speed method of connecting devices and is beginning to replace serial and parallel ports. </li></ul><ul><ul><li>USB can connect up to 127 external devices. </li></ul></ul><ul><li>Firewire is another high-speed method. </li></ul><ul><ul><li>Firewire can connect up to 63 external devices. </li></ul></ul>Computer Concepts BASICS - -
  21. 21. Expansion Slots <ul><li>Expansion slots are electrical connections in the motherboard that can accept circuit cards to perform specific functions. </li></ul><ul><li>These commonly are used to plug in sound cards, video cards, scanners, and other devices. </li></ul>Computer Concepts BASICS - -
  22. 22. A Typical Expansion Card Computer Concepts BASICS - - Electrical prongs along the bottom are used to plug into the expansion slot and make an electrical connection to the main board. This port protrudes from the back of the PC case and is used to attach the device that this card controls.
  23. 23. Data Representation <ul><li>Data is stored in a computer in binary format as a series of 1s and 0s. </li></ul><ul><li>Computers use standardized coding systems (such as ASCII) to determine what character or number is represented by what series of binary digits. </li></ul>Computer Concepts BASICS - -
  24. 24. Data Representation (cont.) <ul><li>Data is stored in a series of 8-bit combinations called a byte. </li></ul><ul><li>Every letter, number, punctuation mark, or symbol has its own unique combination of 1s and 0s. </li></ul>Computer Concepts BASICS - -
  25. 25. Summary <ul><li>Just about all computers perform the same general options: input, processing, output, and storage. </li></ul><ul><li>Input, output, and processing devices grouped together represent a computer system. </li></ul><ul><li>The motherboard is the center of all processing. </li></ul>Computer Concepts BASICS - -
  26. 26. Summary (cont.) <ul><li>The motherboard contains the CPU, memory, and basic controllers for the system. </li></ul><ul><li>The motherboard also contains ports and expansion slots. </li></ul><ul><li>The central processing unit is the brains of the computer. </li></ul><ul><li>The computer is given instructions through computer programs. </li></ul>Computer Concepts BASICS - -
  27. 27. Summary (cont.) <ul><li>The CPU has two main sections—the arithmetic logic unit and the control unit. </li></ul><ul><li>All calculations and comparisons take place in the ALU. </li></ul><ul><li>The control unit coordinates the CPU activities. </li></ul><ul><li>The motherboard contains different types of memory. </li></ul>Computer Concepts BASICS - -
  28. 28. Summary (cont.) <ul><li>The machine cycle is made up of the instruction cycle and the execution cycle. </li></ul><ul><li>Random access memory is volatile and is used to store instructions, data, and information temporarily. </li></ul><ul><li>Read-only memory is nonvolatile and is used to store permanent instructions needed for computer operations. </li></ul>Computer Concepts BASICS - -
  29. 29. Summary (cont.) <ul><li>A controller is used to control the transfer of data between the computer and peripheral devices. </li></ul><ul><li>Expansion slots contain expansion boards. </li></ul><ul><li>Expansion boards are used to connect specialized peripheral devices or to add more memory to the computer. </li></ul>Computer Concepts BASICS - -
  30. 30. Summary (cont.) <ul><li>Peripheral devices are connected to the computer through serial and parallel ports. </li></ul><ul><li>The Universal Serial Bus is a newer standard expected to replace serial and parallel ports. </li></ul><ul><li>FireWire is a type of external bus that can connect up to 63 external devices. </li></ul>Computer Concepts BASICS - -
  31. 31. Summary (cont.) <ul><li>SCSI, IrDA, and Bluetooth are special-purpose ports. </li></ul><ul><li>The ASCII and EBCDIC codes are standard codes used to represent the alphabet, numbers, symbols, and punctuation marks. </li></ul>Computer Concepts BASICS - -