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 |
how do i create my own exception class which will restrict IO exception?
Who is the Best SAS/Clinical Trainer in Hyderabad
How does the type system works when there is interoperability between a COM and .Net, i mean what exactly happens there
Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?
Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.
what is delegats ?
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?
What is the difference b/w Object base and object oriented programming?
Write a program to find duplicate number from array in minimum time complexity.
what is an INI file?
what is jackson structured develepment?? and how is it different from OMT??
Define Form modules, Class modules and Standard modules