The basic unit of computer memory capacity is bytes. Byte is a unit of measurement used by computer information technology to measure storage capacity. It also represents data types and language characters in some computer programming languages. One byte stores an 8-bit unsigned number, and the stored value range is 0-255.
#The operating environment of this article: windows10 system, thinkpad t480 computer.
Detailed introduction:
Byte (Byte) is a unit of measurement used by computer information technology to measure storage capacity. It also represents data types and language characters in some computer programming languages.
One byte stores an 8-bit unsigned number, and the stored value range is 0-255. Like characters, byte type variables only require one byte (8 bits) of memory space to store.
Related units:
B and bit
Data storage is in "byte" (Byte), and data transmission is mostly in "bit" ( bit, also known as "bit"), a bit represents a 0 or 1 (ie binary), every 8 bits (bit, abbreviated as b) constitute a byte (Byte, abbreviated as B), which is the smallest one level information unit.
Word
In a computer, a string of numbers that are processed or calculated as a whole is called a computer word, or word for short. Words are usually divided into bytes (each byte is usually 8 bits). In memory, each cell typically stores one word. Therefore each word is addressable. The length of a word is expressed in bits.
Word length
The number of bits contained in each word of a computer is called the word length. The calculated word length refers to the number of binary digits it can process at one time. Generally, the word length of large computers is 32-64 bits, that of small computers is 12-32 bits, and that of microcomputers is 4-16 bits. Word length is an important factor in measuring computer performance.
For more related knowledge, please visit theFAQcolumn!
The above is the detailed content of What is the basic unit of computer memory capacity?. For more information, please follow other related articles on the PHP Chinese website!