Monday, September 2, 2013

Webwork Question (bitwise operations)

Hi,
I'm trying to do this problem and I'm not even sure what they're asking us
to do.    Can you give me a little guidance please? Thank you.

*********************************************************
This is the problem webwork tells me you are working, is this correct?

Evaluate each of the following expressions:
(a) 11000(0101111011)
(b) (0111110101)01000
(c) (0101011011)01000
(d) (1101101010)(1000111011)





This problem is about bitwise logical operations, which were covered in section 1.1--You should
reread that section.  The general idea is that you consider "1" to be an equivalent of "True", "0" to

be an equivalent of "False" and then perform logical operations "And", "Or" and "XOr" on a 
pointwise basis.  This link takes you to the wiki article on the subject, and gives more detailed
explanation than the book.


kajs

1 comment: