liveBook · Manning

Binary representation

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

How 6 Manning books explain it

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
Helps choose a Rust integer type by relating its bit count to the numbers it can hold.
How deep it goes
Works through binary place values and eight-bit capacity; does not explain how signed values are encoded.
Examples
Adds the eight place values in 11111111 to obtain 255, then compares u8 with u16.
What you can do after
Evaluate/understand whether an integer type has enough bits for a needed value.

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 →

Related concepts

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.