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  >  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) =?




March 03, 2009 07:38:14 #3
 indira.moparthi   Member Since: February 2009    Total Comments: 6 

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) =?
 
Here A is negative number
Hence by removing sign bit A->1000101
Its 2's complement is 0111011

Hence A-C=0
Hence solution is B
     

 

Back To Question