# chap0 - Chapter 0 Introduction to Computing Dr L L Cheng...

• Notes
• 29

This preview shows page 1 - 11 out of 29 pages.

1 Chapter 0 Introduction to Computing Dr. L L Cheng Room: FYW 6306 Phone: 27887755 Email: [email protected]
2 Objective This chapter is let us to review the operation method of computer, especially how does the CPU retrieve and execute programs. If you do not familiar with the concept of a computer, then you should pay more attention to read this chapter and reply each Review Questions and all the sections of the PROBLEMS. The answers of the Review Questions are at the back of the Problems.
3 Section 0.1 Numbering and Coding Systems
4 Outlines of Section 0.1 Decimal and binary number systems Converting between decimal to binary Hexadecimal system Converting between binary and hex Counting in bases 10, 2, and 16 Addition and subtraction of hex number ASCII codes Please review the items if you have forgotten them .
5 Section 0.2 Digital Primer
6 Outlines of Section 0.2 Binary Logic Logic Gates - AND, OR, NOT, XOR, NAND, NOR Logic design using gates Decoders Flip-flops Please review the items if you have forgotten them .
7 Section 0.3 Inside the Computer
8 Important Terminology Bit 0 Nibble 0000 (4 bits) Byte 0000 0000 (8 bits) Word 0000 0000 0000 0000 0000 0000 0000 0000 (32 bits) KB (kilobyte) ＝ 2 10 bytes MB (megabyte) ＝ 2 20 bytes GB (gigabyte) ＝ 2 30 bytes TB (terabyte) ＝ 2 40 bytes
9 ROM v.s. RAM ROM (read only memory) ROM contains programs and information essential to operation of the computer. for permanent data which cannot changed by the user called as nonvolatile memory Data does not lost when power off RAM (random access memory) for temporary storage of programs that it is running Data lost when power off called as volatile memory
10 Figure 0-9: Inside the Computer Every computer can be broken down into three parts ＝ CPU (Central Processing Unit) Memory ＝ RAM,ROM, etc.