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

Hi..Am done with my Masters recently..Am planning to learn TIBCO.. could anyone suggest me about how the job market will be and Is there any course necessary to learn prior to Tibco..i mean any prerequisite. I dnt have any knowledge on PL/SQL thats it... Plz suggest me in a best way...

0 Answers  


Suppose i have all the implementation code required is written in doGet() but my class has doPost() method. i need code implemented in doGet() how can we do that?

1 Answers  


CPU - abbrevation

2 Answers   Mascot,


sample and simple coding where we get?

0 Answers   IBM,


how do u handle table control inbdc explain the process in steps iwant the answer in urgent please forward this even i know how to explain there

0 Answers   Synopsis,






what is encapulation?

4 Answers   Syntel,


how can i create report in abap to insert data in table pa0002 using insert command

0 Answers  


Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod

0 Answers  


what is the exact full form of OOPS,O -> object O -> oriented P -> programing S-> ? ....

16 Answers  


converting 41.685 to binary

1 Answers   Hughes,


what is throws keyword

1 Answers   IBM,


what is the similarity between networking devices?

0 Answers   Cygnus, Infosys,


Categories