Number System

Preview:

DESCRIPTION

Binary, Octal, Decimal and Hexadecimal

Citation preview

NUMBER SYSTEMBinary, Octal, Decimal and Hexadecimal

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

DECIMAL NUMBER SYSTEM

DECIMAL NUMBER SYSTEM

BINARY NUMBER SYSTEM

OCTAL NUMBER SYSTEM

HEXADECIMAL NUMBER SYSTEM

CONVERSION FROM BINARY, OCTAL AND HEXADECIMAL TO DECIMAL NUMBER

SYSTEM

CONVERSION OF OCTAL TO DECIMAL

CONVERSION OF HEXADECIMAL TO DECIMAL

CONVERSION FROM DECIMAL TO BINARY, OCTAL AND HEXADECIMAL

DECIMAL TO BINARY

DECIMAL TO OCTAL

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

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

BINARY TO OCTAL

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

BINARY TO HEXADECIMAL

Recommended