Home > Common Problem > What are the common units of data in computers?

What are the common units of data in computers?

Release: 2020-05-11 16:07:19
Original
24221 people have browsed it

What are the common units of data in computers?

Common units of data in computers:

Bits (bits): The smallest data unit of computers, each bit can only be 0 Or 1

byte (Byte): 8 binary numbers constitute a byte, which is the basic unit of storage space. One English letter occupies one byte. In different encoding sets, Chinese The occupancy is different. In GBK, one Chinese character occupies two bytes; in UTF-8, one Chinese character occupies 3 bytes.

KB: 1KB represents 1024 bytes

Note: The conversion between bytes and KB often appears in the question. Remember: 1KB = 1024 bytes

MB: is what we call megabytes in our daily life, and is usually roughly used in the calculation process. It is recorded as 1MB=10^6 (10 to the 6th power) bytes; it is actually 1024^2

The above is the detailed content of What are the common units of data in computers?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template