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

Number Systems_part3

The document provides a guide on converting between binary, octal, and hexadecimal number systems using direct conversion methods. It includes examples of binary to octal, octal to binary, binary to hexadecimal, hexadecimal to binary, and octal to hexadecimal conversions. The document emphasizes the use of 3-bit groups for conversions and includes weight values for each digit position.

Uploaded by

Mohamed Ayman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Number Systems_part3

The document provides a guide on converting between binary, octal, and hexadecimal number systems using direct conversion methods. It includes examples of binary to octal, octal to binary, binary to hexadecimal, hexadecimal to binary, and octal to hexadecimal conversions. The document emphasizes the use of 3-bit groups for conversions and includes weight values for each digit position.

Uploaded by

Mohamed Ayman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

( )2 (3) ( ) = 0 : 7

8
From Binary System to Octal system and vice versa
Direct Conversion between
Binary < - > Octal ( 3 bits )

16 8 4 2 1 ( Weight)
...... 32
3 2 1 0
2 2 2 2
= 13)
1 1 0 1 10
8 4 2 1
3
1 0 0 1 >>>> (1 * 2 ) + .......
8

8 4 2 1
4 2 1 =
1 1 1 0
0 0 0 0 (14 )
10
1 0 0 1
1 0 0 1 1 1 = 7
2 0
0:7
0 1 1 3 bits
3
4 1 0 0
5 1 0 1
6 1 1 0

7 1 1 1
 Binary to Octal
421421421 421 421
( 1001101.1011 )2 = ( ? )8 ( 3 bits) 421
integer fraction

1 1 5 4
. 5

= 115 . 54 )
8

 Octal to Binary
( 7 4 3 1.6 4 0 )8 = ( ?)2 ( 3 bits) 4 2 1

0= 0 0 0
4= 1 0 0
000 6= 1 1 0
100 1= 0 0 1
111 100 . 110
011 001
3= 0 1 1
7= 1 1 1
111100011001 . 110 100 000)
2
(4)
From Binary System to Hexadecimal system and vice versa
Direct conversion between 0 ...9 F = 15
A 10 Binary < - > Hexadecimal A B C D E F
B 11
C 12
D 13 16 8 4 2 1
E 14  Binary to Hexadecimal 1 1 1 1 = 15
F 15 8 4 2 1 8 4 2 1 8 4 2 1 8421
( 111010.11011 )2 = ( ? )16 4 Bits

.
13 8
3 10
D
A
3 A . D 8)
16

 Hexadecimal to Binary A 10
B 11
8 4 2 1 ( 3 B C . 2 E )16 = (?)2 C 12
. D 13
3=0 0 1 1 E 14
1110 F 15
B=1 0 1 1 0011
1011 0010
C=1 1 0 0
1100
2= 0 0 1 0
14 = 1 1 10
( 0011 1011 1100 . 0010 1110)
2
0 ... 9
A 10
8 4 2 1 B 11
( 4 F A 9 . 1 7 B )16 = ( ?)2
C 12
4= 0 1 0 0
D 13
15 E 14
15= 1 1 1 1 0100 1011
1001 0111 F 15
1111
10= 1 0 1 0 1010 0001

9=1 0 0 1
(0100 1111 1010 1001 . 0001 0111 1011)
1=0 0 01 2
11 = 1 0 11

(5) From Octal System to Hexadecimal system and vice versa

4 2 1
( 3 7 5 . 2 3 1 )8 = ( ? )16

011
111 101 010 011 001

8 4 2 18 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1
011111101.010011001

15 13
12
0 F D . 4
C 8

( 0 F D . 4 C 8)
16

You might also like