The GATE Grind

GATE 2021 EC – Question 21

Digital Circuits · Number Representations · 1 mark · Multiple choice

If $(1235)_x=(3033)_y$, where $x$ and $y$ indicate the bases of the corresponding numbers, then

  1. $x=7$ and $y=5$
  2. $x=8$ and $y=6$
  3. $x=6$ and $y=4$
  4. $x=9$ and $y=7$

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) $x=8$ and $y=6$

Explanation

Convert each digit string to decimal.

For $x=8,\ y=6$: $(1235)_8=1\cdot512+2\cdot64+3\cdot8+5=669$ and $(3033)_6=3\cdot216+0\cdot36+3\cdot6+3=669$. They are equal.

(The other pairs give different values, e.g. $x=7,y=5$: $(1235)_7=467$ but $(3033)_5=393$.)

More Number Representations questions

All Number Representations questions →