Learn binary
Short, plain-English guides that take you from “what is binary?” to reading text, doing arithmetic and handling negative numbers. Start at the top and work down, or jump to what you need.
BeginnerWhat is binary code?Binary code is how computers store numbers, text, images and sound using only 0s and 1s. Learn why computers use base 2, with simple examples.BeginnerHow to read binaryLearn to read binary in five minutes. Step-by-step method for binary numbers and binary text, with worked examples and a cheat sheet.BeginnerBits, bytes and nibblesWhat a bit, nibble and byte are, how many values each can hold, and the difference between kilobytes (1000) and kibibytes (1024).IntermediateBinary arithmetic – addition, subtraction, multiplication and divisionThe rules of binary addition, subtraction with borrowing, multiplication and division, with step-by-step worked examples and a calculator to check answers.AdvancedNegative numbers in binary (two’s complement)How computers store negative numbers with two’s complement — the invert-and-add-one method, signed 8-bit range and why subtraction gets easy.IntermediateASCII vs Unicode vs UTF-8ASCII, Unicode and UTF-8 explained simply. See how characters like A, é, € and emoji are stored in binary, and why UTF-8 is used on 98% of websites.IntermediateBinary in PythonPython snippets to convert text to binary, binary to text, int to binary, binary to int and work with bits — bin(), int(x, 2), format() and bytes explained.BeginnerBinary practice questionsUnlimited binary practice questions with instant marking — decimal, hex, addition, subtraction and letters. Great for Digital Technologies classes.