Number System
Number System
CONVERSION
Bernie Bathan
Number System
Number System are the technique to
represent numbers in the computer
system architecture, every value that you
are saving or getting into/ from computer
memory has a defined number system.
COMPUTER ARCHITECTURE
SUPPORTS FOLLOWING
NUMBER SYSTEMS
Binary 3086 / 2
1545 / 2
0
1
771 / 2 1
385 / 2 1
Given: 12345 192 / 2 0 1100000111001
96 / 2 0
48 / 2 0
24 / 2 0
12 / 2 0
6/2 0
3/1 1
1/1 1
Remainder Results
Decimal to 12345 / 8 1
Octal 1543 / 8 7
30071
192 / 8 0
Given: 12345 24 / 8 0
3/8 3
Given: 12345
Remainder Results
DECIMAL TO
12345 / 16 9
771 / 16 3
3039
HEXADECIM 48 / 16
3 / 16
0
3
AL A
10
Given: 725
11 B
Remainder Results
12 C 725 / 16 5
13 D 2D5
45 / 16 13
14 E 2 / 16 2
15 F
01
CONVERSION
BINARY TO OTHER
Remainder Results
Binary to 1x1 1
Decimal
0x2 0
0x4 0
1x8 8
217
1 x 16 16
Given: 11011001
0 x 32 0
1 x 64 64
1 x 128 128
binary octal
Binary to 000
001
0
1
Octal 010
011
2
3
100 4
Given: 011 100 101 101 5
110 6
answer: 345 111 7
hexadecimal binary hexadecimal binary
0000 0 1011 B
Binary to 0001 1 1100 C
0010 2 1101 D
0011 3 1110 E
Hexadecimal 0100
0101
4
5
1111 F
Octal to 000
001
0
1
Binary 010
011
2
3
100 4
Given: 345 101 5
110 6
answer: 011 100 101 111 7
binary Hexadecimal
0000 0
Octal to 0001
0010
1
2 binary Hexadecimal
Hexadecimal 0011
0100
3
4
1101 D
1110 E
0101 5 1111 F
Given: 345 0110 6
answer: 1110 0101 0111 7
E 5 1000 8
1001 9
1010 A
1011 B
1100 C
Octal to Decimal
● Given:
● Solution:
○ (3 x ) + (4 X ) + (5 X )
○ (3 X 64) + (4 X 8) + (5 X 1)
○ 192 + 32 + 5
01
CONVERSION
HEXADECIMAL TO OTHER
HEXADECIMAL TO BINARY
HEXADECIMAL BINARY HEXADECIMAL BINARY
0 0000 8 1000
1 0001 9 1001
2 0010 A 1010
3 0011 B 1011
4 0100 C 1100
5 0101 D 1101
6 0110 E 1110
7 0111 F 1111
EXAMPLE
A2DE
ANS: 10100010111011110
HEXADECIMAL TO OCTAL
● EX. 6C
● 1ST CONVERT INTO BINARY
○ 01101100
● 2ND CONVERT INTO OCTAL
○ 1 5 4
HEXADECIMAL INTO DECIMAL
● EX. 3B
○ (3 X ) + ()
○ 48 + 11
TABLE OF CONTENTS
INTRODUCTION REQUIREMENTS
01 You can describe the topic of
the section here
02 You can describe the topic of
the section here