Chapter 7 Quiz: Reasoning Under Uncertainty

20 Questions
Time: 00:00

Q1. MCQ

If P(A) = 0.6 and P(B) = 0.5 and A, B are independent, what is P(A ∪ B)?

Q2. MCQ

Bayes' theorem states P(A|B) =

Q3. NAT

Factories produce 30%, 45%, 25% of items with defect rates 3%, 4%, 5%. An item is defective. P(Factory 2) = ______ (round to 4 decimal places).

Q4. MCQ

For a fair six-sided die, what is the entropy H(X)?

Q5. True/False

KL divergence is symmetric: DKL(P||Q) = DKL(Q||P).

Q6. MCQ

In a Bayesian network A → C ← B, with C not observed, which is true?

Q7. MCQ

The Markov blanket of a node X in a BN includes:

Q8. NAT

MLE of P(Heads) after 20 flips with 14 heads = ______.

Q9. MCQ

In Naive Bayes, the "naive" assumption is:

Q10. True/False

In an HMM, the Forward algorithm has time complexity O(T · N²) where T is the sequence length and N is the number of states.

Q11. MCQ

Which inference method gives exact results in Bayesian networks?

Q12. NAT

X takes values {1,2,3,4} with probabilities {1/2, 1/4, 1/8, 1/8}. H(X) = ______ bits.

Q13. MCQ

The Bellman optimality equation for value function is:

Q14. MSQ

Select ALL correct statements about Laplace smoothing in Naive Bayes:

Q15. True/False

If the prior is uniform, then MAP estimation reduces to MLE.

Q16. MCQ

The Viterbi algorithm solves which HMM problem?

Q17. NAT

BN: A → B, A → C. P(A=T) = 0.3, P(B=T|A=T) = 0.9, P(B=T|A=F) = 0.4, P(C=T|A=T) = 0.7, P(C=T|A=F) = 0.2. P(B=T, C=T) = ______.

Q18. MCQ

What is mutual information I(X;Y)?

Q19. True/False

In a BN, observing a collider's descendant does NOT activate the path through the collider.

Q20. MCQ

In value iteration for an MDP, the discount factor γ must satisfy: