Skip to main content

GATE CSE 2019Digital Logic › Number Systems & RepresentationVerified

GATE CSE 2019 PYQ: Two numbers are chosen independently and uniformly at random from the set { 1 , 2 , … , 13 } .…

Two numbers are chosen independently and uniformly at random from the set {1,2,…,13}.\{1,2,\ldots,13\}.
The probability (rounded off to 3 decimal places) that their 4-bit4\text{-bit} (unsigned) binary representations have the same most significant bit is ___________.

    Answer

    0.503

    Approach

    Count how many numbers in the set have MSB 0 and MSB 1 in their 4-bit unsigned binary representations. Since the two selections are independent and uniform, sum the two squared probabilities and round the result to three decimal places.

    The exact probability is 85/169 ≈ 0.5029586, and the question specifically asks for rounding to 3 decimal places, which gives 0.503.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.