Quiz: Bitwise Addition

Test your understanding

Check Your Understanding

To add without +/-, you use XOR for the sum and AND for the carry. What must you do with the carry?

  1. A.XOR it with the original numbers
  2. B.Discard it
  3. C.Right shift it by 1
  4. D.Left shift it by 1, then add it to the XOR result
Start the roadmap to answer the quizzes and solve the challenges