🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Probability and Bayes: questions with answers

15 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. Out of 80 students with an internship, 72 were placed. What is P(placed | internship)?
  2. Q2. P(placed) = 0.69 and P(placed | internship) = 0.9. What can you conclude?
  3. Q3. What does this print? (code)
  4. Q4. A detector catches 90% of AI-written work and wrongly flags 8% of honest work, but only 5% of work is AI-written. Why are most flags wrong?
  5. Q5. Which formula is Bayes' theorem?
  6. Q6. Why does Naive Bayes add log-probabilities instead of multiplying probabilities?
  7. Q7. What is Laplace (add-one) smoothing for?
  8. Q8. Why is the classifier called "naive"?
  9. Q9. What does this print? (code)
  10. Q10. A fraud model flags a transaction. What is the most sensible next step?
  11. Q11. Using the 200-student table, what is P(not placed)?
  12. Q12. What does this print? (code)
  13. Q13. "90% of interns got placed." Which statement is a DIFFERENT probability?
  14. Q14. In the AI-flag example, what happens to the share of correct flags as AI-written work becomes more common?
  15. Q15. Two fair coins are tossed. What is P(both heads)?