What's the answer for the question:A, B and C are 8 bit no's. They are as follows:A -> 1 1 0 0 0 1 0 1B -> 0 0 1 1 0 0 1 1C -> 0 0 1 1 1 0 1 0 ( - =minus, u=union)Find ((A - C) u B) =?
This question is related to TCS Interview
-
Interview Candidate
- Oct 9th, 2006
- 7
- 12758
Editorial / Best Answer
hydsarema
A-C is the substraction of two binary numbers
ie A is added to the complement of C
which gives
10001011.
the unoin operation if considered as the 'or' operation ie /
we have 10001011 / 00110011 then we have the answer as
10111011.
please let me know to deduce the correct ans if the above is wrong.
Showing Answers 1 - 7 of 7 Answers
What's the answer for the question:A, B and C are 8 bit no's. They are as follows:A -> 1 1 0 0 0 1 0 1B -> 0 0 1 1 0 0 1 1C -> 0 0 1 1 1 0 1 0 ( - =minus, u=union)Find ((A - C) u B) =?
Editorial / Best Answer
hydsaremaProfile Answers by hydsarema Questions by hydsarema
A-C is the substraction of two binary numbers
ie A is added to the complement of C
which gives
10001011.
the unoin operation if considered as the 'or' operation ie /
we have 10001011 / 00110011 then we have the answer as
10111011.
please let me know to deduce the correct ans if the above is wrong.