GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  TCS  >  Quantitative Aptitude
Go To First  |  Previous Question  |  Next Question 
 Quantitative Aptitude  |  Question 27 of 45    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: 6 Last Update: May 27, 2008     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: 5    

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


 
Go To Top


 Sponsored Links



 
Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape