Gate CS-2004 Question Paper With Solutions

Q. 41 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)

(A) 9.51 and 10.0 respectively

(B) 10.0 and 9.51 respectively

(C) 9.51 and 9.51 respectively

(D) 10.0 and 10.0 respectively

Answer: (A)

Explanation:

Gate CS-2004 Question Paper With Solutions

Learn More:   Gate EC-2016 - 2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here