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



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 ..

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

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 ..

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

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 ..

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

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 ..

Answer / karuna

151

Is This Answer Correct ?    4 Yes 10 No

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 ..

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

Post New Answer

More Programming Languages AllOther Interview Questions

Any real time example of O2C process from taking order till creating invoice.

0 Answers  


DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM

0 Answers   CTS,


what is different between kenerl mode and user mode?

1 Answers  


what are partial classes. Where is the entry point of partial classes.

1 Answers   Satyam,


what are other resources are needed for this mantis?

0 Answers  






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#..

1 Answers   Concentrix,


What is the difference between COM and CORBA?

0 Answers   Yahoo,


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.

0 Answers   Amazon,


will it allow to add same value in HashMap class.

0 Answers  


what is diff bet ref variable & instance of class

0 Answers  


can we convert .class file to dll file

1 Answers  


Categories