Topic notebook / 07

Bits & binary

Bit masks, shifts and XOR express work on the binary representation of integers.

What to look for

  • State the bit width and signedness.
  • Track carries and discarded bits.
  • Distinguish numeric value from its representation.

Work through a question

5 available

Where this leads

Return to the roadmap to try a different kind of problem.