public Question randomQuestion() {
        if (getRandomIsPriority()) {
            Operator operatorLeft = getRandomOperator();
            Operator operatorRight = getRandomOperator(operatorLeft);
            return new PriorityQuestion(operatorLeft, operatorRight);
        } else {
            return new AssociativityQuestion(getRandomOperator());
        }
    }