We explain what a bit is, what its different uses are and the methods in which this computer unit can be calculated.
What is a bit?
In computing it is called a bit (English acronym for Binary digitalthat is, “binary digit”) to a value of the binary number system. This system is called that because it comprises only two base values: 1 and 0, with which an infinite number of binary conditions can be represented: on and off, true and false, present and absent, etc.
A bit is then the minimum unit of information used by computing whose systems are all based on said binary code. Each bit of information represents a specific value: 1 or 0, but by combining different bits many more combinations can be obtained, for example:
2-bit model (4 combinations):
00 – Both off
01 – First off, second on
10 – First on, second off
11 – Both on
With these two units we can represent four point values. Now suppose we have 8 bits (an octet), equivalent in some systems to a byte: you get 256 different values.
In this way, the binary system operates paying attention to the value of the bit (1 or 0) and its position in the represented chain: if it is on and appears in a position to the left, its value is doubled, and if it appears to the right, it is cut in half. For example:
To represent the number 20 in binary
Binary value net: 10100
Numerical value per position:168421
Result:16 +0 +4 +0 + 0 = 20
Another example: to represent the number 2.75 in binary, assuming the reference in the middle of the figure:
Binary value net: 01011
Numerical value per position:4210,50,25
Result:0 +2 +0 +0.5 + 0.25 = 2,75
Bits with a value of 0 (off) are not counted, only those with a value of 1 (on) and their numerical equivalent is given based on their position in the string, thus forming a representation mechanism that will later be applied to alphanumeric characters ( called ASCII).
In this way, the operations of the computer microprocessors are recorded: there can be 4, 8, 16, 32 and 64 bit architectures. This means that the microprocessor manages that internal number of registers, that is, the calculation capacity that the Arithmetic-Logic Unit has.
For example, the first x86 series computers (the Intel 8086 and the Intel 8088) had 16-bit processors, and the noticeable difference between their speeds had to do not so much with their processing capacity, but with the additional help of a 16 and 8 bit bus respectively.
Similarly, bits are used to measure the storage capacity of a digital memory.
See also: HTML