Probability Rules & Conditional Probability — Concept Check
Questions on Probability Rules & Conditional Probability. Probability quantifies uncertainty from 0 to 1; conditional probability P(A|B) updates that belief once you know something — the mechanism behind every model that predicts under uncertainty.
Questions in this quiz
8 questions on Probability Rules & Conditional Probability — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A dataset contains emails marked as spam or not and whether they contain the word 'free'. If the probability of an email being spam and containing 'free' is 0.2, and the probability of containing 'free' is 0.5, what is the probability of an email being spam given it contains 'free'?
- A0.3
- B0.5
- C0.1
- D0.4
2.In a predictive text model, the probability of the next word given the previous words is calculated using:
- AThe rule of independence
- BThe sum rule
- CThe product rule
- DThe chain rule of probability
3.A machine learning model predicts spam emails using the presence of certain words. If 'free' appears in 60% of spam emails and 30% of non-spam emails, is the presence of 'free' a good predictor of spam?
- AYes, because it appears more in spam emails
- BNo, because it appears less in spam emails
- CYes, because it appears in all emails
- DNo, because it appears in both types
4.If P(A) = 0.3 and P(B) = 0.5, and A and B are independent, what is P(A and B)?
- A0.15
- B0.3
- C0.8
- D0.5
5.In a dataset, if P(A and B) = 0.1 and P(B) = 0.2, what is P(A|B)?
- A0.5
- B0.1
- C0.4
- D0.2
6.When using the Naive Bayes classifier, why is it assumed that features are independent?
- ATo increase accuracy
- BTo handle more data
- CBecause they are always independent
- DTo simplify calculations
7.Given P(A|B) = 0.7 and P(B) = 0.5, what is P(A and B)?
- A0.35
- B0.7
- C0.5
- D0.2
8.A language model predicts the next word in a sentence. If the probability of the first word is 0.4, the second given the first is 0.6, and the third given the first two is 0.7, what is the probability of the sentence?
- A0.6
- B0.4
- C0.7
- D0.168