Skip to content
Official PYQ · 2021

GATE CS 2021 Set 2 Q18 — Number Representations (Fixed and Floating Point)

Explain with AI
If xx and yy are two decimal digits and (0.1101)2=(0.8xy5)10(0.1101)_2 = (0.8xy5)_{10}, the decimal value of x+yx+y is ___________
View worked solution

Answer: 3 : 3

To find the value of x+yx + y, we first convert the binary fraction (0.1101)2(0.1101)_2 to its decimal equivalent:

(0.1101)2=1×2−1+1×2−2+0×2−3+1×2−4(0.1101)_2 = 1 \times 2^{-1} + 1 \times 2^{-2} + 0 \times 2^{-3} + 1 \times 2^{-4}

Calculating each term:

1×0.5=0.51 \times 0.5 = 0.5 1×0.25=0.251 \times 0.25 = 0.25 0×0.125=00 \times 0.125 = 0 1×0.0625=0.06251 \times 0.0625 = 0.0625

Adding these values together:

0.5+0.25+0+0.0625=0.81250.5 + 0.25 + 0 + 0.0625 = 0.8125

Now, we compare this decimal representation with the given form (0.8xy5)10(0.8xy5)_{10}:

0.8125=0.8xy50.8125 = 0.8xy5

By matching the corresponding decimal places, we get:

  • x=1x = 1
  • y=2y = 2

Thus, the decimal value of x+yx + y is:

x+y=1+2=3x + y = 1 + 2 = 3

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Number Representations (Fixed and Floating Point) questions