0% found this document useful (0 votes)
13 views

Notes Number System

Uploaded by

Amit Kumar Jha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Notes Number System

Uploaded by

Amit Kumar Jha
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Number System Digits Base

Binary System 0-1 2


Decimal System 0-9 10
Octal System 0-7 8
Hexadecimal System 0-15 16
(0-9)
10 – A
11-B
12-C
13-D
14-E
15-F

(76)10 = (1001100)2

2 76
2 38 0
2 19 0
2 9 1
2 4 1
2 2 0
1 0

(234)10 = (11101010)2

2 234
2 117 0
2 58 1
2 29 0
2 14 1
2 7 0
2 3 1
1 1
(35.125)10 = (100011.001)2

2 35 0.125*2 = 0.250 0
2 17 1 0.25*2 = 0.5 0
2 8 1 0.5*2=1.0 1
2 4 0
2 2 0
1 0

(74.03125)10 =(1001010.00001)2

2 74 0.03125*2 = 0.0625 0
2 37 0 0.0625*2= 0.125 0
2 18 1 0.125*2= 0.25 0
2 9 0 0.25*2= 0.5 0
2 4 1 0.5*2=1.0 1
2 2 0
1 0

(0.2)10=(0.00110)2

0.2 *2 =0.4 0
0.4*2 = 0.8 0
0.8*2= 1.6 1
0.6*2=1.2 1
0.2*2=0.4 0

1. (235.3)10= ()2
2. (365.125)10= ()2
3. (514.675)10= ()2
4. (110.75)10= ()2
5. (125.3125)10= ()2
Decimal to Octal:
(89)10 = (131)8
8 89
8 11 1
1 3

(125.7)10 = (175.546314)8
8 125 0.7 * 8 = 5.6 5
8 15 5 0.6 * 8 = 4.8 4
1 7 0.8 * 8 = 6.4 6
0.4 * 8 = 3.2 3
0.2 * 8 = 1.6 1
0.6 * 8 = 4.8 4

(281.675)10 = (431.531463)8

Decimal to Hexadecimal:
(91)10 = (5B)16

16 91
5 11 (B)

(109.8)10 = (6D.CC)16
16 109 0.8 * 16 = 12.8 12(C )
6 13(D) 0.8 * 16 = 12.8 12 ( C )

Position Scale

-3 -4
4 3 2 1 0
. -1 -2

Digit * Base Position


Binary to Decimal

(10010)2 = (18)10

1 0 0 1 0
4 3 2 1 0

1*24 +0*23 + 0*22 +1*21 +0*20

1*16 + 0+ 0+1*2+0

18

(10010.101)2 = (18.625)10

1 0 0 1 0 . 1 0 1
4 3 2 1 0 -1 -2 -3

1*24 +0*23 + 0*22 +1*21 +0*20 + 1*2-1 + 0 *2-2 +1*2-3

[ 2-1 =1/2 =0.5 , 2-2 = 1/22 = ¼ =0.25 , 2-3 = 1/23 = 1/8 =0.125]

16+0+0+2+0+ 0.5+0+0.125= 18.625

(11101101)2 = (237)10
1*27 + 1*26 +1*25 +0 + 1*23 +1*22 + 0+ 1*20

(111000101.111)2 = (453.875)10
(1000101.1011)2 = (69.6875)10
Octal to Decimal

(678)8= ()10

(564)8 = (372)10

5*82 +6*81 + 4*80

(32.4)8 = (26.5)10

(432.76)8 = (282.96875)10

282.96875

256+24+2+ 0.875+0.09375

7*8-1 = 7/8 = 0.875 3125*3 = 9375

6*8-2 =6/64= 3/32= 0.09375

Hexadecimal to Decimal

(A67)16 = (2663)10

A*162 + 6*161 + 7*160

10*162 + 6*161 + 7*160

10*256 +6*16 +7*1

(BE9.84)16 = ()10

3049.515625
Binary to octal

Digits 22 = 4 21=2 20 =1
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1

(001000001011)2 = (1013)8
(100011101.111101100)2 = (435.754)8
(001110110101.110101010)2 = (1665.652)8
Octal To Binary
(765)8 = (111110101)2
(712.3456)8 = (111001010.011100101110)2
Binary to Hexadecimal

Digits 23 =8 22 =4 21 =2 20 =1
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10(A) 1 0 1 0
11(B) 1 0 1 1
12(C) 1 1 0 0
13(D) 1 1 0 1
14(E) 1 1 1 0
15(F) 1 1 1 1

(0010110101010101.0111101010101000)2
=(2D55.7AA8)16

(111111001101.101110111000)2=(FCD.BB8)16
Hexadecimal to Binary

(EBA7.89CF)16 =
(1110101110100111.1000100111001111)2
Octal to Hexadecimal

(765)8 = (000111110101)2 =(1F5)16


(43.765)8 = (00100011.111110101000 )2 =
(23.FA8)16
Hexadecimal to Octal

(A98)16 =( 101010011000)2 = (5230)8

You might also like