edited by
16,480 views
42 votes
42 votes

What is the result of evaluating the following two expressions using three-digit floating point arithmetic with rounding?

$(113. + -111.) + 7.51$

$113. + (-111. + 7.51)$

  1. $9.51$ and $10.0$ respectively

  2. $10.0$ and $9.51$ respectively

  3. $9.51$ and $9.51$ respectively

  4. $10.0$ and $10.0$ respectively

edited by

5 Answers

–1 votes
–1 votes

2nd part:  113. + (-111. + 7.51)

(-111. + 7.51) = - .111 x 10+ .751 x 10

= 10( - .111 x 102 + .751)

= 10(-11.1 + .751)

= 10(- 10.349)

= - 103.49

now, 113. + (- 103.49) = .113 x 103 - .10349 x 103 

= 103(.113 - .103)  // ignor 49 bcz  three-digit floating point arithmetic with rounding

= 103 x .010

= 10

Answer:

Related questions

28 votes
28 votes
5 answers
5
Kathleen asked Sep 18, 2014
19,389 views
Let $A = 1111 1010$ and $B = 0000 1010$ be two $8-bit$ $2’s$ complement numbers. Their product in $2’s$ complement is$1100 0100$$1001 1100$$1010 0101$$1101 0101$
20 votes
20 votes
2 answers
6
Kathleen asked Sep 18, 2014
6,457 views
If $73_x$ (in base-x number system) is equal to $54_y$ (in base $y$-number system), the possible values of $x$ and $y$ are$8, 16$$10, 12$$9, 13$$8, 11$
45 votes
45 votes
5 answers
8
Kathleen asked Sep 18, 2014
19,625 views
Consider the partial implementation of a $2-bit$ counter using $T$ flip-flops following the sequence $0-2-3-1-0,$ as shown below.To complete the circuit, the input $X$ sh...