GATE / CS ARCHIVE

GATE CSE 2021 SET 2 / QUESTION 18

GATE CSE 2021 Set 2 Q18

Digital Logic · Number Systems & Computer Arithmetic · Full GATE CSE 2021 Set 2 paper

GATE 2021 Set 2, Q18 1 mark · NAT
Report issue

Number Systems & Computer Arithmetic

Question 18, GATE 2021: Decimal digits x,y satisfy (0.1101)₂=(0.8xy5)₁₀. Find x+y.
Tap to enlarge
Answer & solution

Official answer: 3

Step through it (8 steps)

Binary0.1101 equals 1/2+1/4+1/16=13/16=0.8125. Thus x=1, y=2 and x+y=3.

Weights to the right of the binary point are 2−1,2−2,2−3,2−4. Only the third bit is zero. Matching 0.8125 to 0.8xy5 identifies the digits individually before adding. The answer is an integer sum of digits, not the binary fraction's numerator.

Original paper, page 64 · Answer key