710 likes | 847 Views
????????????: . ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????????????????????????????????????????????????????????????????
E N D
1. ????? 2 ????????????????? Chapter II Data Processing 1
2. ????????????: ???????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????? ????????????????????????????????????????????
?????????????????????????????????????????????????????? 2
3. ???????????????????????????? ?????? (Data) ??? ??????????????????????? ?????????????????????????????? ?????????????????????????????????????? ??? ????????? ????????????????????????? ? ?????????????? ??????????????????????????? ????????????????????? ??????????????????????????????????????????????? 3
4. ???????????????????????????? (???) ???????? (Information) ??? ????????????????????????????????????? ?????????????? ? ???? ??????????? ??????? ????????????? ????????????????????? ??????? ???????????????????????????????????????????????????????????????? ???? ??????????????????? ????????????????????????????????????????????????? ? ??? ???????????????????????? ?????? ????? ?????????????? ? ?????????????????????????????????????????? ?????????????????????????????????????????????????????????? 4
5. ????????????????????????????? 5
6. 6
7. ?????????????????????????????????????? 7
8. ???????? ????????????????????????????????? 8
9. ???????????????????????????????????? 9
10. ?????????? 10
11. ????????????????????????????????????????????????????????????????????????????? (???????????????) ????
(1011)2 ????????????????
(452)8 ????????????????
(1000)10 ???????????????? ???????????????????????????????????
(3C)16 ?????????????????? 11
12. ???????????????? (Base Number Conversion) 12
13. ??????????????????? ????????????? ?????????????????????????????? 1 ????????????????? ????????? (11010)2 ????????????? “1” ????? 3 ??? ???????????????????????????????? 1 ???????? ????????????????????????? 16+8+2 = 26 ??????
??????????????????????????????????
32
45
128
13
14. ??????????????????? ????????????? ???????????????????????????????????????? ?????????????????????????????????????? ?????????????? “1“ ? ??????????????????????????? ???? (26) 10 ???????????????????????????? 3 ???? (16+8+2) ?????????????? “1” ? ??????? 16,8 ??? 2 ???????? ?????????????????????????? “0” 14
15. ????????????????????? 15
16. ??????????????????????????? (????????????? ?????? ?????? ???????????) ?????????????????????????????????????? ???????????????? ?????? ?????? ??????????? ?????????????????????????????? ????????????????????? 3 ?????? ??????
16
17. 17
18. 18
19. 19
20. ??????????????? ? ????????????? ??????????????? ? ????????????? ???????????????????????????????????? ???????????????????????????? ???????????????????????????????????? 20
21. ????????????????????????? ? ???????????????????????????? ? ???????????? ???????????????? ?????????????????????????????? ???????????????????????? ??????????????????????????????????? ??????????? 0 ?????????????????????? ???????????? ??????????????????? ????????????????????????????????? ????????????????????????????????????? ? 21
22. 22
23. 23
24. 24
25. 2.4 ??????????????????????? ????? “???” ????????????????????????????????? ???? 1001 ??????????? 4 ??? ??????????????????????????????????
????????? ???????????????????????????????????????????????????? (Byte) 25
26. 2.4 ??????????????????????? (???) ???????????????????????????????????????????? ??????????????????????????????????????? 8 ??? ??????????????????????????????????????????? (Keyboard) ???????????????????????? ?????? ???????? ?????????????????? ? ?????? ???????????????????????????????????? “Here are some words.” ?????????????????????? 1 ??????????????????? 26
27. 2.4 ??????????????????????? (???) EBCDID
ASCII
UNICODE 27
28. EBCDID EBCDID ??????????????? (BCD: Binary Code Decimal) ?????????????????????????? (IBM) ???????????????????????????????????????????????????????? ?
EBCDIC ??????? ??? – ?? – ??? ???????????? Extended Binary Coded Decimal Interchange Code
???? EBCDIC ?????????????????? 6 ????????????????????????? ? ????????????????????????????????????? ? ??? 64 ????????? (26) ???????????????????????????? EBCDIC ?????????????????????????????????????????????????????????? ???????????????????????????????????????????????????????? 28
29. American Standard Code for Information Interchange (ASCII) ASCII (??????? ??? - ??) ????????????????????????????????????????????
32 ?????? (?????????? 0 - 31) ??????????????????
?????????? 32 - 127 ???????????????????, ??????????????????????? ???????? Lower ASCII
128 ??????? (?????????? 128 - 255) ???????????????????? ???? ????????????? ??????? ?????????????????????????/?????????????????? ??? ???????? Higher ASCII 29
30. 30
31. 31
32. UNICODE (UNICODE Worldwide Character Standard)
???????????????????????????????? 65536 ????????? (216 )
????????????????????????????????????????????????? ???? ??????? ?????? ??? ???????
??????????????????????? ? ???? ?????????? (Microsoft) ???????? (Netscape) ?????????????????????????????????????????????????????
32
33. ????????????????????????????? 33
34. ????????????????? ?????????? (CPU) ?????? (CPU) ??????????????????????????????????????
??????????????????????????? ? ??????????????????????????????? (Microprocessor)
?????????????????????????????????????????? ???
?????????? (Control Unit)
??????????????????????? (Arithmetic Logic Unit) 34
35. ????????????????????? CPU ???????? (Fetch) ?????????????????????????????????????????????????????????????????????????????????????????????? Register
?????????????? (Decode) ?????????????????????????????????????????????? ??????????????????????????????????????????????????
?????????????? (Execute) ????????????????????????????????????????????? ???????????????????????????????????
?????????? (Store) ??????????????????????????????????????????????????????????????????????????????????????? 35
36. ????????????????????? CPU 36
37. ????????????? (Instruction Cycle: I-Cycle) 37
38. ????????????????????????? ??????????? (Megahertz: MHz) ??????????????????????????????????????????????? ???? Clock Speed ????????????????????????????????????????????? (Millions machine cycle per second)
????? (Million of Instructions Per Second: MIPS) ???????????????????????????????????????????????????????????? 1 MIPS ??????????????????????????????????????????? (Million of Instructions Per Second: MIPS)
?????? (Floating Point Operations Per Second: FLOPS) ????????????????????????????????????????????????? ?????????????????????????????????????????????????????????????????? Floating Point 38
39. ????????????????????????? (???) 39
40. ?????????????????????????? 1. ???????????????????? (Single processing) ???? (Sequential Processing) ????????????????????????????? ?????????????????????????????? ?????????????????????????????????
2. ?????????????????? (Parallel processing) ??????????????????????? 1 ??? (Multiple Processors) ????????????? ? ????????????? ?????????????????????????? 40
41. Sequential Processing VS Parallel Processing 41
42. 2.7.4 ??????????????????????????? (CPU: Central Processing Unit) ?????????????????????? 2 ???? ???
?????????????????? (ALU: Arithmetic & Logical Unit)
??????????? (Control Unit)
42
43. ?????????????????? (ALU: Arithmetic & Logical Unit) ??????????????????????????? (Arithmetic operations) ???????????????????????? (Logical operations) ????????? 6 ??????
43
44. ??????????? (Control Unit) ?????????????????????????????????????????????????????????????? (Control Unit)
?????????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????
????????? ALU ????????????????????????????
?????????????????????????? 44
45. ??????????? (Control Unit) 45
46. 2.7.4 ?????????????????????????????????????????????? Chip Set
?????????????? CPU 46
47. Chip Set Chip Set ?????????????????????????????????????????????????? ??????????????????
????????????????????????????? Chip Set
?????????????
??????????????????????
?????????????????
??????????????????? Port ?????
?????? DMA
47
48. ???????????????????? (Architecture) 48
49. ???????????????????? (Architecture) ?????????????? CISC : Complex Instruction Set Computing
?????? (Cycle) ????????????????????????????????????????????????
??????????????????????????????????? ??????????????????????????
???????????????????????????????????????????????
?????????????? RISC : Reduces Instruction Set Computing
????????????????????????????????????
???????????????????????????????????????????????? 49
50. 2.8 ??????????????? (Memory) ??????????????????????????????????????? (Chip) ?????????? (Mainboard) ???????????????????????? ? ?????????????????? ??????????????????????????????????????????????????????????????????
??????????????? 2 ???? ???
??????? (Permanent Memory) ??????????????????????????????????????????????????????????????????????????????????? ????????????????????????? ??????????? (Nonvolatile) ?????????????????? Rom (Read Only Memory)
?????????? (Non-Permanent Memory) ???????????????????????????????????? ??????????????????????????????????????????????????????????????????????? ???????? (Volatile) ?????????????????? Ram (Random Access Memory) 50
51. ROM: Read Only Memory ???????????????????????????????????????????????????????? ???
????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????
????? (POST: Power On Self Test) ????????????????????????????
??????????????????????? ????????????????????????????????????????????????????????? 51
52. RAM: Random-access Memory ??????????????????????????????????????????????
??????????????????????????????????????????????????????
???????????????????????????? 52
53. RAM (Random-Access Memory) ????????????????????????????????????
????????????????????????????????
??????????
??????????????? 53
54. RAM (Random-Access Memory) ????????????????????????????????????????????????? 4 ???? ???
1. Input Storage Area ?????????????????????????????????????????????????????????????? ???????????????????????????????????????
2. Working Storage Area ????????????????????????????????????????????????
3. Output Storage Area ?????????????????????????????????????????? ??????????????????????? ??????????????????????????? ??????????????????????????????????
4. Program Storage Area ??????????????????????????? ?????????????????????????????????????? ??????????????????????????????????? ??????????? ?????????????????????????????????????? ????????????????????????????????????? ?????????????????????????? ?????????????????? ????????????????????????????????????????????????????????????????
54
55. RAM (Random-Access Memory) ??????????
Dynamic Random Access Memory (DRAM)
?????????????????????????????? ?????????????????????????? Access Time ??????????????????????????????????????????????????????????
??????????????????????????????? (Capaciter) ??????????????????? refresh ????? ?????????? ?????????
?????? refresh ??????????????????????????????????????????????
????????????????????????????????
2. Static Random Access Memory (SRAM)
????????? DRAM ????????? DRAM ????????? refresh ??????????????????
??????????? SRAM ???????????? ???? ? ??? ????????????? refresh ????????????
?????????????????????? ???????????? DRAM ???????
????????????????????????? ????????????????? 55
56. RAM (Random-Access Memory) ???????????????
Fast Page Mode (FPM) RAM: ???????????? ?????????????????????????????????????????????????????? ? ???????????????????????????????????????????????????????????? ??????????????????????????????????????
Extended Data Output (EDO) RAM: ????????? ?????????????????????? ?????????????????????????????????? ? ??
Burst Extended Data Output (BEDO) RAM: ??????????? ??????????????????????????????????????????????????? ???????????????????????????????????????? VIA
Synchronous Dynamic RAM (SDRAM): ???????? ???????????????????????????????????????? 100 MHz ???????????????????????????????????????????????????????????????? ???????????????????????????????????????????????
Double Data Rate SDRAM (DDR SDRAM): ???????????????????????? ????????????????? SDRAM ???????????????????????
Video RAM ?????????????????????????????????? ??????????????????????????????????????????????? 56
57. 57
58. 2.9 ??????? (BUS System) ??????? ???????????????????????????????????????????????????????????? ??????????????????????????? ???????????????????? ??????????????????? Slot ??????????? 58
59. 2.9 ??????? (BUS System) Address Bus
??????????????????????? ????????????????????????????????
Data Bus
??????????????????????????????????? ????????????????????
?????????????????????????? ???????????????????? ???????????????????????????????????????
Control Bus
????????????????????????? ????????????????????? ??????????? ??????????????????
????????????????????????? ??? ?????????? ? ??????????????????? ? 59
60. 2.9 ??????? (BUS System) 60
61. 2.10 ??????????????????????????????????? ????????????????? (The Intel Processors)
??????? Pentium (8086,80286,80386 ??? 80486)
??? Pentium (The Pentium,The Pentium Pro, 2,celeron,2 Xeon,3,3 Xeon,4, Pentium D , Core2 Duo , Core 2 Extreme , Core 2 Quad ??????)
??????????????????? (The Advanced Micro Devices Processors)
???????????????????? (Motorola Processors) ????????????????????????????? 61
62. Intel 62
63. AMD 63
64. Motorola 64
65. 2.11 ??????????????????????????????????????????? ????????????????? (CPU’s Register) ??? ?????????????????????????? ???????????????? Microprocessor ????????????? (Word Size) ?????????????????????????????????????????????????????????????????????????????? (Clock Speed) ???? ???????????????????? 32 ??? (32-bit Processors) ???? ???????????????????? 64 ??? (64-bit Processors)
?????????? ????????????????????? ????????????????????????????????????????????????????????????????????????????????????????????? ????????????????????????????????????????? ????????? ??????????????????? RAM ????????????????????????????????? ?????????????????????????? ??????????????? swap in ??? swap out 65
66. ?????????????????? (swap in ??? swap out ) ???????????????????????????? Swap in ??? Swap out ??????????????????????????? RAM 66
67. 2.11 ??????????????????????????????????????????? ???????????? (Clock Cycle) ????????????????????????????????????????????????????????????? ???????????????????????????? 1 clock cycle ??? ???????? 1 ????? ????????? MHz ??? ??????????? 1 ???????/??????
??? (Bus) ??????????????????????????????????????
???????????????????????? ???????????????????????????????????????????????????????? ???????????????????????????????????????????????????????????? ??? ??????????????????? (????????????????????????????????????????????????????????????????????????????????) ??????????????? ???????????????????????????????????????????????????????
???????????? ????????????????????????????????????????? ????????????????????????????????????????????????? 67
68. 2.11 ??????????????????????????????????????????? ?????????? (Cache Memory) ????????????????????????????????????????????????????????????????????????????
????????????????????????????????????? ???????????????????????????????????????????????????????????????? CPU ??? RAM
????????????????????????????????????????? RAM ????????????????????????????????????
?? CPU ????????? Cache Memory ??????????? CPU ????????
????????????????????????? (Math Coprocessor) ???????????????????????????? - ????????????????????? – ?????????????? Math Coprocessor ??????????????????????????????????????????????????????????????????????? ?? CPU ????????? ???? Math Coprocessor ???????????????? 68
69. ???????? Cache Memory 69
70. ???????????????????????????????? - ?????? 70
71. Questions & Answer? 71