比较类似术语之间的差异

Difference Between

家 / Technology / IT / General /八位位和字节之间的差异

八位位和字节之间的差异

July 29, 2011Posted byIndika

Octet vs Byte

在计算中,有些是公司的基本单位mation. Simply, a bit can be seen as a variable that can take only one of the two possible values. These two possible values are ‘0’ and ‘1’ and interpreted as binary digits. The two possible values could also be interpreted as logical (Boolean) values, which are ‘true’ and ‘false’. Byte is another unit of information used in computing. In the history of computing, the unit byte has stood for representing various storage sizes (typically from 4 to 10 bits), because it is not considered a standardized unit. But, due to heavy use of the term byte to represent eight bits by several major computer architectures and production lines, byte slowly became associated with eight bits. Still, due to the earlier ambiguity, the term Octet was introduced as a standardized unit to represent eight bits. So, as of now, both Byte and Octet are used interchangeably to represent eight bits. Byte is also used as a data type in several programming languages such as C and C++.

What is an Octet?

Octet is an unit of information defined as consisting of eight bits. This is used in computing and telecommunications fields. The word Octet comes from the prefix octo (which means eight) that is found in Greek and Latin. The term Octet is often used in place of the term byte to represent eight bits. This is due to the fact, in the past, the byte was not considered as consisting of eight bits (and the size of byte was ambiguous). But at present, because byte is firmly associated with eight bits, the term byte and octet are used synonymously. However, in legacy systems, where the byte may refer to more or less than eight bits, the term octet is used to represent eight bits (instead of byte).

Various representations such as hexadecimal, decimal or octal number systems are used to express octets. For example, the value of the octet with all 1s is equal to FF an hexadecimal, 255 in decimal and 377 in octal. Very frequent use of octets arise in representing addresses in IP (Internet Protocol) computer network. Typically IPv4 addresses are depicted as four octets delimited by dots (full stops). For example, the representation of highest numbered address is 255.255.255.255 (using 4 octets with all 1s). In Abstract Syntax Notation used in telecommunications and computer networking, an octet string refers to an octet sequence of variable length. In French and Romanian languages, the ‘o’ (lowercase letter o) is the symbol used to represent the unit octet. It is also used with metric prefixes (e.g. ko for kilooctet, which means 1000 octets).

What is a Byte?

字节也是计算中使用的信息单元。一个字节等于八位。即使没有具体的原因是为字节选择八个位,但诸如使用八个位在计算机中编码字符的原因,以及在许多应用中表示八个或更少的位置来表示变量,在接受8个应用中起着作用8作为一个单元。用来表示字节的符号是IEEE 1541指定的资本“ B”。A字节可以表示为0到255的值。字节还用作几种编程语言(例如C和C ++)的数据类型。

What is the difference between an Octet and a Byte?

In computing, both Byte and Octet are units of information (which are equal to eight bits) that are often used synonymously. Although both represent eight bits (at present), octet is more preferred over byte in applications, where there may be an ambiguity about the size of the byte due to historical reasons (because byte is not a standardized unit and it was used to represent bits strings of different sizes ranging from 4 to10 in the past). Although byte is used in everyday use, the term octet is preferred within technical publications to mean eight bits. For example, RFC (Request for Comments) published by IETF (Internet Engineering Task Force) frequently use the term octet for describing sizes of protocol parameters of networks. In countries such as France, French Canada and Romania, octet is used even in the common language instead of the byte. For example, megaoctet (Mo) is often used in place of megabyte (MB).

Related posts:

位和字节之间的差异 MB和GB之间的差异 Mbps和Mbps之间的差异 Difference Between Bit and Baud Mbps和Kbps之间的差异

Filed Under:General标记为:Abstract Syntax Notation,binary digits,bit,bits,布尔值,byte,字节,data type,八位,IPv4地址,kilooctet,logical values,MB,Megabyte,巨型,Octet,octets,use of octets

About the Author:Indika

Indika, BSc.Eng, MSECE Computer Engineering, PhD. Computer Science, is an Assistant Professor and has research interests in the areas of Bioinformatics, Computational Biology, and Biomedical Natural Language Processing.

发表评论Cancel reply

Your email address will not be published.Required fields are marked*

请求文章

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

冠状病毒和流感的差异

冠状病毒和流感的差异

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between Idioms and Proverbs

Difference Between Idioms and Proverbs

Difference Between Anthem and Song

Difference Between Feminism and Gender Equality

Difference Between Feminism and Gender Equality

微发展和宏观进化之间的差异

微发展和宏观进化之间的差异

Difference Between Butane and Butene

Difference Between Butane and Butene

Latest Posts

  • 功能和性能成分之间有什么区别
  • What is the Difference Between Intracerebral Hemorrhage and Subarachnoid Hemorrhage
  • 氯化苯甲酸盐和甲硫酸苯二硫酸盐的区别是什么
  • What is the Difference Between Systolic and Diastolic Dysfunction
  • What is the Difference Between Care and Concern
  • Ehlers Danlos和Marfan综合征有什么区别
  • 家
  • Vacancies
  • About
  • 请求文章
  • 联系我们

Copyright © 2010-2018Difference Between. All rights reserved.Terms of Use和隐私政策:Legal.