Beruflich Dokumente
Kultur Dokumente
base 8
symbols 0, 1, 2, 3, 4, 5, 6 and 7, these are known as Octal digits
weighted sum representation
Octal point
Counting (ginti) is same as decimal
6. Octal to Decimal Conversion
By Weighted Sum Representation
7. Decimal to Octal Conversion
a) Sum of weight method
b) Repeated division method (whole no. conversion)
c) Repeated multiplication (for fractional part)
8. Octal to binary conversion
There is a direct relation between the bases of Octal and Binary
number systems. i.e. 8 = 23 . To convert a given octal number to binary,
simply replace the octal digit by its equivalent 3-bit binary representation.
9. Binary to Octal Conversion
binary number is clubbed into a group of three bits towards left from
the octal point and grouped towards right from the octal point. Additional
0s, if required, can be added to right of rightmost bit in the fractional part,
10.
Hexadecimal Numbering System
Base 16
uses alpha-numeric symbols 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and A, B, C, D, E,
F.
weighted number representation
Counting (ginti) is same as decimal
11.
Hexadecimal to Binary Conversion
direct relation 16 =24
12.
Binary to Hexadecimal Conversion
clubbed into a group of 4-bits
13.
Hexadecimal to Octal Conversion
first converting a given Hexadecimal number to binary and then
converting the resultant binary to octal system
14.
Octal to Hexadecimal Conversion
converting first to the binary system and then to hexadecimal
system.
15.
Hexadecimal to Decimal Conversion
By Weighted Sum Representation
16.
Binary operations
17.
Complementary numbering systems: 1s and 2s
Complements
1s complement of a given binary number can be obtained by
replacing all 0s by 1s and 1s by 0s. (In other words generalised - simply
by subtracting each digit of the number from the Base of number system
minus one)
2s complement of a given binary number can be obtained by first
obtaining 1s complement and then add 1 to it.
Sign bit helps to identify that number is positive or negative.
18.
Binary subtraction using 1s complementary
STEP 1:1s complement of the subtrahend is obtained first and then added
to the minuend.
STEP 2: If a carry generates remove that carry and add 1 to remaining part
Else answer is negative in 1s complement (so obtain 1s
complement and use ve sign to indicate)
19.
Binary subtraction using 2s complementary
STEP 1:2s complement of the subtrahend is obtained first and then added
to the minuend.
STEP 2: If a carry (called end around carry) generates remove that carry
Else answer is negative in 2s complement (so obtain 2s
complement and use ve sign to indicate)
20.
Binary Coded Decimal (BCD) Numbering system (8421 code)