Commerce

Bitwise And Boolean MCQs

Practice Bitwise And Boolean MCQs for competitive exams.

Bitwise And Boolean MCQs

Practice questions from this topic.

What is the two's complement of -44?

  1. A. 1011011
  2. B. 11010100
  3. C. 11101011
  4. D. 10110011
Report Error

What is the result of `5 & 9 | 1` ?

  1. A. 13
  2. B. 5
  3. C. 9
  4. D. 1
Report Error

What is the result of not (True or False) ?

  1. A. True
  2. B. False
  3. C. None
  4. D. Error
Report Error

What is the result of not (3 > 5) ?

  1. A. True
  2. B. False
  3. C. None
  4. D. Error
Report Error

What will be the output of the following Python code snippet? not(1030)

  1. A. True
  2. B. False
  3. C. Error
  4. D. No output
Report Error

The one's complement of 110010101 is:

  1. A. 001101010
  2. B. 110010101
  3. C. 001101011
  4. D. 110010100
Report Error

What is the result of True ^ False ?

  1. A. True
  2. B. False
  3. C. None
  4. D. Error
Report Error

Which of the following represents the bitwise XOR operator?

  1. A. &
  2. B. ^
  3. D. !
Report Error

What will be the value of x in the following Python expression, if the result of that expression is 2? x>>2

  1. A. 8
  2. B. 4
  3. C. 2
  4. D. 1
Report Error

What is the result of 7 << 2 ?

  1. A. 28
  2. B. 7
  3. C. 14
  4. D. 4
Report Error

What is the result of `(6 | 3) ^ 5` ?

  1. A. 0
  2. B. 1
  3. C. 4
  4. D. 7
Report Error

What is the result of 5 <> 1 ?

  1. A. 5
  2. B. 10
  3. C. 20
  4. D. 2
Report Error