6,793 views
31 votes
31 votes

$(C012.25)_H - (10111001110.101)_B =$

  1. $(135103.412)_o$
  2. $(564411.412)_o$
  3. $(564411.205)_o$
  4. $(135103.205)_o$

2 Answers

Best answer
53 votes
53 votes
$(C012.25)_H - (10111001110.101)_B $

$= 1100\;0000\;0001\;0010.\;0010\;0101$
$- 0000\;0101\;1100\;1110.\;1010\;0000$

$= 1011\;1010\;0100\;0011.\;1000\;0101$

$= 1\;011\;101\;001\;000\;011 .\;100\;001\;010$

$= (135103.412)_o$

Binary subtraction is like decimal subtraction:$ 0-0 = 0, 1-1 = 0, 1-0 = 1, 0-1 = 1$ with $1$ borrow.

Correct Answer: $A$
edited by
24 votes
24 votes

Another way:

convert the binary in hexadecimal, 

0101 1100 1110.1010 = (5CE.A)H

Now we'll do hexadecimal subtraction,

  C 0 1 2. 2 5

- 0 5 C E. A 0

-------------------

  B A 4 3. 8 5H= 1011 1010 0100 0011. 1000 0101 = 001 011 101 001 000 011. 100 001 010 = (135103.412)o

-------------------

Note: when 2H borrow, it becomes (2+16) = 18 in decimal = 12H

and 18 - A(or 10) = 8

Answer:

Related questions

32 votes
32 votes
3 answers
1
30 votes
30 votes
3 answers
2
Ishrat Jahan asked Oct 30, 2014
4,656 views
Consider the following expression$a\bar d + \bar a\bar c + b\bar cd$Which of the following Karnaugh Maps correctly represents the expression?
38 votes
38 votes
8 answers
3
Ishrat Jahan asked Oct 29, 2014
12,058 views
The line $T$ in the following figure is permanently connected to the ground.Which of the following inputs $(X_1 X_2 X_3 X_4)$ will detect the fault ?$0000$$0111$$1111$Non...
23 votes
23 votes
6 answers
4
Ishrat Jahan asked Oct 29, 2014
6,379 views
What is the final value stored in the linear feedback shift register if the input is $101101$?$0110$$1011$$1101$$1111$