5. We can perform the logical operations on strings of bits by considering each pair of corresponding bits separately (called bitwise operation). Given two eight bit strings A = 10110001 and B = 10101100, evaluate the eight bit result after the following logical operations: (2 pts each)

Respuesta :

Answer:

Bitwise OR operation = 111011101

             AND operation = 10100000

             NOT operation:  01001110 (NOT A)

              XOR operation: 00011101

Step-by-step explanation:

OR operation:  A + B = adding the two binary numbers together, starting from the least significant bit (LSB) and moving to the Most significant bit (MSB)

AND operation: A*B, multiplying the two binary numbers together.

NOT: taking the opposite of each binary digit

XOR: if either of the two binary numbers is 1, then the result is 1, but if they are both 1 or both 0, then the result becomes 0.

ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE