Number system & conversation the number


Number system:_

The technique to represent and work with numbers is called number system.
 
Types of Number system:

There are different types of number system such as binary number system, octal number system, hexadecimal number system, decimal number system.etc.Decimal number system is the most common number system.

Base of Number system:
Number systemBase of Number System
Decimal Base10
HexadecimalBase16
BinaryBase 2
OctalBase 8

Decimal Number system:
Decimal number system is a base 10 number system having 10 digits from 0 to 9.


We generally use the decimal place-value number system. In this system, we have

235 = (2 * 100) + (3 * 10) + (5 * 1) = (2 * 10^2) + (3 * 10^1) + (5 * 10^0)

The weightage of each position can be represented as follows −

Decimal Number System

Binary Number system:
Binary describes a numbering scheme in which there are only two possible values for each digit: 0 and 1.the 0 and 1 values are sometimes called "low" and "high," respectively
Where each digit has a value expressed in powers of 2, as displayed here.
Binary Number System

110102 = 1×2+ 1×23 + 0×22 + 1×21 + 0×20

= 16 + 8 + 0 + 2 + 0

= 2610



Atleast Remember this 2^n, this help ful to you to convert binary to any another format.this also help you for convert IP address.

Number 2^n :
20
Calculations
1
212
224
238
2416
2532
2664
27128
28256
29512
2101024
2112048
2124096
2138192
21416,384
21532,768
21665,536


Octal Number System

Octal number system has eight digits – 0, 1, 2, 3, 4, 5, 6 and 7. Octal number system is also a positional value system with where each digit has its value expressed in powers of 8, as shown here −

Octal Number System

Hexadecimal Number System

Octal number system has 16 symbols – 0 to 9 and A to F where A is equal to 10, B is equal to 11 and so on till F. Hexadecimal number system is also a positional value system with where each digit has its value expressed in powers of 16, as shown here −

Hexa Number System

Number System Relationship

The following table depicts the relationship between decimal, binary, octal and hexadecimal number systems.

HEXADECIMALDECIMALOCTALBINARY
0000000
1110001
2220010
3330011
4440100
5550101
6660110
7770111
88101000
99111001
A10121010
B11131011
C12141100
D13151101
E14161110
F15171111


Comments