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 |
what is apt_dump_score in datastage where it is useful
How to connect to ms word wit VB ojective is to prepare s/w to generate question paper , selects questions randomly from the ms access , database
What are data structures?
This is the portal and portlet interview question API: is JSR 168 API Server: is ibm web sphere portal server6.0 IDE: is RAD 7.0 Question:In normal struts what is the actionservlet? Ans:org.apache.struts.action.ActionServlet. But What is the actionservlet in strutsportlet?
Hello all, My name is Nrupali, am a fresher, i know C language beginner. dont have any experience. planning to learn Php. let me know which language should i choose to learn or for salary purpose and growth??? kindly help me to take decision. thanks
what are stubs related to foxpro?
3. What is the difference between testing and Quality Assurance?
can we extend a class having only one parameterised constructor.Suggest the process to do it.
what is log files in qtp what is use
how to stop execution of step 3 in a job mainframe
can anyone please tell me the procedure for the NIC personal interview as i have been selected for the post of scientist/technical assistant B
Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.