バイナリ - Binary
Binary
The term binary comes from the Latin word binarius, meaning "consisting of two." In computing, it refers to any system or representation that is based on two possible values, typically 0 and 1. These values form the foundation of all digital information and processing.
Binary can describe many things: a binary number (e.g., 1011
), a binary file (not intended for human reading), or binary logic (true/false). What they all share is their reliance on two discrete states, which is ideal for electronic devices that can easily distinguish between low and high voltage.
Importantly, while all digital files are technically stored as sequences of 0s and 1s, the term “binary” is often used to contrast with human-readable text files. In practice, a binary file refers to a file whose contents are not structured as readable characters, but as raw data interpreted by programs.
バイナリ
**バイナリ(binary)**という言葉は、ラテン語の binarius(2つからなる)に由来します。コンピュータにおいては、0と1の2つの値を基盤とした表現形式やシステムを指します。この0と1の組み合わせが、すべてのデジタル情報や処理の基本となっています。
「バイナリ」はさまざまな文脈で使われます。たとえば、2進数(例:1011
)、バイナリファイル(人間が読めない形式のファイル)、バイナリ論理(true/false)などです。これらに共通するのは、2つの明確に区別できる状態に基づいているという点であり、電圧の高低で信号を扱う電子機器に非常に適しています。
重要なのは、すべてのデジタルファイルが本質的には0と1で構成されている一方で、「バイナリファイル」という言葉は通常「人間が読めるテキストファイル」との対比で使われるということです。つまり、バイナリファイルとは、文字ではなく、プログラムが意味づけするデータが格納されたファイルのことを指します。
重要表現
Binary
バイナリ
2つの状態(0と1)に基づく表現方式。すべてのデジタルデータの基礎であり、電子機器で扱いやすい。
Binary Number
2進数
10進数に対して、0と1の2つの数字だけで構成された数。例:1011
= 11。
Binary File
バイナリファイル
人間が読める文字ではなく、プログラムが解釈するデータで構成されたファイル。画像・実行ファイルなど。
Binary Logic
バイナリ論理
true/false、on/off のように、論理を2値で表現する形式。コンピュータの基本的な判断構造。
Text File
テキストファイル
人間が読める文字列がバイト列として保存されたファイル。バイナリファイルとの対比で使われる。