GATE DA 2025 · Set 2 · Linear Search & Binary Search

MCQ · 1 mark · Problem PROG-SRCH-0008

For \(x \in \mathbb{R}\), the floor function is denoted by \(f(x)=\lfloor x \rfloor\) and defined as follows\(\lfloor x \rfloor = k, \quad k \leq x < k + 1,\)where \(k\) is an integer. Let \(Y = \lfloor X \rfloor\), where \(X\) is an exponentially distributed random variable with mean \(\frac{1}{\ln 10}\), where \(\ln\) denotes the natural logarithm. For any positive integer \(\ell\), one can write the probability of the event \(Y = \ell\) as follows\(P(Y = \ell) = q^\ell(1 - q)\)The value of \(q\) is
  1. A
    0.1
  2. B
    0.01
  3. C
    0.5
  4. D
    0.434

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solution\(X\sim\text{Exponential}\) with mean \(\dfrac1{\ln10}\), so rate \(\lambda=\ln10\)\(P(Y=\ell)=P(\ell\le X<\ell+1)=F_X(\ell+1)-F_X(\ell)=\big[1-e^{-\lambda(\ell+1)}\big]-\big[1-e^{-\lambda\ell}\big]=e^{-\lambda\ell}-e^{-\lambda(\ell+1)}=e^{-\lambda\ell}(1-e^{-\lambda})\)Comparing to the given form \(q^\ell(1-q)\), we need \(q=e^{-\lambda}=e^{-\ln10}=\dfrac1{10}=0.1\)Answer: 0.1Click Here for Detail SolutionGateOverflow discussion: https://gateoverflow.in/460991/gate-da-2025-question-31

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com