Number Systems & Encoding

Math(s)

Start with familiar decimal numbers, then learn how computers represent values in binary, octal, and hexadecimal. Apply the same ideas to Linux permissions and character encoding through worked examples and practice.

DecimalBinaryOctalHexadecimalPracticeASCII
Start with Decimal →

Your Learning Path

Follow the order below. Each lesson includes a worked example and a checkpoint; practice activities help you apply what you have learned.

  1. Decimal

    Start with familiar digits and learn how position changes a digit's value.

  2. Binary

    Build a byte, convert in both directions, and explain the range 0–255.

  3. Octal

    Group bits in threes and use octal to understand Linux permissions.

  4. Hexadecimal

    Group bits in fours and read compact values used in logs, colours, and memory.

  5. Practice

    Explore a switchboard, then solve binary, hexadecimal, and permission challenges.

  6. ASCII

    Connect characters to numbers and distinguish ASCII from Unicode and UTF-8.

Practice

Demos And Games

Explore the patterns, check your own answers, and apply octal to permission scenarios at your own pace.

Open practice area

Why It Matters

Strong Foundations Make Technical Topics Easier

Binary explains how machines store and process information. Decimal keeps the human view readable. Octal groups bits in threes for permission modes. Hexadecimal compresses long binary values into a format that engineers can scan quickly. ASCII connects numeric codes to visible characters and control symbols.

Once these ideas click, networking, scripting, memory analysis, file formats, and protocol analysis all become easier to reason about.

Quick Reference

Decimal, Binary, Octal, Hex

DecBinOctHex
0000000
1000111
2001022
3001133
4010044
5010155
6011066
7011177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F