Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - There are several bytes in the computer to store a 7-bit.
There are several bytes in the computer to store a 7-bit.
In a computer, a byte usually consists of 8 binary bits. A 7-bit binary number can be represented by the upper 7 bits of a byte in a computer, which means that only one byte is needed to store a 7-bit binary number.

Therefore, a 7-bit binary number is stored in the computer with 1 byte. If you want to store multiple seven-bit binary numbers, you can use multiple bytes to represent them. But if you only need to store 7-bit binary numbers, you can directly store them in one byte, which is an optimization scheme in computer design!