liveBook · Manning

Binary representation

Also called binary encoding

Binary representation expresses information or values using a base-two positional system with two symbols, conventionally zero and one.

How 7 Manning books explain it

JavaScript in Depth

A representation of numbers using digits in base 2 and powers of two.

How it is used
Connects JavaScript decimal notation to the bits and bytes used to encode numeric values.
How deep it goes
Works through positional bits and byte order, then connects signed and floating-point layouts without covering the full IEEE-754 standard.
Examples
Uses 1011 as 11, eight-bit encodings of signed integers, and floating-point encodings of 0.1 and 0.2.
What you can do after
Evaluate/understand how positional bits and numeric encoding choices affect the representation of JavaScript numbers.

Read how JavaScript in Depth explains binary representation →

Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

Binary language is a computer representation system composed of sequences of 0s and 1s that encode data and computational information.

How it is used
Explains how computers represent information and how network devices communicate across physical media.
How deep it goes
Defines bits, bytes, positional values, and conversions, but stops short of detailed encoding schemes or router forwarding internals.
Examples
Uses router-to-switch voltage signaling, 8-bit positional diagrams, and conversions such as 00101111 to decimal 47.
What you can do after
Practice converting 8-bit binary values to decimal and apply them when interpreting IPv4 addresses.

Read how Acing the CCNA Exam: Volume 1 Fundamentals and Protocols explains binary representation →

Learn Rust in a Month of Lunches

Binary representation expresses values using a base-two numeral system and corresponding bit patterns.

How it is used
Uses binary place values to explain Rust integer sizes and limits.
How deep it goes
Explains bit values and unsigned maximums through doubling and addition.
Examples
Works through 11111111 as 255 and compares the maximums of u8 and u16.
What you can do after
Evaluate which integer type fits a value by considering its bit width and range.

Read how Learn Rust in a Month of Lunches explains binary representation →

Quantum Programming in Depth

Binary notation represents an integer or index as an ordered sequence of bits.

How it is used
Connects integer and matrix indices with qubit basis states, measurement results, and controlled-gate control patterns.
How deep it goes
Derives bit patterns for paired indices and controlled gates, then applies them to probabilistic measurement outcomes.
Examples
Uses the n = 3, k = 2 index pair and two-qubit outcomes 00, 01, 10, and 11.
What you can do after
Evaluate quantum indices as bit strings and interpret their roles in controlled operations and measurement results.

Read how Quantum Programming in Depth explains binary representation →

Modern C

A binary representation is the abstract model of the values and operation results of a type on a particular platform.

How it is used
Determines C operation results from values, types, and platform characteristics.
How deep it goes
Defines the model and develops unsigned-bit arithmetic, while deferring physical storage to object representation.
Examples
Uses SIZE_MAX, a sixteen-bit unsigned value of 240, bit positions, and scalar-type bounds.
What you can do after
Evaluate operation behavior from type ranges, precision, operands, and observable platform limits.

Read how Modern C explains binary representation →

Building Quantum Software with Python

A binary representation expresses a value using digits or states based on the two-element binary system.

How it is used
Uses binary indices to pair amplitudes for single-qubit gate simulation and recover encoded frequencies during IQFT.
How deep it goes
Explains positional pairing, powers-of-two offsets, successive division, and stepwise IQFT digit recovery without presenting full implementation code.
Examples
Demonstrates three-qubit outcome pairings and converts decimal 13 into 1101 using repeated divmod operations.
What you can do after
Apply via Python's divmod and index arithmetic to organize amplitude pairs and trace binary digits recovered by IQFT.

Read how Building Quantum Software with Python explains binary representation →

Grokking AI Algorithms, Second Edition

Binary encoding represents solution components using binary values such as zero for exclusion and one for inclusion.

How it is used
Represents discrete solution choices inside evolutionary algorithms.
How deep it goes
Defines chromosomes and bit meanings, demonstrates mutation, and stops short of detailed alternative encoding mechanisms.
Examples
Uses knapsack item selection, a nine-word phrase, 26-item chromosomes, and single-gene bit-string mutation.
What you can do after
Apply it to encode yes-or-no solution choices and implement single-gene mutation by flipping bits.

Read how Grokking AI Algorithms, Second Edition explains binary representation →

Also covered in

What to know first

Related concepts

Questions about binary representation

What is binary representation?

Binary representation expresses information or values using a base-two positional system with two symbols, conventionally zero and one.

Which Manning books explain binary representation?

JavaScript in Depth, Acing the CCNA Exam: Volume 1 Fundamentals and Protocols, Learn Rust in a Month of Lunches, Quantum Programming in Depth, Modern C, Building Quantum Software with Python and Grokking AI Algorithms, Second Edition.

What should I know before learning binary representation?

Manning books that teach binary representation usually introduce memory, unsigned integer, bit and decimal numeral system first.

What is the difference between binary representation and in-memory representation?

Binary representation expresses information or values using a base-two positional system with two symbols, conventionally zero and one. An in-memory representation is the structure and encoding used to store data or values in computer memory during execution.

What is binary representation also called?

Binary representation is also called binary encoding.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.