The most significant hit will be lost in which of the following operations?
A. | >> |
B. | complementation |
C. | << |
D. | none of the above |
Option: A Explanation : Click on Discuss to view users comments. |
If the bit pattern corresponding to a signed integer is shifted to the right then
A. | vacant bit will be filled by the sign bit |
B. | vacant bit will be filled by 0 |
C. | the outcome is implementation dependent |
D. | none of the above |
Option: C Explanation : Click on Discuss to view users comments. |
If the word size is 16 bit, then ~0xc5 will be
A. | 0x3a |
B. | 0xff3a |
C. | 0x5c |
D. | none of the above |
Option: B Explanation : Click on Discuss to view users comments. |