{% extends "base.html" %} {% block title %}学生答卷详情 - {{ student.name }}{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block content %}

学生答卷详情

返回成绩列表
考试信息

考试名称: {{ exam.title }}

总分: {{ result.score }} / {{ exam.total_score }}

学生信息

姓名: {{ student.name }}

学号: {{ student.student_id }}


答题详情
{% for question in questions %}

题干:

{{ question.question_text | safe_markdown }}
{% if question.question_type == 'choice' and question.options and question.options is mapping %}

选项:

    {% for key, value in question.options.items() %}
  • {{ key }}: {{ value }}
  • {% endfor %}
{% endif %}

正确答案: {% if question.question_type == 'judge' %} {% if question.correct_answer|lower in ['true', 't', '1'] %}对{% elif question.correct_answer|lower in ['false', 'f', '0'] %}错{% else %}{{ question.correct_answer }}{% endif %} {% else %} {{ question.correct_answer }} {% endif %}

{% if question.question_type == 'choice' and question.options and question.options is mapping %} {% elif question.question_type == 'choice' %} {% elif question.question_type == 'judge' %} {% else %} {% endif %}

/ {{ question.max_score }}
{% endfor %}
{% endblock %}