Professional Documents
Culture Documents
Date : 25 / 05 /2023
Computer Number Systems
Some important number systems are as follows:
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
Decimal Hexadecimal 4-Bit Binary
number value
8 4 2 1
0 0 0000
1 1 0001
2 2 0010
3 3 0011
4 4 0100
5 5 0101
6 6 0110
7 7 0111
8 8 1000
9 9 1001
10 A 1010
11 B 1011
12 C 1100
13 D 1101
14 E 1110
15 F 1111
Binary to hexadecimal conversion
0111 1101.1011
01 111 101.101 1
1 7 5.5 4
7D.B16 = 175.548
Binary Addition
Therefore in binary:
0+0=0
0+1=1
1+0=1
1 + 1 = 10 (which is 0 carry 1)
Binary Addition
Solution:
0+0=0
0+1=1
1+0=1
1 + 1 = 10 (which is 0 carry 1)
Binary Subtraction
0-0=0
1-0=1
1-1=0
0 - 1 = 1 with a borrow of 1
Binary Subtraction
Example: 101100 - 11010 = ………
Solution:
0-0=0
1-0=1
1-1=0
0 - 1 = 1 with a borrow of 1
Questions?