| |
GeekInterview.com > Placement Papers > TCS > Critical Reasoning
| Print | |
Question: what's the answer for that question: A, B and C are 8 bit no's. They are as follows: A -> 1 1 0 0 0 1 0 1 B -> 0 0 1 1 0 0 1 1 C -> 0 0 1 1 1 0 1 0 ( - =minus, u=union) Find ((A - C) u B) =?
|
| May 05, 2009 03:38:19 |
#4 |
| hydsarema |
Member Since: August 2008 Total Comments: 11 |
RE: what's the answer for that 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) =? |
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.
|
| |
Back To Question | |