Math Fundamentals18 sections · 814 units
Open in Course

Quiz: Counting Bits

Knowledge check

Check Your Understanding

What does n&(n1)n \& (n-1) do to a number nn?

  1. A.Sets the rightmost 0 bit
  2. B.Clears the rightmost 1 bit
  3. C.Doubles the number
  4. D.Toggles all bits
Start the roadmap to answer the quizzes and solve the challenges