GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  Quantitative Aptitude
Go To First  |  Previous Question  |  Next Question 
 Quantitative Aptitude  |  Question 27 of 49    Print  
A 0 0 0 0 1 1 1 1

B 0 0 1 1 0 0 1 1


C 0 1 0 1 0 1 0 1

Find ( A u B ) n C

  
Total Answers and Comments: 8 Last Update: June 29, 2009     Asked by: Purnima 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 09, 2006 13:00:46   #1  
manoj        

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1
tell me the procedure to solve this problem
 
Is this answer useful? Yes | No
October 10, 2006 00:58:29   #2  
Francis        

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1
Hi I think you can try this way. Consider U (Union) as OR gate and Intersection as AND gate. Then you can come at the solution
 
Is this answer useful? Yes | No
February 01, 2007 23:02:29   #3  
jai ailani        

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1
ans is 00010101
 
Is this answer useful? Yes | No
March 05, 2007 14:14:28   #4  
ayush        

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1

A: 1 1 0 1 1 0 1 1

B: 0 1 1 1 1 0 1 0

by binary sub. a-b 01100001 (1-0 1 1-1 0 0-0 0 now (a-b)uc 01100001

or 01101101

gives 1101101... convert to decimal equals 109


 
Is this answer useful? Yes | No
May 20, 2008 09:42:41   #5  
spandu Member Since: May 2008   Contribution: 4    

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1C 0 1 0 1 0 1 0 1Find ( A u B ) n C
aub union means add 00001111+00110011 01000010
((aub)nc) intersection means and operation 01000000(64)

 
Is this answer useful? Yes | No
May 27, 2008 05:08:13   #6  
chandradeepika Member Since: May 2008   Contribution: 36    

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1C 0 1 0 1 0 1 0 1Find ( A u B ) n C
To find A-C We will find 2's compliment of C and them add it with A
That will give us (A-C)
2's compliment of C 1's compliment of C+1
10101010+1 10101011
A-C 10101011+00001111
10111010
Now (A-C) U B is .OR. logic operation on (A-C) and B
10111010.OR . 00110011
The answer is 10111011
Whose decimal equivalent is 187.


 
Is this answer useful? Yes | No
June 26, 2009 10:26:23   #7  
sagarpdy Member Since: June 2009   Contribution: 2    

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1C 0 1 0 1 0 1 0 1Find ( A u B ) n C
It is one of the representation of sets
i.e.
A {0 1 2 3}
likewise

hence A U B A|B 00111111
(AUB)nC (AUB)&C 00010101
Ans {0 2 4}

 
Is this answer useful? Yes | No
June 29, 2009 06:30:35   #8  
Mekaladevi Member Since: June 2009   Contribution: 2    

RE: A 0 0 0 0 1 1 1 1B 0 0 1 1 0 0 1 1C 0 1 0 1 0 1 0 1Find ( A u B ) n C
A u B 00111111
(A u B) n C 00010101

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape