Number systems and conversions
導入済み
15:06
コンピュータが二進数を使う理由
プロセッサの中には数十億の微小なスイッチがあります。それぞれはオンかオフかのいずれかしかできません。これがコンピュータの物理的な全てです—三も七もありません…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| computer/kəmˈpjuːtə/ | |
| binary/ˈbaɪnəri/ | 二进制 |
| base/beɪs/ | 基数 |
| data/ˈdeɪtə/ | Recorded facts, observations or values used for analysis or processing. |
| number systems | |
| microprocessor/ˌmaɪkrəʊˈprəʊsesə/ | A processor implemented on an integrated circuit; in an automated system it processes sensor readings and controls outputs. |
| transistors/trænˈzɪstəz/ | |
| switch/swɪtʃ/ | |
| Digits/ˈdɪdʒɪts/ | |
| denary/ˈdiːnəri/ | 十进制 |
| hexadecimal/ˌheksəˈdesɪml/ | 十六进制 |
| bit/bɪt/ | ビット |
| 8 bits = 1 byte | |
| 4 bits = 1 nibble | |
| place value/pleɪs ˈvæljuː/ | 位値 |
| carry/ˈkæri/ | A digit passed to the next place value when a calculation exceeds the current digit position's base. |
| nibble/ˈnɪbl/ | 半バイト |
| MAC/IPv6 addresses | |
| HTML colours | |
| memory addresses/ˈmeməri əˈdresɪz/ | |
| byte/baɪt/ | バイト |
| powers |
コンピュータがバイナリを使う理由
- コンピュータには2つの状態しかなく、ONとOFFであり、それぞれ1と0で表されます。
- 2進数体系であるバイナリ(2進)であり、すべてのデータはまずバイナリに変換される必要があります。
- これを扱うために3つの進数系を使用します。

3つの進数系
| 体系 | 進数 | 桁 |
|---|---|---|
| 十進法 | 10 | 0–9 |
| Binary | 2 | 0 and 1 |
| Hexadecimal | 16 | 0–9 then A–F |
- The base is how many digits a system uses. Hex's A–F stand for 10–15.
- ビットは1つの0または1であり、8ビット=1バイト、4ビット=1ニブルです。

2つの8ビット数を桁ごとに足し算し、左側へ carry が伝播します。118 + 48 = 166。
進数系
byte = Σ place values
Each bit is a power of two — flip the bits and watch decimal and hex update together.
How many bits does one hexadecimal digit represent?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
One hex digit covers 16 values = a nibble = 4 bits.
Place value and binary ↔ denary
- バイナリでは、右から左へ位取りが倍増します。8ビットの場合:
128 64 32 16 8 4 2 1。 - Denary → binary: put a 1 under each value you need so they sum to your number. $150 = 128+16+4+2$ →
10010110. - Binary → denary: add the place values where there's a 1.

マイクロプロセッサは数百万個の微小トランジスタを保持しており、各トランジスタはON (1) または OFF (0) のスイッチです。

Convert binary 10010110 to denary.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
128 + 16 + 4 + 2 = 150.
Convert denary 13 to binary (significant bits only).
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
13 = 8 + 4 + 1 → 1101.
Hexadecimal and why we use it
- Hex → binary: each hex digit becomes its own nibble (4 bits).
F08→1111 0000 1000. - Binary → hex: group bits into nibbles from the right; each nibble is one hex digit.
- Why hex? it is shorter than binary and easier to read, so fewer mistakes — used for MAC/IPv6 addresses, HTML colours (
#FF0000), and memory addresses.

ビットマップ画像はピクセルのグリッドで構成され、解像度はピクセルの数です(ここでは8×8)。

Convert hexadecimal 1F to denary.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
1 × 16 + 15 = 31 (F is 15).
Why do computer scientists use hexadecimal?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Hex is just a shorter, human-friendly way to write the same binary value (one digit = 4 bits).
Convert hexadecimal 2F to denary.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
$2 \times 16 + 15 = 47$.
What is binary 10101010 in hexadecimal?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Each nibble 1010 is 10, which is A in hex, so the byte is AA (170 in denary).
理解できましたか
- binary base 2 (bit · byte = 8 bits · nibble = 4 bits); hex base 16, one digit = 4 bits
- denary → binary: pick the powers of 2 that sum to the number
- バイナリ → ニブルのグループ化によるヘキサデシマルへの変換
- ヘキサデシマルは、同じバイナリ(アドレスや色)をより短く読みやすく表記する方法
何が問題でしたか?この内容はサイトの運営チームだけが確認します。