NAIMMCQ
Programming
X is an integer drawn from a uniform distribution 1..7 (including 1 and 7). What is the probability that bit 1 of the binary representation of X is set? (Assume that the lowest bit has index 0)
X is an integer drawn from a uniform distribution 1..7 (including 1 and 7). What is the probability that bit 1 of the binary representation of X is set? (Assume that the lowest bit has index 0)
X is an integer drawn from a uniform distribution 1..7 (including 1 and 7). What is the probability that bit 1 of the binary representation of X is set? (Assume that the lowest bit has index 0).
- 4/7
- 1/7
- 1/3
- 1