For a non-negative integer x, which of the following operations gives the remainder after division of x by 8?

For a non-negative integer x, which of the following operations gives the remainder after division of x by 8?

  1. a) Bitwise AND with 7
  2. b) Bitwise AND with 8
  3. c) Bitwise OR with 8
  4. d) Right shift by 3 bits

From the Combined Bank Senior Officer October 2025 – Written exam, question 12 of 50.

More from this paper