Compare the two strings bit by bit (position by position).

For ‘OR’: if either bit is a 1 then the ‘new’ bit is a 1, otherwise it is 0.

For ‘AND’: ifboth bits are a 1then the ‘new’ bit is a 1, otherwise it is 0.

For ‘XOR’:if either bit is a 1then the ‘new’ bit is a 1, otherwise it is 0.but not both

In the example, I suggest that you stack the strings to compare them.

01 1011 0110

11 0001 1101

OR = 11 1011 1111

AND = 01 0001 0100

XOR = 10 1010 1011