Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

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

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

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

5. When a binary shift operation is performed binary data can be shifted right or left and a 0 is brought to fill vacated positions while the bit that is shifted out is discarded. Shift the 8-bit binary number that is equivalent to 0x17 right two, give the result in binary. 2

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

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 17th International Conference Dasfaa 2012 Busan South Korea April 2012 Proceedings Part 1 Lncs 7238

Authors: Sang-goo Lee ,Zhiyong Peng ,Xiaofang Zhou ,Yang-Sae Moon ,Rainer Unland ,Jaesoo Yoo

2012 Edition

364229037X, 978-3642290374

More Books

Students also viewed these Databases questions