TAILIEUCHUNG - Computer Hardware & Software - Session 3

Data Representation in Computers Session 3 Data Representation in Computers/Session 3 / 1 of 45 .Session Objectives s s s s s Describe what a Number system is Explain the decimal, octal and hexadecimal number systems Convert a number from one | Data Representation in Computers Session 3 Session Objectives Describe what a Number system is Explain the decimal, octal and hexadecimal number systems Convert a number from one number system to another Practice binary arithmetic List the various standard codes used to represent the unit of information ASCII EBCDIC Session Objectives (Contd.) Explain Data Representation Explain Data Storage Explain Packed Decimal Binary Arithmetic Calculation Explain CPU and its speed Number systems The additive approach - Number earlier consisted of symbols . Roman number system - I for 1, II for 2, III for 3 etc. Positional numbering - Symbols represent different values depending on the position they occupy . the Decimal system Decimal Number System In the decimal number system the successive position to the left of the decimal point represent units, tens, hundreds, thousands etc. (3 * 100) + (6*10) + (5*1) = 365 The position of the number affects its value. These kind of number systems therefore are called positional number system. Base Position number (6*10) Decimal Number System (Contd.) The value of each digit in the number system is determined by: a) The digit itself b) The position of the digit in the number c) The base/radix of the system Binary Number System The binary number system has a base of two and symbols used are 0 and 1. In this number system, as we move to the left, the value of the digit will be two times greater than its predecessor because the base is two. Thus the value of the places are : 64 32 16 8 4 2 1 0001111001010111 Least Significant bit Most Significant bit Binary Number Octal number systems Binary Octal 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 Uses a base of 8 Values increase from right to left 1, 8, 64, 512 . Octal Number System The octal system has the base of 8. The value increase from right to left as 1, 8, 64, 512, 4096. The decimal value of an octal number 1204 can be computed as : 1204 = (1 * 512) + (2 * 64) +

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.