Menu

1 Given Two Binary Numbers 0b10011011 0b01101001 Perform Bit Wise Operation Provide Result Q43874199

1. Given two binary numbers 0b10011011 and 0b01101001, perform abit wise AND operation. Provide the result in binary.

2. Given two binary numbers 0b10101011 and 0b01001101, perform abit wise OR operation. Provide the result in binary.

3. Given two binary numbers 0b10011010 and 0b01011001, perform abit wise XOR operation. Provide the result in binary.

4. Given the hexadecimal number 0x19BC, perform a bit wise NOToperation (complement). Provide the result in hexadecimal.

5. When a binary shift operation is performed binary data can beshifted right or left and a ‘0’ is brought to fill vacatedpositions while the bit that is shifted out is discarded. Shift the8-bit binary number that is equivalent to 0x17 right two, give theresult in binary. 2

6. When a binary rotate operation is performed binary data canbe shifted right or left: the bit that is shifted out from one endwill be brought back in on the other end. Rotate the 8-bit binarynumber that is equivalent to 0x4B left two, give the result inbinary.

7. For an 8-bit (byte) sized binary number, what mask andoperation would you use to set (make 1) the lower 2 bits withoutchanging the remaining bits? a. Mask (in binary) b. Operation

Expert Answer


Answer to 1. Given two binary numbers 0b10011011 and 0b01101001, perform a bit wise AND operation. Provide the result in binary. 2…

OR