# Electronics and Communication Engineering - Digital Electronics - Discussion

Discussion Forum : Digital Electronics - Section 4 (Q.No. 5)

5.

1274

_{16}- 3A7_{16}= __________ .Answer: Option

Explanation:

Convert to decimal, subtract and change the result to hexadecimal.

Discussion:

3 comments Page 1 of 1.
Himani said:
2 years ago

First, convert both in binary.

0001 0010 0111 0100 and 0000 0011 1010 0111.

then take 1s compliment of second no. which is 1111 1100 0101 1000.

then add binary forms of first no. and 1s compliment of second no.

0001 0010 0111 0100

+1111 1100 0101 1000.

= 0000 1110 1100 1101 (after discarding the last carry) then again convert it in hexadecimal we will have 0ECD.

0001 0010 0111 0100 and 0000 0011 1010 0111.

then take 1s compliment of second no. which is 1111 1100 0101 1000.

then add binary forms of first no. and 1s compliment of second no.

0001 0010 0111 0100

+1111 1100 0101 1000.

= 0000 1110 1100 1101 (after discarding the last carry) then again convert it in hexadecimal we will have 0ECD.

(1)

Harshi said:
3 years ago

Firstly, change the given numbers into decimal.

Then (1274)base16=(4724)base10 and (3A7)base16=(935)base10..

After subtract 935 from 4724.

Then 4724 - 935=3789.

Now, change 3789 into hexadecimal.

We get,(ECD)base16.

Then (1274)base16=(4724)base10 and (3A7)base16=(935)base10..

After subtract 935 from 4724.

Then 4724 - 935=3789.

Now, change 3789 into hexadecimal.

We get,(ECD)base16.

Abhay said:
10 years ago

SIMPLE METHOD: Let subtract A2 minus 1E.

(IN decimal system, if unit place of smaller number is greater than unit place of greater number we call for carry 1 which is added as 10 to next number).

Similarly,

In hexa system we call for carry 1 which is added as 16 to the next number.

Here 2 is smaller than E, so call carry, 16 will be added to 2 equal 18, minus E(14) equals 2(unit place) now A(10) will be reduced by 1(due to carry transfer)which is equal 9 minus 1 make it 8(tense place).

HENCE the answer will be 82.

(IN decimal system, if unit place of smaller number is greater than unit place of greater number we call for carry 1 which is added as 10 to next number).

Similarly,

In hexa system we call for carry 1 which is added as 16 to the next number.

Here 2 is smaller than E, so call carry, 16 will be added to 2 equal 18, minus E(14) equals 2(unit place) now A(10) will be reduced by 1(due to carry transfer)which is equal 9 minus 1 make it 8(tense place).

HENCE the answer will be 82.

Post your comments here:

Quick links

Quantitative Aptitude

Verbal (English)

Reasoning

Programming

Interview

Placement Papers