Binary is a system of numbers that uses only two digits: 0 and 1. It’s the language that computers understand and use to process all information. Unlike the decimal system (which is base-10 and uses digits from 0 to 9), the binary system is base-2. Each binary digit is called a bit, and combinations of bits can represent numbers, letters, instructions, or anything a computer needs to handle.
In binary:
-
The digit 0 usually represents "off" or "false"
-
The digit 1 represents "on" or "true"
Computers use binary because their internal circuits have two states — on and off — which perfectly match the two symbols of binary.
For example:
-
Decimal 1 = Binary 0001
-
Decimal 2 = Binary 0010
-
Decimal 3 = Binary 0011
-
Decimal 4 = Binary 0100
Binary also encodes text using systems like ASCII, where each letter or symbol is assigned a binary number.
Here is a message in binary:
01010111 01101000 01100001 01110100 00100000 01101001 01110011 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00111111
translates: "What is binary?"
Seems less efficient that decimals or english?
You can decode this string of 1s and 0s by copy/paste in the Binary to Text converter:
https://www.rapidtables.com/convert/number/binary-to-ascii.html
No comments:
Post a Comment