C语言40学时 Chapter 0 Introduction Computers Brooks/Cole C Brooks/Cole, 2001 Thomson Learni
© Brooks/Cole, 2001 C语言40学时 Chapter 0 Introduction To Computers
Figure 1-1 C语言40学时 COMPUTER SYSTEM HARDWARE SOFTWARE Brooks/Cole C Brooks/Cole, 2001 Thomson Learni
© Brooks/Cole, 2001 Figure 1-1 C语言40学时
C语言40学时 Hardware The hardware is the physical equipment. It consists of five parts: (Figure 1-2) input devices - keyboard central processing unit (CPU) primary storage or main memory output devices - monitor or printer auxiliary or secondary storage devices -used for both input and output Brooks/Cole C Brooks/Cole, 2001 Thomson Learni
© Brooks/Cole, 2001 C语言40学时 Hardware • The hardware is the physical equipment. It consists of five parts: (Figure 1-2) – input devices – keyboard – central processing unit (CPU) – primary storage or main memory – output devices – monitor or printer – auxiliary or secondary storage devices – used for both input and output
Figure 1-2 C语言40学时 Monitor K∈ ebara CPU Prima Storage Input Devices Printer Disk Tape Auxiliary Storage Devices Output Devices Brooks/Cole C Brooks/Cole, 2001 Thomson Learni
© Brooks/Cole, 2001 Figure 1-2 C语言40学时
C语言40学时 CPU CPU contains arithmetic logic unit: +, x, / and Or control unit fetches instructions and data from memory executes instructions puts data back in memory (when we talk about a 600 MHz( mega hertz) Pentium Il, we are talking about how fast the CPU can do these things.) Brooks/Cole C Brooks/Cole, 2001 Thomson Learni
© Brooks/Cole, 2001 C语言40学时 CPU • CPU contains – arithmetic logic unit: +, -, *, /, and. Or – control unit: • fetches instructions and data from memory; • executes instructions • puts data back in memory • (when we talk about a 600 MHz( megahertz) Pentium III, we are talking about how fast the CPU can do these things.)