. Find the fourth row, having the bit pattern as an integer in an 8-bit computer, and express the answer in its decimal value. A 0 0 0 0 1 1 1 1 B 0 0 1 1 0 0 1 1 C 0 1 0 1 0 1 0 1 (AU(B-C)) ?please do explain ur answers.....

This question is related to TCS Interview

Showing Answers 1 - 8 of 8 Answers

Navdeep Singh

  • Sep 14th, 2006
 

Ans: 47AU(B-C):B-C=00100010AU(B-C): 00101111Converting this into decimal no. like this:0 0 1 0 1 1 1 10 0 32 0 8 4 2 1so 32+8+4+2+1=47plz tell me is it right....

  Was this answer useful?  Yes

Milan Agarwal

  • Sep 22nd, 2006
 

223 is answer

B-C is bitwise addition of B and 2s compliment of C

then bitwise union of A with abover result gives the ans as 1101 1111 which

has decimal value of 223.

meera

  • Nov 14th, 2006
 

hi

 do the computation B-C as two's complement of C and add it with B. then add the result with A

 ans of B-C 11011110

 ans of AU(B-C) 11101101 thats in decimal 237

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions