Difference between revisions of "Binary"
(New page: Binary stands for base 2. It is commonly used in computing for its relative ease of computation and the ease of using ON - OFF states in computers. {{stub}}) |
|||
Line 1: | Line 1: | ||
− | Binary stands for [[base]] 2. It is commonly used in computing for its relative ease of computation and the ease of using ON - OFF states in computers. | + | Binary stands for [[base numbers|base]] 2. It is commonly used in computing for its relative ease of computation and the ease of using ON - OFF states in computers. |
+ | |||
+ | |||
+ | |||
+ | {|class="wikitable" | ||
+ | |- | ||
+ | ! Power of two !! Number in base 10 !! Binary representation | ||
+ | |- | ||
+ | | <math>2^1</math>|| 2|| 10 | ||
+ | |- | ||
+ | | <math>2^2</math>|| 4|| 100 | ||
+ | |- | ||
+ | | <math>2^3</math>|| 8|| 1000 | ||
+ | |- | ||
+ | | <math>2^4</math>|| 16|| 10000 | ||
+ | |- | ||
+ | | <math>2^5</math>|| 32|| 100000 | ||
+ | |- | ||
+ | | <math>2^6</math>|| 64|| 1000000 | ||
+ | |- | ||
+ | | <math>2^7</math>|| 128 || 10000000 | ||
+ | |-} | ||
+ | In computers, each [[byte]] usually holds 8 [[bit|bits]], or binary digits. Thus a single byte can hole a value ranging from 0 to 255. | ||
+ | |||
+ | |||
+ | |||
+ | |||
{{stub}} | {{stub}} |
Revision as of 16:15, 9 March 2014
Binary stands for base 2. It is commonly used in computing for its relative ease of computation and the ease of using ON - OFF states in computers.
Power of two | Number in base 10 | Binary representation |
---|---|---|
2 | 10 | |
4 | 100 | |
8 | 1000 | |
16 | 10000 | |
32 | 100000 | |
64 | 1000000 | |
128 | 10000000 |