Q. What is the operator used to make 1's One's compliment.?

  • (A) ^ Bitwise Exclusive OR
  • (B) ~ Bitwise Negate Operator
  • (C) | Bitwise OR operator
  • (D) & Bitwise AND Operator
πŸ’¬ Discuss
βœ… Correct Answer: (B) ~ Bitwise Negate Operator

Q. What is the result of 0110 & 1100.?

  • (A) 1010
  • (B) 0001
  • (C) 0100
  • (D) 1000
πŸ’¬ Discuss
βœ… Correct Answer: (C) 0100

Q. What is the output of Bitwise OR operation | on (0110 | 1100).?

  • (A) 1110
  • (B) 1100
  • (C) 1000
  • (D) 1010
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1110

Q. What is the output of Exclusive OR ^ operator on 0110^1000.?

  • (A) 0001
  • (B) 0011
  • (C) 1110
  • (D) 1000
πŸ’¬ Discuss
βœ… Correct Answer: (C) 1110

Q. What is the output of Left Shift Operator << on (00011000<<2).?

  • (A) 00000011
  • (B) 00000110
  • (C) 11000000
  • (D) 01100000
πŸ’¬ Discuss
βœ… Correct Answer: (D) 01100000

Q. What is the result of Right Shift Operator >> on (00110000>>2)?

  • (A) 11001111
  • (B) 01100000
  • (C) 00001100
  • (D) 11000000
πŸ’¬ Discuss
βœ… Correct Answer: (C) 00001100

Q. Choose correct statement about Left Shift Operator << ?

  • (A) Left shift operator shifts individual bits on the left side
  • (B) When shifting left side, overflow bits are ignored.
  • (C) Zeroes are filled on the right side
  • (D) All the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All the above

Q. Choose a correct statement about Right Shift Operator >> ?

  • (A) Right shift operator shift individual bits on to the right side.
  • (B) When shifting bits right side, overflow bits on the right are ignored or truncated.
  • (C) Zeroes are filled on the left side.
  • (D) All the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All the above

Q. What is a Single Operand Operator below?

  • (A) ~
  • (B) ^
  • (C) |
  • (D) &
πŸ’¬ Discuss
βœ… Correct Answer: (A) ~

Q. What is the Bitwise operator used to set a particular bit value to 1?

  • (A) ~ Operator
  • (B) ^ Exclusive OR
  • (C) | OR
  • (D) & AND
πŸ’¬ Discuss
βœ… Correct Answer: (C) | OR