Number System
Number System
1
NUMBER SYSTEM
15 %
In binary number system a group or string of 4 bits is known as nibble and group of
8 bits is known as byte.
Nibble is defined as the group of four bits made from LSB in binary number system.
Byte is defined as group of eight bits made from LSB in binary number system.
For example (100110010110)2 (100110010110)2
N N N N = Nibble B B = Byte
c) Octal number system: - The number system with base 8 is known as the octal number
system.
In this number system eight symbols are used to represent data i.e., 0, 1, 2… 7
Octal number system is used instead of binary number system because long string
of binary numbers is inconvenient to handle and remember and there is possibility of errors
while entering the data therefore octal number system is used in digital circuits and
microprocessors.
Binary number 101010 can be easily remembered as 52 in octal number system and
entered in digital circuits as 52, but digital circuits can process only with 0 and 1 hence
this octal number is converted in to binary and then applied to digital circuit.
For example (3751)8
d) Hexadecimal number system: - A number system whose base is 16 is known as
hexadecimal number system. In this number system 16 symbols are used to represent
numbers. Numbers from 0 to 9 and alphabets from A to F are used to represent this
number system hence this number system is also known as alpha numeric number system.
The advantage of hexadecimal number system is that it is directly converted from 4 bit
binary number. Hexadecimal number system is widely used in microprocessor based digital
circuits to represent 4, 8, 16, -- bits binary numbers.
For example (6AB.D)16
Table 1.1
Decimal Binary Octal Hexadecimal
B4 B3 B2 B1 B0
0 0 0 0 0 0 0 0
1 0 0 0 0 1 1 1
2 0 0 0 1 0 2 2
3 0 0 0 1 1 3 3
4 0 0 1 0 0 4 4
5 0 0 1 0 1 5 5
6 0 0 1 1 0 6 6
7 0 0 1 1 1 7 7
8 0 1 0 0 0 10 8
9 0 1 0 0 1 11 9
10 0 1 0 1 0 12 A
11 0 1 0 1 1 13 B
12 0 1 1 0 0 14 C
13 0 1 1 0 1 15 D
14 0 1 1 1 0 16 E
15 0 1 1 1 1 17 F
16 1 0 0 0 0 20 10
17 1 0 0 0 1 21 11
18 1 0 0 1 0 22 12
19 1 0 0 1 1 23 13
20 1 0 1 0 0 24 14
Positional notation and weight: - We express any decimal number in units, tens,
hundreds, thousands and so on.
For example (35074)10= 3×104+5×103+0×102+7×101+4×100
= 3×10000+5×1000+0×100+7×10+4×1
= 30000+5000+0+70+4
= 35074
1.3
From this we can conclude that each digit position has weight. The sum of all digits
multiplied by their weights gives the number being represented.
Binary weight: - We can also write any binary number in terms of weight. The least
significant bit has weight of one, second position has weight of 2, next is 4, 8 and so on. For
fractional numbers the weight of bit position are given by 2-1, 2-2, 2-3 and so on.
Table 1.2
Binary 28 27 26 25 24 23 22 21 20 . 2-1 2-2 2-3 2-4
number
Decimal 256 128 64 32 16 8 4 2 1 . 0.5 0.25 0.125 0.0625
equivalent
(233.375)10 = (11101001.011)2
c) (342D.75)16 = (?)10
In case of Hexadecimal number system D = 13
342D.75 = 34210.75
= 3163 + 4162 +2161+ 10160 +716-1+516-2
= 34096 + 4256 +216+ 101 +7.0625+5.003962
= 12288+ 1024+32+13+.4375+.01981
= 13357.45731
(342D.75)16 = (13357.45731)10
d) (2F.8)16 = (?)10
In case of Hexadecimal number system F = 15
2F.8 = 2 15 .8 = 2161 +15160 + 816-1
= 216+151+ 80.0625 = 32+15+.5 = 47.5
(2F.8)16 = (47.5)10
e) (7FF.8)16 = (?)10
In case of Hexadecimal number system F =15
7FF.8 = 7 15 15. 8 = 7162 +15161+15160 + 816-1
= 7256 + 1516 +15 1 +80.0625 = 1792 + 240 + 15 +0.5 = 2047.5
(7FF.8)16 = (2047.5)10
F) Decimal to Hexadecimal: - This process is like decimal to binary and decimal to octal
conversion. In this conversion no 16 is used instead of no 2 and no 8.
Ex 1.6) Convert the following decimal numbers into hexadecimal numbers.
a) (43155.140848)10 = (?)16
A) Integer Number (B) Fractional Number
0.140848
16 43155
16 (.24) 16
16 2697 3
2.253568
16 168 9
16
16 10 8
4.057088
0 10 10893 but 10 is represented as A
10893 = A893
(43155.140848)10 = (A893.24)16
b) (253) 10 = (?) 16
e) (2479) 10 = (?)16
16 2479
16 154 15
16 9 10 (91015)
0 9
In case of Hexadecimal number system 10 = A, 15= F
(2479)10 = (9 10 15) 16 = (9AF) 16
1.4 Inter conversion.
A) Binary to Octal: -Binary numbers can be converted into octal number by using following
steps.
A) For integer Number: -
1) Write down the given binary number accurately.
2) Make a group of three bits from LSB to MSB.
3) If the group is incomplete add the number of zeros after MSB.
4) Replace each group with their equivalent octal number.
B) Fractional Number: -
1) The grouping is now made from binary point.
2) If the group is incomplete add the number of zeros in last group.
3) Replace each group with their equivalent octal number.
The resultant number is equivalent to the octal number of given binary number.
Ex 1.7) Convert the following binary numbers into octal number.
a) (100101011110.110011101)2 = (?)8
Sol: - 100101011110.110011101
= 100 101 011 110 .110 011 101
4 5 3 6 6 3 5 = 4536.635
(100101011110.110011101)2 = (4536.635)8
b) (110100101101.100110101101)2 =(?)8
Sol: - 110100101101.100110101101
= 110 100 101 101. 100 110 101 101
6 4 5 5 4 6 5 5 = 6455.4655
(110100101101.100110101101)2 = (6455.4655)8
c) (100100111011010.001011010)2 =(?)8
Sol: - 100100111011010.001011010
= 100 100 111 011 010 . 001 011 010
4 4 7 3 2 1 3 2 = 44732. 132
(100100111011010.001011010)2 = (44732.132)8
d) (11101000101011101.11010010111)2 =(?)8
Sol: - 11101000101011101.11010010111
= 011 101 000 101 011 101. 110 100 101 110
3 5 0 5 3 5 6 4 5 6 = 350535. 6456
(11101000101011101.11010010111)2 = (350535.6456)8
B) Octal to Binary: - In this conversion each octal number is replaced by their three-bit
equivalent binary number so that we can get binary equivalent of given octal number.
1.9
= 011 101 000 101 011 101. 110 100 101 110
(350535.6456)8 = (011101000101011101.110101110)2
(350535.6456)8 = (111010000101011101.11010111)2
C) Binary to Hexadecimal: -Binary numbers can be converted into hexadecimal number
by using following steps.
A) For integer Number: -
1) Write down the given binary number accurately.
2) Make a group of four bits from LSB to MSB.
3) If the group is incomplete add the number of zeros after MSB.
4) Replace each group with their equivalent hexadecimal number.
5) If the equivalent number is greater than 9 that number is replaced by their equivalent
alphabets such as 10 = A, 11 = B etc...
B) Fractional Number: -
1) The grouping is now made from binary point.
2) If the group is incomplete add the number of zeros in last group.
3) Replace each group with their equivalent hexadecimal number.
The resultant number is equivalent to the hexadecimal number of given binary number.
Ex 1.9) Convert the following binary numbers into hexadecimal number.
a) (100101011110.11001110)2 =(?)16
Sol: - 100101011110.11001110
= 1001 0101 1110.1100 1110
9 5 14. 12 14
In case of Hexadecimal number system 14= E, 12 = C
(100101011110.11001110)2 = (9 5 14.12 14)16 = (95E.CE)16
b) (110100101101.100110101101)2 =(?)16
Sol: - 110100101101. 100110101101
= 1101 0010 1101.1001 1010 1101
13 2 13. 9 10 13
In case of Hexadecimal number system 13= D, 11 = B, 10 = A
(110100101101.100110101101)2 = (13 2 13.9 11 10)16 = (D2D.9BA)16
1.10
c) (110101.1100)2 = (?)16
Sol: - 110101.1100
= 0011 0101 .1100
3 5 12
In case of Hexadecimal number system 12 = C
(110101.11000)2 = (3 5 12)16 = (35.C)16
d) (1101101.1101)2 = (?)16
1101101.1101 As last nibble is incomplete 0 is added to complete the nibble
01101101.1101
6 13 13
In case of Hexadecimal number system 13=D
(1101101.1101)2 = (613.13)16 = (6D.D)16
e) (101100110101.10110111)2 = (?)16
Sol: - 101100110101.10110111
= 1011 0011 0101 . 1011 0111
11 3 5 11 7
In case of Hexadecimal number system 11=B
(101100110101.10110111)2 = (11 35.7)16 =(B35.7)16
D) Hexadecimal to Binary: - In this conversion each hexadecimal number is replaced by
their four-bit equivalent binary number so that we can get binary equivalent of given
hexadecimal number.
Ex 1.10) Convert the following hexadecimal numbers into binary number.
a) (2BAD) 16 = (?)2
Sol: -In case of Hexadecimal number system B =11, A = 10, D = 13
2BAD = 2 11 10 13
BABA.927 = 11 10 11 10.927
= 11 10 11 10 . 9 2 7
1101
1001) 1110101
- 1001
1011
- 1001
1001
- 1001
0000
(1110101)2 (1011)2 = (1101) 2
1.6 1`s and 2`s Compliment.
A) 1`s compliment: - In Binary number if each 1 is replaced by 0 and each 0 is
replaced by 1 the resulting number is known as 1`s compliment of first number.
Both numbers are 1`s compliment of each other. If 1 st number is positive, then
resulting number is negative with same magnitude.
For example: -
(10101)2 1`s Compliment (01010)2
(21) 10 = (-21) 10
Ex 1.15) Find out 1`s compliment of following numbers.
1) (10110101)2
Sol: - 10110101
= 10110101 1`s Compliment 01001010
2) (101001101)2
Sol: - 101001101
= 101001101 1`s Compliment 010110010
3) (1110010101)2
Sol: - 1110010101
= 1110010101 1`s Compliment 0001101010
4) (10010100101)2
Sol: - 10010100101
= 10010100101 1`s Compliment 01101011010
5) (110010011010)2
Sol: - 110010011010
= 110010011010 1`s Compliment 001101100101
A) Subtraction using 1`s compliment
Rules for subtraction using 1`s compliments are.
1) Find out 1`s compliment of number which is to be subtracted.
2) Add this number with the 1st number.
3) If EAC (End Around Carry) is present in the answer add EAC in the remaining
bits to get the final answer. This answer is positive.
4) If EAC is absent find out 1`s compliment of this addition to get final answer but
this answer is negative.
For example: -
a) 10111 – 10011
1) Using 1`s compliment subtraction method.
10111
- 10011 1`s Compliment 01100
111
10111
+ 01100
100011
+ 1
000100
1.15
b)10011 – 10111
10011
- 10111 1`s Compliment 01000
10011
+ 01000
11011
As EAC (End Around Carry) is absent answer is negative and it is 1`s compliment of
above answer.
110111 1`s Compliment - 00100
Ex 1.16) Subtract using 1’s compliment method.
a) (1011)2 – (10001)2 = (?)2
01011
- 10001 1`s Compliment 01110
111
01011
+01110
11001
As EAC (End Around Carry) is absent answer is negative and it is 1`s compliment of
above answer.
11001 1`s Compliment -00110
(1011)2 – (10001)2 = -(00110)2
b) (11010)2 – (110111)2 = (?)2
11010
- 110111 1`s Compliment 001000
11
11010
+001000
100010
As EAC (End Around Carry) is absent answer is negative and it is 1`s compliment of
above answer.
100010 1`s Compliment -011101
(1010)2 – (110111)2 = (-011101)2
c) (11011)2 – (01101)2 = (?)2
11011
- 01101 1`s Compliment 10010
1 1
11011
+10010
101101
As EAC is present answer is positive, but we have added EAC in remaining bits
001101
+ 1
001110
(11011)2 – (01101)2 = (001110)2
d) (101)2 – (1101)2 = (?)2 (Problem for practice)
101
- 1101 1`s Compliment 0010
1
101
+ 0010
0111
1.16
As EAC (End Around Carry) is absent answer is negative and it is 1`s compliment of
above answer.
0111 1`s Compliment -1000
(101)2 – (1101)2 = -(1000)2
e) (11100)2 – (00100)2 = (?)2 (Problem for practice)
11100
- 00100 1`s Compliment 11011
11
11100
+11011
110111
As EAC is present answer is positive, but we have added EAC in remaining bits
10111
+ 1
11000
(11100)2 – (00100)2 = (11000)2
B) 2`s compliment: - If binary number 1 is added in the 1`s compliment the resulting
number is 2`s compliment of given number.
For example:- :-
(10101)2 1`s Compliment (01010)2
+ 1
(10101)2 2`s Compliment (01011)2
3) If EAC (End Around Carry) is present in the answer disregard EAC and the remaining
bits gives the final answer.
4) If EAC is absent find out 2`s compliment of this addition to get final answer but this
answer is negative.
For example: - For example: -1) (10111 – 10011)2 = (?)2
10111
- 10011 2`s Compliment 01101
11 1
10111
+ 01101
100100
As EAC is present answers is positive, but disregard EAC and remaining bits is final
answer.
100100 = 00100
2) (10011 – 10111)2 = (?)2
10011
- 10111 2`s Compliment 01001
11 1
10011
+ 01001
11100
As EAC (End Around Carry) is absent answer is negative and it is 2`s compliment of
above answer.
11100 2`s Compliment - 00100
Advantages: - 1) In 2`s compliment only one addition is required.
2) This type of circuit is faster.
Ex 1.18) Subtract using 2’s compliment method.
a) (111011)2 – (101)2 = (?)2
111011
- 000101 2`s Compliment 111011
111 11
111011
+ 111011
1110110
As EAC is present answer is positive, but disregard EAC and remaining bits is final
answer.
(111011)2 –(101)2 = (110110)2
b) (11)2 - (11111)2 =(?)2
00011
- 11111 2`s Compliment 00001
11
00011
+ 00001
00100
As EAC (End Around Carry) is absent answer is negative and it is 2`s compliment of
above answer.
00100 2`s Compliment -11100
(11)2 - (11111)2 = (-11100)2
1.18
1 11
1011
+ 1011
10110
As EAC is present answer is positive, but disregards EAC and remaining bits is final
answer.
(1011)2- (101)2 = (0110)2
d) (11011)2 - (1100)2 = (?)2
11011
- 01100 2`s Compliment 10100
11
11011
+ 10100
101111
As EAC is present answer is positive but disregards EAC and remaining bits is final
answer.
(1011)2- (101)2 = (01111)2
e) (110100)2 – (1000001)2
110100
- 1000001 2`s Compliment 0111111
1111
110100
+ 0111111
1110011
As EAC (End Around Carry) is absent answer is negative and it is 2`s compliment of
above answer.
1110011 2`s Compliment -0001101
(52)10-(65)10 = - (0001101)2
1.7 Codes.
Computers and other digital instruments process data in binary form. Various
special codes are used in digital electronic to represent numbers, letters, special characters,
and control characters. In modern electronic systems several encoders and decoders are
used for translating code. Encoders are used to convert input information into to a code
useful to digital circuitry while decoder is used to convert an encrypted code into code that
is more understandable. In every code information is represented in binary form. Codes are
used for error detection and error correction in digital systems.
Some of the commonly used codes are.
a) Natural binary code, (b) Octal code, (c) Hexadecimal code, (d) Natural BCD code,
(e) Excess 3 code, (f) Grey code, (g) ASCII code, (h) EBCDIC code, (i)12-bit Hollerith code,
(j) Error code, k) Uni code
A) Natural Binary Code: - This is used to represent number using natural binary
form. For details ref Binary number system page, no 1.1
B) Octal Code: - It is a three-bit code in which octal digits 0 to 7 are coded into
binary form. For details ref Octal number system page, no 1.2
C) Hexadecimal Code: - It is a 4-bit binary code in which 0 to 9 are represented by
their equivalent binary no and remaining numbers from 10 to 15 are represented by
alphabets A to F. For details ref Hexadecimal number system page, no 1.2
D) Binary Coded Decimal Code: - It is Binary Coded Decimal code; it has combined
feature of binary and decimal numbers. 8421, Excess 3 and Grey code are the example of
this code
1.19
(1) 8421 Code: - In this code each decimal digit is represented by their natural
binary equivalent. In this code 8, 4, 2, 1(i.e., 23, 22, 21, 20) are the weights of binary number
of each digit. As 9 is the largest number in decimal number system the largest nibble in
8421 is 1001. This code is very useful to feed data in computer and other digital circuits. It
is used in counters, digital multi meters and pocket calculators.
BCD code is binary within the group, and it is decimal form group to group hence
this code is known as mixed base code.
Advantages: -1) It is very easy to convert any decimal into BCD number.
2) BCD numbers can be easily converted back to decimal numbers.
3) Keyboard required to enter the data is very simple and it has BCD encoder.
4) Display of decoder circuit is also very simple.
Disadvantages: - 1) BCD code is not suitable for computers and micro controllers.
2) BCD requires more numbers of bits compared to corresponding binary numbers.
3) Arithmetic circuits BCD numbers are very complicated.
(2) Excess 3 Code: - This is the next version of BCD code. The code for each decimal
digit is obtained by adding decimal number 3 to the natural BCD code of digit. It is not a
weighted code but a self-complimenting code.
(3) Grey Code: - The Grey code was invented by Frank Grey. It is a very useful code
in which decimal number is represented in binary form in such a way that each number
differs from preceding number and succeeding number. This code is also not weighted code
which is mostly used in optical shaft encoding. The Grey code cannot be used in arithmetic
circuits.
Decimal Binary BCD Excess-3 Grey
Number B4 B3 B2 B1 B0 D C B A E3 E2 E1 E0 G3 G2 G1 G0
0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0
1 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1
2 0 0 0 1 0 0 0 1 0 0 1 0 1 0 0 1 1
3 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 1 0
4 0 0 1 0 0 0 1 0 0 0 1 1 1 0 1 1 0
5 0 0 1 0 1 0 1 0 1 1 0 0 0 0 1 1 1
6 0 0 1 1 0 0 1 1 0 1 0 0 1 0 1 0 1
7 0 0 1 1 1 0 1 1 1 1 0 1 0 0 1 0 0
8 0 1 0 0 0 1 0 0 0 1 0 1 1 1 1 0 0
9 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 0 1
10 0 1 0 1 0 1 1 1 1
11 0 1 0 1 1 1 1 1 0
12 0 1 1 0 0 1 0 1 0
13 0 1 1 0 1 1 0 1 1
14 0 1 1 1 0 1 0 0 1
15 0 1 0 1 1 1 0 0 0
Conversion: -
A) BCD to Decimal Conversion: -The procedure for BCD to decimal conversion is
1) Write down the given BCD number accurately.
2) Make the group of four bits from LSB to MSB.
3) Write its decimal equivalent below each group.
4) Combine all numbers together to get equivalent decimal number.
Ex 1.17) Convert the following BCD numbers into Decimal number.
a) (1001 1000 0001) BCD = (?)10
Sol: - 1001 1000 0001
= 1001 1000 0001
9 8 1 = 981
(1001 1000 0001) BCD = (981)10
b) (111 1001 0110 1000) BCD = (?)10
Sol: - 111 1001 0110 1000
1.20
7 9 6 8 = 7968
(111 1001 0110 1000) BCD = (7968)10
c) (1001 1000 0111 1000 0111) BCD = (?)10
Sol: - 1001 1000 0111 1000 0111
= 1001 1000 0111 1000 0111
9 8 7 8 7 = 98787
(1001 1000 0111 1000 0111) BCD = (98787)10
d) (1000 0100 0111 0011 0010 0101) BCD = (?)10
Sol:- 1000 0100 0111 0011 0010 0101
= 1000 0100 0111 0011 0010 0101
8 4 7 3 2 5 = 847325
(1000 0100 0111 0011 0010 0101) BCD = (847325)10
B) Decimal to BCD Conversion: -The procedure for decimal to BCD conversion is
1) Write down the given decimal number accurately.
2) Below each digit write it binary equivalent in group of 4 bits (BCD No.).
3) Combine all binary digits together to get equivalent BCD no.
Ex 1.17) Convert the following Decimal numbers into BCD number.
a) (97648)10= (?)BCD
Sol: - 97648
= 9 7 6 4 8
X3 X2 X1 X0 X6 X5 X4
010 011 100 101 110 111
0000 SP 0 @ P p
0001 ! 1 A Q a q
0010 “ 2 B R b r
0011 # 3 C S c s
0100 $ 4 D T d t
0101 % 5 E U e u
0110 & 6 F V f v
0111 ‘ 7 G W g w
1000 ( 8 H X h x
1001 ) 9 I Y i y
1010 * : J Z j z
1011 + ; K [ k
1100 , < L \ l |
1101 - = M ] m
1110 . > N ^ n
1111 / ? O - o DEL
h) EBCDIC Code: - This also represents alphanumeric characters. This code is
used for the main frame computer. In the case of the main frame computer a large
number of characters and more special commands are required and for this
purpose 8-bit code is developed.
This code is Extended Binary Coded Decimal Interchange Code.
Format of this code is X7X6X5X4 X3X2X1X0
Character Code Character Code
A 11000001 0 11110000
B 11000010 1 11110001
C 11000011 2 11110010
D 11000100 3 11110011
E 11000101 4 11110100
F 11000110 5 11110101
G 11000111 6 11110110
H 11001000 7 11110111
I 11001001 8 11111000
J 11010001 9 11111001
K 11010010 blank 01000000
L 11010011 . 01001011
M 11010100 ( 01001101
N 11010101 + 01001110
O 11010110 $ 01011011
P 11010111 * 01011100
Q 11011000 ) 01011101
R 11011001 _ 01100000
S 11100010 / 01100001
T 11100011 , 01101011
U 11100100 = 01111110
V 11100101
W 11100110
X 11100111
Y 11101000
Z 11101001
For example, the following characters with 8-bit code are.
1) A = 1100 0001, 2) B = 1100 0010, 3) C = 1100 0011 4) Digit 1 = 1111 0001
1.22
1) What are different types of number systems? Define radix or base of number system.
(M 08)
2) What is Radix and Weight of number system? Give a suitable example. (M13)
3) Explain with suitable examples the binary to decimal conversion. (M-06, 11)
4) Explain with suitable examples the hexadecimal to decimal conversion. (M 07, 11)
5) Write note on a) BCD code, (b) ASCII code.
6) Write note on 1) ASCII code (2) EBCDIC code.
7) Write note on BCD code. State its advantages and disadvantages.
8) what is BCD code? Why is it called mixed weight code? (M 02, 03,09,10,12, O 04, 06, 07)
9) Explain double dabble method of conversion of decimal number into binary with suitable
examples.
10)What is double dabble method? How will you used to convert decimal numbers 671 and
152 into binary? (O 01,03,06,07,09, M 01,02,03,04,05,10,12)
11) Write rules for binary addition and subtraction. (O 09)
12) Explain 1’s compliment and 2’s compliment of binary number with example.
13) Explain 1`s compliment method of subtraction of binary number with suitable example.
(M 03, 10, 11, 12, O 01, 06, 09)
14) What is 2`s Compliment of Binary Number? Explain 2’s compliment subtraction method
with suitable example. (M 13)
15) Explain 2’s compliment subtraction method with suitable example.
16) Used 1’s and 2’s compliment method to perform following binary subtraction
a) 01101 – 11011, (b) 110011 – 100101 (M 04)
17) Subtract using 1’s compliment method
a) (1011)2 – (10101)2 = (?)2
b) (11100)2 – (110111)2 = (?)2
c) (11011)2 – (01001)2 = (?)2
d) (1101)2 – (1001)2 = (?)2
e) (11011)2 – (10101)2 = (?)2
f) (11010)2 – (00110)2 = (?)2
g) (100101)2 – (101111)2 = (?)2
h) (1010)2 – (101)2 = (?)2
i) (1101)2 – (1010)2 = (?)2
18) Perform the following subtraction using 2`s compliment.
a) (40) 16 - (64)16 = (?)16
b) (52)10- (65)10 = (?)2
c) (1101111)2 - (1101)2 = (?)2
d) (1011)2 - (11111)2 = (?)2
e) (11011)2 - (110)2 = (?)2
f) (11011)2 - (1110)2 = (?)2
g) (11011.1)2 - (10111.1)2 = (?)2
19) Convert the following.
a)(100) 10 = (?)16, (b) (DAD) 16 = (?)10, (c) (BCD) 16 = (?)2, (d) (10101.11) 2 = (?)10
20) (a) Encode the following decimal numbers into BCD numbers.
1) 649, (2) 71,465
(b) Decode the BCD number (1001 0110 0111 1000 0111 0011)
21) Convert the following decimal number into hexadecimal
(a) 2479, (b) 63,718
22) Convert the following.
(a) (2F•8)16 = (?)10, (b) (98•68)10 = (?)2
23) Solve the following. a) (7AB)16 = (?)10, (b)(1001 1000 0001)BCD = (?)10,
1.23