search
HomeCommon ProblemWhy is a byte 8 bits?

Why is a byte 8 bits?

Feb 24, 2021 pm 04:37 PM
byte

The reason why one byte is 8 bits: Because it is 128 characters, the 128th is 100000000, [System/360] laid the foundation for the character storage unit to use 8 bits in length, this is [1 byte = 8-bit] origin.

Why is a byte 8 bits?

#The operating environment of this article: Windows 7 system, Dell G3 computer.

Because it is 128 characters, the 128th is 100000000.

About bytes:

1. The original meaning is to represent a complete character. The initial computer performance and storage capacity were relatively poor, so 4-bit BCD encoding was commonly used (this encoding appeared earlier than computers and was first used on punched cards).

2. System/360 laid the foundation for the character storage unit to be 8-bit in length. This is the origin of 1 byte = 8 bits.

3. Computers use binary to store information. This is determined by the laws of nature. It is estimated that only quantum computers can break through this limitation. Therefore, the smallest unit of information in the computer is preferably 2, 4, Bytes such as 8, 16, 32, and 64 are convenient for calculations, writing, and statistics in computers.

Others:

1. The word Byte indicates how many bits are needed to encode a character. However, in the 1960s, IBM's System/360 used EBCDIC encoding, and the ASCII encoding standard was also established at that time. Although the two standards are different, they both use 8 bits to represent a character. These two standards are widely used, so until now There is no ambiguity in a byte, which is 8 bits.

2. 1B(Byte)=8b(bit);

1KB=1024B;

1MB=1024KB;

1GB=1024MB.

Related free learning recommendations: php programming (video)

The above is the detailed content of Why is a byte 8 bits?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool