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




October 10, 2006 16:05:02 #1
 haja   Member Since: Visitor    Total Comments: N/A 

RE: what's the answer for that question:A, B and...
 

A->11000101

B->00110011

C->00111010

FIND (A-B)UC

ans:

 -(minus)  mean take AND operation

 U(union) mean take OR operation

A-B->00000001

(A-B)U C->(A-B) OR operation with C

->00111010

     

 

Back To Question