def METHOD_NAME(self, replies):
    """
    :param replies: list of tuples (question_object, alternative_number)
    :raises QuizReplyTimeout if the quiz is timed and the reply timed out.
    """
    if self.has_timed_out():
        raise QuizReplyTimeout
    for q, alternative in replies:
        QuestionReply.objects.update_or_create(
            question=q,
            quiz_reply=self,
            defaults={
                "alternative": alternative,
            },
        )