Aptitude Question:
Download Job Interview Questions and Answers PDF
A, B and C are 8 bit nos. 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) =?
Answer:
A - C = 10001011
& (A - C) U B =
1 0 0 0 1 0 1 1
0 0 1 1 0 0 1 1
==========
1 0 1 1 1 0 1 1
HENCE,
ANS = 10111011
& (A - C) U B =
1 0 0 0 1 0 1 1
0 0 1 1 0 0 1 1
==========
1 0 1 1 1 0 1 1
HENCE,
ANS = 10111011
Download Aptitude Interview Questions And Answers
PDF