Storage unit is a unit of measurement. Refers to using a specific quantity or standard as a recording (counting) point in a certain field. Then define another point as a multiple of this point, and the pronoun of this point is the counting unit or storage unit. For example, the load capacity of a truck is tons, which is the amount of goods that the truck can store. Ton is its unit quantifier.
The binary sequence is used to represent the dimension of computer and electronic information data capacity. The basic unit is byte B, and the bytes upward are KB, MB, GB, and TB. Each level is 1024 times the previous level, for example, 1KB=1024B, 1M=1024KB. (Recommended learning: PHP video tutorial)
The conversion rate is approximately equal to 1000 (1024), and the order from large to small is T, GB, MB (megabytes), KB, B and then smaller That's it.
1TB=1024GB 1GB=1024MB 1MB=1024KB 1KB=1024B 1B=8b
Computer storage units generally use bit, B, KB, MB, GB, TB, PB, EB, ZB, YB, BB, NB, DB... to represent, the relationship between them is:
bit (Binary Digits): stores a binary number, that is, 0 or 1, the smallest storage unit . [English abbreviation: b (fixed lowercase)]
Byte byte: 8 binary bits are one byte (B), the most commonly used unit.
I believe you have seen the above conversion, but when it comes to storage capacity units, you will naturally think of how many GB your hard drive has and how many MB your memory has. We understand. Byte (B) is the smallest unit that represents the meaning of information in a computer. Normally, an ACSII code is stored in one byte of space. In fact, there are smaller units in computers than bytes, because a byte is composed of eight binary bits. In other words, the space occupied by each binary bit is the smallest unit in the computer. We refer to It is called a bit, also called a bit. It can be seen that one byte is equal to eight bits. The reason why people call bytes the smallest unit that represents the meaning of information in computers is because one bit cannot represent a relatively complete piece of information in our real life.
Conversion rate
Explain why the rate of computer storage units is 1024 instead of 1000.
Currently, computers are all binary. Let them calculate units. Only integer powers of 2 can be very convenient for computer calculations, because the circuit inside the computer works in two states: high level and low level. So use Binary to represent signals (control signals and data) so that computers can recognize them. People are accustomed to using base 10, so memory manufacturers use 1000 as the base 10 system. The consequence of this is that the actual capacity is less than the nominal capacity, but this is legal. 1024 is 2 raised to the 10th power, because if it is taken larger, it will not be close to the integer power of 10, which is inconvenient for people to calculate; if it is taken small, the progress rate is too low, and more units are needed to meet the demand, so 2 raised 10 times The square is just right.
Calculation example: The actual capacity of a nominal 100GB hard drive is 100×1000×1000×1000 bytes/1024×1024×1024≈93.1GB
It can be seen that the product capacity shrinks as long as it meets the calculation requirements The actual capacity result (the upper and lower error should be within 10%), what you bought is genuine and you have not been cheated.
For more PHP related technical articles, please visit the PHP Graphic Tutorial column to learn!
The above is the detailed content of In computer hardware technology, the smallest unit that constitutes memory is. For more information, please follow other related articles on the PHP Chinese website!