a) OR
b) NOT
c) XOR
d) NAND
Answer: b
Explanation: NOT operation is used to invert all the bits stored in a bit array.
Eg: NOT (10110010) = 01001101.
Related Posts
Which one of the following operations returns the first occurrence of bit 1 in bit arrays?
Bit fields and Bit arrays are same.
What does Hamming weight/population count mean in Bit arrays?
Run-Length encoding is used to compress data in bit arrays.
Which class in Java can be used to represent bit array?
Which of the following is/are not applications of bit arrays?
Which of the following is not a disadvantage of bit array?
Join The Discussion