{% extends 'base.html' %} {% block title %}Printable Paper - AutoExamGen{% endblock %} {% block head %} {% endblock %} {% block content %}

{{ config.exam_name if config.exam_name else 'EXAMINATION QUESTION PAPER' }}

Subject: {{ config.subject_name if config.subject_name else '[Subject Name]' }}

Date: {{ exam_date }}     Time: {{ display_duration }} minutes     Total Marks: {{ total_marks }}


INSTRUCTIONS:

{% if config.mcq_questions > 0 and question_paper.mcq_questions %}
SECTION A: MULTIPLE CHOICE QUESTIONS (1 mark each)

Choose the best answer for each question. Circle the letter of your choice.

{% for question in question_paper.mcq_questions %}
[1 mark] {{ loop.index }}.
{{ question.question if question.question else question }}
{% if question.options %} {% for option in question.options %}
{{ ['A', 'B', 'C', 'D'][loop.index0] }}) {{ option }}
{% endfor %} {% else %}
A) [Option A]
B) [Option B]
C) [Option C]
D) [Option D]
{% endif %}
{% endfor %} {% endif %} {% if config.short_questions > 0 and question_paper.short_questions %}
SECTION B: SHORT ANSWER QUESTIONS ({{ config.short_marks }} marks each)
{% if config.short_or %}

Answer ALL questions in this section. For each question, answer either Question A or Question B.

{% else %}

Answer ALL questions in this section.

{% endif %} {% for item in question_paper.short_questions %} {% if config.short_or and (item.a or item.b) %}
[{{ config.short_marks }} marks] {{ loop.index }}.
A) {{ (item.a.question if item.a.question else item.a) if item.a else '' }}
{% if item.b %}
OR
B) {{ (item.b.question if item.b.question else item.b) if item.b else '' }}
{% endif %}
{% else %}
[{{ config.short_marks }} marks] {{ loop.index }}.
{{ item.question if item.question else item }}
{% endif %} {% endfor %} {% endif %} {% if config.long_questions > 0 and question_paper.long_questions %}
SECTION C: LONG ANSWER QUESTIONS ({{ config.long_marks }} marks each)
{% if config.long_attempt %}

Attempt any {{ config.long_attempt }} out of {{ config.long_questions }} questions.

{% else %}

Answer ALL questions in this section.

{% endif %} {% for question in question_paper.long_questions %}
[{{ config.long_marks }} marks] {{ loop.index }}.
{{ question.question if question.question else question }}
{% endfor %} {% endif %} {% endblock %}