Evaluating bitwise expressions…?

NetherCraft 0

I am trying to evaluate the following:

11000 AND (01011 OR 11011) which is, of course, equivalent to

TTFFF AND (FTFTT OR TTFTT). I am assuming that I first have to determine if 11000 is T or F, but how do I do that?


1 Answer

  • You don’t.

    You do each individual bit to each individual bit, i.e., “bit-wise”.

    Each bit is ORed with the bit in the corresponding position, like this:

    01011 OR



    Then take that result and AND it with 11000:

    11000 AND



    Each individual bit is a truth value.

    You have 5 truth values per bit-string (in this case).

Also Check This  Which cleanser better? Noxzema original deep cleansing cream or Cetaphil?

Leave a Reply

Your email address will not be published. Required fields are marked *