## Overview#

Binary (Base-2) is a Positional notation number system and typically a Data type and a Data representationSpecific details of the Data type Binary are context dependent.

### Binary Numbers#

Binary numbers with only one bit set is easy to understand:

Binary Representation | Decimal value |
---|---|

00000000000000000000000000000001 | 1 |

00000000000000000000000000000010 | 2 |

00000000000000000000000000000100 | 4 |

00000000000000000000000000001000 | 8 |

00000000000000000000000000010000 | 16 |

00000000000000000000000000100000 | 32 |

00000000000000000000000001000000 | 64 |

### Binary and Computers [1]#

When we write what is stored in a computer on paper, we normally use “0” for one of the states, and “1” for the other state. For example, a piece of computer memory could have the following voltages:low low high low high high high high low high low lowWe could allocate “0” to “low” (or False), and “1” to “high” (or True) and write this sequence down as:

0 0 1 0 1 1 1 1 0 1 0 0While this notation is used extensively, and you may often hear the data being referred to as being “0’s and 1’s”, it is important to remember that a computer does not store 0’s and 1’s; it has no way of doing this. They are just using physical mechanisms such as "high" and "low" voltage, north or south polarity, and light or dark materials.

### Converting Decimal to Binary#

JavaScript Examplefunction dec2bin(dec){ return (dec >>> 0).toString(2); }

### Converting [{$pagename}] to Decimal#

JavaScript Examplefunction bin2dec(bin){ return parseInt(bin, 2).toString(10); }

### More Information#

There might be more information for this subject on one of the following:- ASCII Table
- Access Control Engine
- Activation Function
- Base-2
- Base64
- Bit
- Bitmask
- Bitwise AND
- Bitwise NOT
- Bitwise XOR
- Bitwise operation
- Block Cipher Mode
- Byte
- Certificate
- Certificate File Formats
- Classification
- Classification Trees
- Classification and Regression Trees
- DNWithOctetString
- Data Scraping
- Data representation
- DirXML-DriverFilter
- Fixed-point
- Floating-point
- Google Remote Procedure Call
- IEEE 754
- IMessage
- LDAP_MATCHING_RULE_DN_WITH_DATA
- LDAP_SERVER_EXTENDED_DN_OID
- Logistic Regression
- Matrix multiplication
- Media-type
- Microsoft Active Directory Syntax
- NspmComplexityRules
- ObjectSID
- Octal
- Octet
- Perceptron
- Qbit
- RS-232
- Relative IDentifier
- SCIM Data Types
- Security Descriptor
- Strength of Function for Authenticators - Biometrics
- Temp
- Web Blog_blogentry_301018_1
- X-NOT-HUMAN-READABLE
- X.121
- Z-Wave
- Zero Trust

- [#1] - Data Representation - based on information obtained 2018-09-17-