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

Corillian's product is a "Component Container." Name at least 3 component

1 Answers  


we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/

0 Answers   CTS,


what is difference between oracle and pl/sql

1 Answers  


Write a pascal program to calculate the sum of the first 100 even number and odd number

0 Answers  


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

0 Answers  






What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?

0 Answers  


What is diffrent between Method and and function in c#

0 Answers  


how do find the user exit for selected feild whatis the process and can u plz explain it

0 Answers  


why you have to became a software developer?

2 Answers  


I m Abdullah Ansari compleated MCA from Jamia Hamdard,i have appeared the test of IBM on 2 august at oxford college of engineering Bangalore.waiting for hr round.. This is the first round for IBM.02/08/08 Paper consists of 4 sections 15 questions from matrices(time very less but no negative marking). 25 questions from series completion section (this section is very easy but negative marking) 15 questions from aptitude(little bit tough time limit 15 minute negative marking) 4th section is from computer science (c,c++,operating system,digital electronics ,basic question..) result came at 3 o'clock.i was selected... In interview they asked questions like 1 they asked about final yr project.. 2 what are dynamic and static memory location? 3 linked list and array difference between them. 4 what is function ? what is difference betwen function and inline function? 5 about structure 6 about binary tree, traversal, call by value. 7 storage class and many more basic questions..

0 Answers   IBM,


what are all the validation we need to perform in data stage?

0 Answers  


What is meant by QUEUE?

4 Answers   Mascot,


Categories