(Unanswered duplicate here, from 9 years ago)
Suppose we're trying to brute force a multiple-choice test. Each question $i$ has $A_i$ answers, and there is only one right answer for each question. We are allowed unlimited attempts, but after each attempt, we are only given the amount of questions we got right, but not which ones.
The question is: How many tests do we need to take, in the worst case scenario? Is there an algorithm that allows us to do this?
A simple calculation suggests that the lower bound is $\lceil log_{(q-1)}(P) \rceil$, where $q$ is the number of questions, and $P=\prod\limits_{n=1}^{q}A_n$. Unfortunately, the formula only works for $q\ge3$. Also, it generates a very low numbers, indicating it can be improved.