• Compute binary representations of an integer
    • standard
    • one’s compliment
    • two’s compliment of arbitrary integers.
  • Demonstrate the properties of boolean operations and, or, not, xor.
  • Use shifting operations to test, set, and toggle arbitrary bits.
  • Quickly determine if an integer is a power of 2.
  • Quickly determine the number of set bits in an integer.
  • Quickly determine the least significant set bit in an integer.

Videos