Added implementation for getAllQuestionsAndAnswersForExam