GeekInterview.com
Series: Subject: Topic:
Question: 7 of 31

What's the answer for the 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) =?

This question is related to TCS Interview
Asked by: Interview Candidate | Asked on: Oct 9th, 2006

Editorial / Best Answer

Answered by: hydsarema

View all answers by hydsarema

Member Since Aug-2008 | Answered On : May 24th, 2009

A-C is the substraction of two binary numbers
ie A is added to the complement of C
which gives

10001011.

the unoin operation if considered as the 'or' operation ie  /
we have 10001011 / 00110011 then we have the answer as
10111011.
please let me know  to deduce the correct ans if the above is wrong.

Showing Answers 1 - 7 of 7 Answers
haja

Answered On : Oct 13th, 2006

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

Yes  1 User has rated as useful.
  
Login to rate this answer.
Seenivasan.S

Answered On : Feb 20th, 2007

I think minus means the complement of C and add with A and add one with the answer will be got and union means obviously OR..................

  
Login to rate this answer.

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

  
Login to rate this answer.
hydsarema

Answered On : May 24th, 2009

View all answers by hydsarema

A-C is the substraction of two binary numbers
ie A is added to the complement of C
which gives

10001011.

the unoin operation if considered as the 'or' operation ie  /
we have 10001011 / 00110011 then we have the answer as
10111011.
please let me know  to deduce the correct ans if the above is wrong.

Yes  5 Users have rated as useful.
  
Login to rate this answer.
anusha madhu

Answered On : Oct 2nd, 2009

View all answers by anusha madhu

The binary subraction of A and C is 10001011
and when we take the union it is obivously OR operation so the ans should be
10111011

Yes  2 Users have rated as useful.
  
Login to rate this answer.
don_bhai

Answered On : Nov 13th, 2009

View all answers by don_bhai

2's complement of C = 11000101+1=11000110 = D

Now, A-C = A+D = 10001011 = E
Now, E U B = 10111011

So, ((A-C) U B) = 10111011 (Ans.)

Yes  2 Users have rated as useful.
  
Login to rate this answer.
GAIRY HARRY

Answered On : Mar 23rd, 2012

When comparing 5400 series logic to 7400 series logic.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.