A, B and C are 8 bit nos. They are as follows:
A 1 1 0 1 1 0 1 1
B 0 1 1 1 1 0 1 0
C 0 1 1 0 1 1 0 1
Find ( (A-B) u C )=?
how to solve this need with steps
Answers were Sorted based on User's Feedback
Answer / shikhar
Here is the answer,
A = 1 1 0 1 1 0 1 1 i.e 219
B = 0 1 1 1 1 0 1 0 i.e 122
C= 0 1 1 0 1 1 0 1 i.e 109
now, A-B = 97
so, ( (A-B ) U C) SHOULD be (97 U 109) = 109.
Is This Answer Correct ? | 71 Yes | 17 No |
Answer / mohanakrishna
first find two's compliment of B
i.e,B= 01111010
1's complient of B=10000101
+1
B' =10000110
THEN ADD A WITH B' which implies (A-B)=01100001
then apply (A-B)UC=01101101=109
Is This Answer Correct ? | 15 Yes | 3 No |
Answer / rajamohan
irst find two's compliment of B
i.e,B= 01111010
1's complient of B=10000101
+1
B' =10000110
THEN ADD A WITH B' which implies (A-B)=01100001
then apply (A-B)UC=01101101=109
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / rosey
given that A,B,C are 8 bits nos therefore
A 11011011 is 333
B 01111010 is 172
c 01101101 is 155
now A-B =333-172
=161
(A-B)uC=161u155
=161
Is This Answer Correct ? | 9 Yes | 41 No |
Any real time example of O2C process from taking order till creating invoice.
DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM
what is different between kenerl mode and user mode?
what are partial classes. Where is the entry point of partial classes.
what are other resources are needed for this mantis?
i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..
What is the difference between COM and CORBA?
how to swap all the values without using temporary variable. tha values r a = 20, x=60 and p=2.
5 Answers DST Global Solutions, iGate,
Explain polymorphism. Provide an example.
will it allow to add same value in HashMap class.
what is diff bet ref variable & instance of class
can we convert .class file to dll file