This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Moles of hydrocarbon $=\frac{17\times10^{-3}}{136}=0.125$ mmol. Moles of H$_2$ at STP $=\frac{8.40}{22400}=0.375$ mmol. Ratio $=3$, so $3$ double bonds are hydrogenated. C$_{10}$H$_{16}$ has $3$ degrees of unsaturation, so all are C=C bonds and there is no ring. Answer: 3.