Probability & Statistics
Subject: AI-ML | Chapter: Probability & Statistics Time Limit: 20 minutes | Total Marks: 30
Instructions: Answer all questions. For True/False items, a correct justification is required for full marks. Use for any math you write.
Section A — Multiple Choice (1 mark each) [10 marks]
Q1. The three Kolmogorov axioms require that for any event , ; that ; and that for mutually exclusive events, probability is: (a) multiplicative (b) additive (c) subtractive (d) constant
Q2. Conditional probability is defined (for ) as: (a) (b) (c) (d)
Q3. Bayes' theorem expresses as: (a) (b) (c) (d)
Q4. Two events and are independent if and only if: (a) (b) (c) (d)
Q5. For a continuous random variable, the probability density function satisfies: (a) is a probability (b) (c) (d) always
Q6. The variance of a random variable equals: (a) (b) (c) (d)
Q7. For a Binomial distribution, the mean is: (a) (b) (c) (d)
Q8. The Poisson distribution with parameter has mean and variance: (a) mean , variance (b) mean , variance (c) mean , variance (d) both equal to
Q9. The Central Limit Theorem states that the distribution of the sample mean of i.i.d. variables approaches: (a) uniform (b) exponential (c) Gaussian/normal (d) Poisson
Q10. In hypothesis testing, the p-value is: (a) the probability the null hypothesis is true (b) the probability of observing data at least as extreme as observed, assuming is true (c) the significance level (d) the power of the test
Section B — Matching (1 mark each) [6 marks]
Q11. Match each distribution/quantity (i–vi) to its property (A–F).
| # | Term | Property | |
|---|---|---|---|
| i | Bernoulli | A | Memoryless continuous distribution |
| ii | Exponential | B | Mean |
| iii | Uniform | C | Single trial, values |
| iv | KL divergence | D | Always symmetric, bell-shaped |
| v | Normal | E | , |
| vi | Correlation | F | Normalized covariance, in |
Section C — True/False with Justification (2 marks each: 1 verdict + 1 justification) [14 marks]
Q12. Mutually exclusive events with nonzero probability are always independent. (T/F + justify)
Q13. The CDF of any random variable is non-decreasing and satisfies , . (T/F + justify)
Q14. For independent random variables and , the covariance . (T/F + justify)
Q15. The Law of Large Numbers guarantees the sample mean equals the true mean for any finite sample size. (T/F + justify)
Q16. MAP estimation reduces to MLE when the prior is uniform (flat). (T/F + justify)
Q17. Cross-entropy between distributions and equals the entropy of plus the KL divergence . (T/F + justify)
Q18. A 95% confidence interval means there is a 95% probability that the true parameter lies in that specific computed interval. (T/F + justify)
Answer keyMark scheme & solutions
Section A
Q1. (b) additive. Third axiom: countable additivity for disjoint events. — 1 mark
Q2. (b) . Definition of conditioning. — 1 mark
Q3. (a) . Bayes' rule = likelihood × prior / evidence. — 1 mark
Q4. (c) . Definition of independence. — 1 mark
Q5. (c) . Density integrates to 1; can exceed 1. — 1 mark
Q6. (b) . Standard variance identity. — 1 mark
Q7. (a) . Sum of Bernoulli means . — 1 mark
Q8. (b) mean , variance . Poisson mean = variance. — 1 mark
Q9. (c) Gaussian/normal. CLT conclusion. — 1 mark
Q10. (b). p-value is tail probability under . — 1 mark
Section B
Q11. — 1 mark each correct pair:
- i → C (Bernoulli: single trial )
- ii → A (Exponential: memoryless)
- iii → B (Uniform mean )
- iv → E (KL divergence formula, )
- v → D (Normal: symmetric bell)
- vi → F (Correlation: normalized covariance in )
Section C
Q12. FALSE. — verdict 1, justify 1. If mutually exclusive, , but independence needs when both are nonzero. They contradict.
Q13. TRUE. — verdict 1, justify 1. By definition is monotone non-decreasing, right-continuous, with limits and at .
Q14. TRUE. — verdict 1, justify 1. Independence , so . (Converse not guaranteed.)
Q15. FALSE. — verdict 1, justify 1. LLN gives convergence (in probability/almost surely) as , not exact equality at finite .
Q16. TRUE. — verdict 1, justify 1. MAP maximizes ; a flat prior makes constant, so it reduces to maximizing the likelihood = MLE.
Q17. TRUE. — verdict 1, justify 1. by expanding .
Q18. FALSE. — verdict 1, justify 1. The 95% refers to the long-run coverage frequency of the procedure; a specific computed interval either contains or not. Frequentist parameters aren't random.
[
{"claim":"Binomial(n,p) mean equals n*p (Q7)","code":"n,p=symbols('n p',positive=True); mean=n*p; result = simplify(mean - n*p)==0"},
{"claim":"Variance identity Var=E[X^2]-(E[X])^2 for X uniform on {1,2,3} (Q6)","code":"vals=[1,2,3]; EX=Rational(sum(vals),3); EX2=Rational(sum(v*v for v in vals),3); var=EX2-EX**2; direct=Rational(sum((v-EX)**2 for v in vals),3); result = simplify(var-direct)==0"},
{"claim":"Mutually exclusive nonzero events cannot be independent: P(A)P(B)!=0 while P(A cap B)=0 (Q12)","code":"PA=Rational(1,2); PB=Rational(1,3); inter=0; result = (PA*PB != inter)"},
{"claim":"Cross-entropy = H(p)+KL(p||q) for sample p,q (Q17)","code":"p=[Rational(1,2),Rational(1,2)]; q=[Rational(1,4),Rational(3,4)]; H=-sum(pi*log(pi) for pi in p); KL=sum(pi*log(pi/qi) for pi,qi in zip(p,q)); CE=-sum(pi*log(qi) for pi,qi in zip(p,q)); result = simplify(CE-(H+KL))==0"}
]