private static void printExamQuestionsResult() throws IOException {
		// First get the student
		System.out.print("Enter student name: ");
		String studentName = inputReader.readLine();
		Student student = getStudent(studentName);
		if (student == null) {
			return;
		}

		// Then get the course occasion
		CourseOccasion courseOccasion = getCourseOccasion();
		if (courseOccasion == null) {
			return;
		}

		// Last get the exam
		Exam exam = getExam(courseOccasion);
		if (exam == null) {
			return;
		}

		// Then print a nice looking table with the result for all questions
		String formatString = "%-7s %-12s %-10s %-10s %-10s";
		System.out.println(String.format(formatString, "Number", "Assignment", "Passed", "Natural", "Real"));
		System.out.println("------------------------------------------------");
		
		// Iterate all questions
		for (Assignment assignment : exam.getAssignments()) {
			String passed = "";
			String natural = "";
			String real = "";
			
			// Iterate all resulsts and find the correct students results
			for (AssignmentResult assignmentResult : assignment.getAssignmentResults()) {
				if (assignmentResult.getStudent().getId() == student.getId()) {
					// Find the correct result type and set its
					if (assignmentResult.getResultType().equals("PASSED")) {
						passed = assignmentResult.getPassed().toString();
					} else if (assignmentResult.getResultType().equals("NATURAL")) {
						natural = "" + assignmentResult.getPointsNatural();
					} else {
						real = "" + assignmentResult.getPointsReal();
					}
					System.out.println(String.format(formatString, assignment.getNr(), assignment.getName(), passed, natural, real));
					break;
				}
			}
		}
	}