Number System

17
NUMBER SYSTEM Binary, Octal, Decimal and Hexadecimal

description

Binary, Octal, Decimal and Hexadecimal

Transcript of Number System

Page 1: Number System

NUMBER SYSTEMBinary, Octal, Decimal and Hexadecimal

Page 2: Number System

NUMBER SYSTEM

Number System

Base Digits/Alphabets used

Binary 2 0,1

Octal 8 0,1,2,3,4,5,6,7

Decimal 10 0,1,2,3,4,5,6,7,8,9

Hexadecimal 16 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,FA = 10, B = 11, C = 12, D = 13, E = 14, F = 15

Page 3: Number System

DECIMAL NUMBER SYSTEM

Page 4: Number System

DECIMAL NUMBER SYSTEM

Page 5: Number System

BINARY NUMBER SYSTEM

Page 6: Number System

OCTAL NUMBER SYSTEM

Page 7: Number System

HEXADECIMAL NUMBER SYSTEM

Page 8: Number System

CONVERSION FROM BINARY, OCTAL AND HEXADECIMAL TO DECIMAL NUMBER

SYSTEM

Page 9: Number System

CONVERSION OF OCTAL TO DECIMAL

CONVERSION OF HEXADECIMAL TO DECIMAL

Page 10: Number System

CONVERSION FROM DECIMAL TO BINARY, OCTAL AND HEXADECIMAL

Page 11: Number System

DECIMAL TO BINARY

Page 12: Number System

DECIMAL TO OCTAL

Page 13: Number System

DECIMAL TO HEXADECIMALThe conversion method of decimal to hexadecimal is the same as that of decimal to binary except that the base taken is 16 instead of 2.

For example, to convert 765.24510 to the hexadecimal equivalent, do the following:

Integer Part Fractional Part

16 765

16 47 - 13

16 2 - 15

0 - 2

0.245x 16

3.920x 16

14.720x 16

11.520

765.24510 = 2FD.3EB16

Page 14: Number System

DIRECT CONVERSION – YOU CAN DO DIRECT CONVERSIONS AMONG BINARY, OCTAL AND HEXADECIMAL NUMBERS.

Page 15: Number System

BINARY TO OCTAL

Page 16: Number System

HEXADECIMAL TO BINARY – YOU CAN CONVERT A HEXADECIMAL NUMBER TO ITS BINARY EQUIVALENT AND VICE VERSA DIRECTLY, AS EACH HEXADECIMAL DIGIT IS EQUIVALENT TO FOUR BINARY DIGITS.

1010101100010010.011110002

Page 17: Number System

BINARY TO HEXADECIMAL