Bit means "bit" or "bit", which is the basis of computer operation and belongs to the areas of binary system.
byte meaning is "bytes", is the computer file size basic unit of calculation;
The two applications are different. Bit is usually used as the unit of data transmission, because the physical layer, the data link layer transmission is transparent to the user, and this communication transmission is based on binary transmission. In the application tier, it is usually a byte to indicate the size of the file, which, in the view of the user, is the visible size of the data. For example, a character is 1byte, if it is a Chinese character, it is 2byte.
Here are 2 examples of specific applications:
Mbps=mega bits per second (Mega bit/sec) is the rate unit,
Mb=mega bytes (megabytes, megabytes) is the unit of measure, 1mb/s (Megabytes/sec) =8mbps (megabits/sec).
We call the hard disk capacity of 40GB, 80GB, 100GB, where B refers to the byte is "byte". (in relation to capacity, application layer)
1 bit = 12 data
1 byte = 8 bit
1 letter = 1 byte = 8 bit
1 Chinese characters = 2 byte = bit
1byte=8bit=1 bytes
1 words = 2 bytes
1. Bit: bit
A binary data of 0 or 1, which is 1bit;
2. Byte: Byte
The basic unit of measurement of storage space, such as: the definition of VARCHAR (45) in MySQL means 45 bytes;
1 byte = 8 bit1. bit: bit
A binary data of 0 or 1, which is 1bit;
1 KB = 1024 bytes =2^10 bytes
1 MB = 1024 KB = 2^20 bytes
1 GB = 1024 MB = 2^30 bytes
The USB2.0 standard interface transfer rate is 480 megabits per second, or 480MBps. Here the B refers to the bit which is "bit". (associated with transport, bottom)
Note: In addition, Byte is usually abbreviated to B (uppercase), while bit is usually abbreviated to B (lowercase). Can be so memory, with uppercase is the data value is relatively large bit, and the small print is the data value of smaller bytes, 1b=8b.
Bit: In digital circuits and computer technology, binary, code only "0" and "1", which either "0" or "1" in the CPU is a "bit."
Word length: The number of digits in the computer technology that the CPU can process at one time (at the same time) is called word length. So the CPU that can handle 8 bits of data is usually called a 8-bit CPU. Similarly, 32-bit CPUs can handle binary data with a word size of 32 bits per unit time.
The difference between byte and word length: Since the commonly used English characters are represented by 8-bit binaries, 8 bits are usually called a byte. Length of Word is not fixed, for different CPU, word length is not the same. A 8-bit CPU can process only one byte at a time, while a 32-bit CPU can handle 4 bytes at a time, and the same-word 64-bit CPU handles 8 bytes at a time.