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 |
Wats the name of the first os
hoe to data grid use in sql server 2000?
what is an INI file?
Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?
Is the IT field raise again? What is the position of IT after 4 years?
Hi guys... I have one doubt ..Exception is a runtime error then why we have checked exception... Thanks in advance
What is the Super Class of Exception in java?
11 Answers Andesa Services, Benchmark, CitiGroup, CMC, Evergent, KOT Systems, Value Labs, Vijay infoart Solutions,
Delta 5 weight scale not connect with oracle application what i can do?
Write 5 differences between Memory Reference Instruction and Register Reference Instruction.
how to display xisheet in list box in c# .net
what is the difference between an OS(operating system) and Framework?
How many packages available in java??