The probability (rounded off to decimal places) that their (unsigned) binary representations have the same most significant bit is ___________.
View worked solution
Answer: 0.502 : 0.504
To find the probability that two independently and uniformly chosen numbers from the set have the same most significant bit (MSB) in their 4-bit unsigned binary representation, we first determine the MSB of each number.
The 4-bit binary representations of the numbers from to are:
- MSB = 0:
- MSB = 1:
Since the two numbers are chosen independently and with replacement, the total number of possible outcomes is:
The favorable outcomes are those where both numbers have the same MSB:
- Both numbers have : ways
- Both numbers have : ways
Thus, the total number of favorable outcomes is:
The required probability is:
Rounding off to decimal places, we get .
Free practice · Your answers on this page are not saved.
