Calculating probabilities of correct answers