Skip to content
Official PYQ · 2014

GATE CS 2014 Set 1 Q8 — Number Representations (Fixed and Floating Point)

Explain with AI
The base (or radix) of the number system such that the following equation holds is____________.

31220=13.1\frac{312}{20} = 13.1
View worked solution

Answer: 5

Let the base (or radix) of the number system be rr. Since the digits 0,1,2,0, 1, 2, and 33 are used in the equation, the base must satisfy r>3r > 3.

The given equation is:

312r20r=13.1r\frac{312_r}{20_r} = 13.1_r

We can rewrite this as:

312r=20r×13.1r312_r = 20_r \times 13.1_r

Converting both sides to their base-10 algebraic representations:

  • 312r=3r2+1r+2312_r = 3r^2 + 1r + 2
  • 20r=2r+0=2r20_r = 2r + 0 = 2r
  • 13.1r=1r1+3r0+1r−1=r+3+1r13.1_r = 1r^1 + 3r^0 + 1r^{-1} = r + 3 + \frac{1}{r}

Substituting these into the equation:

3r2+r+2=2r(r+3+1r)3r^2 + r + 2 = 2r \left(r + 3 + \frac{1}{r}\right)

Expanding the right-hand side:

3r2+r+2=2r2+6r+23r^2 + r + 2 = 2r^2 + 6r + 2

Subtracting 2r2+6r+22r^2 + 6r + 2 from both sides gives:

r2−5r=0r^2 - 5r = 0 r(r−5)=0r(r - 5) = 0

Since the radix rr must be a positive integer greater than 33, we discard r=0r = 0.

r=5r = 5

Thus, the base of the number system is 5.

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

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