I came across a question that I have no clue how to answer:
Suppose you are designing a diagnostic multiple choice quiz with the goal of distinguishing learners who have mastered a concept $(P(\text{correct}|\text{mastery}) \ge 1/2)$ from learners who are randomly guessing $(P(\text{correct}|\text{~mastery}) = 1/4)$.
What is the minimum number of questions necessary to be able to declare that a learner has mastered a concept with at least 95% probability?
Assume statistical independence for the different questions, and P(mastery) = 1/2.