🏆
Quality Assured Publisher
Serving Researchers Since 2012

A Source-Grounded, Bloom’s Taxonomy- Aware Framework for Automated Question Paper Generation

DOI : 10.5281/zenodo.24709260
Download Full-Text PDF Cite this Publication

Text Only Version

A Source-Grounded, Blooms Taxonomy- Aware Framework for Automated Question Paper Generation

Sai Tharun M

Department of CSE, Presidency University Bengaluru, India

Srirama Gollanavar

Department of CSE, Presidency University, Bengaluru, India

Krishna

Department of CSE, Presidency University Bengaluru, India

Ms. Delsy Jyothi

Assistant Professor, Department of CSE Presidency University, Bengaluru, India

Abstract – Preparing a balanced university examination paper requires instructors to interpret course materials, identify assessable concepts, formulate questions at appropriate cognitive levels, distribute marks, and verify coverage and repetition. This paper presents the design of a source-grounded, Blooms Taxonomy-aware framework for automated question paper generation (BAQPGF). The workflow combines document ingestion and normalization, context-conditioned large language model (LLM) generation, candidate validation, blueprint-based assembly, faculty review, and document export. The implementation context comprises a React interface, a FastAPI/Python service layer, Gemini-based generation, and database-backed persistence. Candidate questions are intended to retain source provenance and are checked for subject relevance, schema integrity, cognitive-level alignment, marks suitability, duplicate similarity, and multiple-choice quality. A reported development-server integration run produced a 30- question paper with a total of 100 marks. This observation establishes only that one configured workflow completed; it does not establish semantic correctness, pedagogical validity, or generalization across subjects. We formalize the workflow, present its architectural design, and define an evaluation protocol for subsequent independent testing.

Index Terms – Automated question generation, Blooms Taxonomy, large language models, educational assessment, source grounding, question validation, examination blueprint.

  1. INTRODUCTION

    Assessment design is a constrained academic task rather than a simple exercise in producing fluent sentences. A lecturer must map learning outcomes to course content, decide what evidence demonstrates learning, select a suitable cognitive operation, allocate marks, and ensure that the final paper is balanced and internally consistent. These decisions are repeated across subjects and semesters, while poorly controlled automation can introduce unsupported facts, duplicate prompts, unsuitable distractors, or a mismatch between question depth and marks.

    Neural question generation has been studied using passage context and attention mechanisms [1]. Recent work has also examined the use of large language models (LLMs) with Blooms Taxonomy for educational quiz creation [2]. These directions motivate a system that treats context and

    learning objectives as first-class inputs. The central premise of BAQPGF is that generated questions should be traceable to selected instructional material and assembled under explicit assessment constraints.

    The framework is designed to be subject-agnostic: the selected source material and instructor-defined blueprint, rather than discipline-specific hardcoding, should govern the generated content. Bloom levels are treated as intended cognitive demands, not as labels inferred from isolated verbs. Human review remains necessary because fluent wording and a taxonomy tag do not prove that a question measures the intended outcome.

    The contributions are fourfold: (1) an end-to-end architecture linking uploaded material to traceable question candidates; (2) a validation model covering source relevance, structure, cognitive alignment, marks fit, uniqueness, and provenance; (3) a formalization of blueprint assembly using count and marks constraints; and (4) a transparent evaluation plan separating functional completion from question quality and educational impact.

  2. RELATED WORK

    1. Blooms Taxonomy and Assessment Design

      Bloom and colleagues introduced a taxonomy of educational objectives that organizes cognitive learning objectives [3]. Anderson and Krathwohl later revised the framework, commonly expressed through Remember, Understand, Apply, Analyze, Evaluate, and Create [4]. The levels help describe the cognitive work expected of a learner, but they do not mechanically determine difficulty. A short question may demand analysis in a familiar context, while a long prompt may only ask for recall. Accordingly, the proposed framework associates Bloom level with the reasoning required by the question and treats the label as a validation target.

    2. Neural and LLM-Based Question Generation

      Du et al. studied neural question generation from reading- comprehension passages, highlighting the value of passage- level context for generating relevant questions [1].

      Transformer architectures provide a foundation for many modern language models through self-attention [5]. Elkins et al. investigated how teachers can use LLMs and Blooms Taxonomy to create educational quizzes [2]. BAQPGF does not propose a new language model; it focuses on the surrounding engineering needed to turn model outputs into a structured examination artifact.

    3. Grounding, Validation, and Research Gap

    Retrieval-augmented generation connects language-model outputs to external evidence and can improve access to knowledge-intensive information [6]. For assessment generation, however, the existence of source text is not sufficient: the chosen passage must support the claim made in the question, and a citation or source identifier must accurately identify that passage. The practical gap addressed here is integration of source provenance, assessment constraints, candidate validation, and paper assembly in a single workflow. The present evidence is implementation- oriented; claims about reliability or learning outcomes require a broader evaluation.

  3. SYSTEM ARCHITECTURE AND METHODOLOGY

    The architecture separates the user interface, orchestration service, document-processing path, generation service, persistence layer, validation stage, and paper assembly. Faculty select a subject, upload course material, specify a blueprint, and review the generated paper. The React interface communicates with a FastAPI backend through API requests. The backend coordinates extraction and normalization, prepares context and generation constraints, stores relevant records, and returns a paper object for preview and export.

    Fig. 1. Proposed BAQPGF architecture. The validation and assembly stages are logical responsibilities; exact deployment boundaries may vary by implementation.

    1. Document Ingestion and Provenance

      Source material may include text-bearing PDFs and slide decks. The ingestion stage extracts text, normalizes whitespace and encoding, removes extraction artifacts where possible, and segments the result into manageable chunks. Each chunk should preserve the material identifier and page or slide location when available. Extraction quality is a prerequisite: malformed object streams, scanned pages without OCR, broken reading order, and table loss can contaminate the context before generation begins.

      Topic labels are useful for navigation but are not a substitute for source evidence. A generation request should include the selected passage or chunk, subject and material identifiers, requested Bloom level, marks, question type, and

      difficulty. The resulting candidateshould retain provenance metadata so that a reviewer can trace its factual basis. If a source does not support the requested question, the safe outcome is rejection or bounded regeneration – not unsupported completion.

    2. Bloom-Aware Candidate Generation

      Let the generation request specify a cognitive level, mark value, difficulty target, and question type. The prompt should ask for one well-formed candidate with an explicit answer or expected-answer outline where appropriate. The six cognitive levels are interpreted operationally: Remember retrieves information; Understand explains or interprets it; Apply uses it in a situation; Analyze examines relationships or components; Evaluate justifies a judgment against criteria; and Create produces a coherent design, plan, or solution. These are review criteria, not guarantees that a model has achieved the intended cognitive demand.

    3. Candidate Validation

      Candidate validation is designed as a set of gates. Relevance checks whether the question is supported by the selected source and belongs to the intended subject. Schema checks require a non-empty stem and valid fields. Bloom alignment examines the reasoning actually required. Marks fit checks whether the expected response depth is plausible for the assigned marks. Duplicate screening compares candidates to avoid near-repetition. MCQ checks require a complete option set and one defensible answer. Provenance checks ensure that source references belong to the current material and generation job.

      A rejected candidate should carry a machine-readable reason. Regeneration should be bounded to avoid endless loops, and the system should report an incomplete blueprint if the valid candidate pool cannot satisfy the requested constraints. It should not silently substitute unrelated questions or label a partial paper as complete.

      Fig. 2. End-to-end generation and validation workflow. Rejected candidates are excluded or regenerated under a bounded policy.

    4. Blueprint Assembly and Export

      A blueprint specifies section definitions, question types, question counts, marks, and optional constraints on units, topics, difficulty, and Bloom-level distribution. Assembly should select from the validated pool while respecting mandatory constraints; selecting the first available candidates is not a robust strategy. A final consistency check verifies section counts, total marks, question provenance, and subject isolation. Preview and export should consume the same final paper object so that the reviewed version and the PDF/DOCX output do not diverge.

  4. MATHEMATICAL FORMULATION

    1. Source-Conditioned Generation

      Let D denote the uploaded material and C(D) the set of

      normalized source chunks. For a selected context c C(D), Bloom level b, marks m, difficulty d, and question type t, a generation model G proposes candidate q:

      q = G(c, b, m, d, t). (1)

      The source-grounding condition requires factual assertions in q to be supported by c. This condition is semantic and cannot be established by the presence of a source identifier alone.

    2. Candidate Validity

      Define binary predicates R, B, M, S, U, and P for source relevance, Bloom alignment, marks suitability, schema integrity, uniqueness, and provenance consistency, respectively. A strict acceptance rule is:

      (2)

      In practice, each predicate needs an operational test and a recorded outcome. Some checks can be deterministic, such as required fields and mark totals; others, including cognitive alignment and semantic support, require expert review or a separately validated evaluator. Automated checks should therefore be treated as screening signals, not as a substitute for academic judgment.

    3. Near-Duplicate Screening

      If question embeddings e(q) and e(q) are available, cosine similarity can flag semantically similar candidates:

      (3)

      A threshold may be used to route pairs with sim(q,q) to review or rejection. The threshold must be calibrated on labelled pairs; high similarity can occur between distinct questions on the same concept, while paraphrased duplicates can evade simple lexical matching.

    4. Blueprint Feasibility

      Let Q = {q,,q} be the validated pool, m the mark value of candidate i, and x {0,1} indicate whether it is selected. For a target total M, the exact-mark constraint is:

      (4)

      For section s, let a be 1 when candidate i belongs to section s and n the required count. Then:

      (5)

      Let z indicate whether question i is assigned to Bloom level b. If the blueprint specifies lower and upper bounds L and U, then:

      (6)

      These constraints express the intended assembly problem; they do not imply that a formal optimization solver is already deployed. Feasibility must be checked against the candidate pool before the system claims a complete paper.

    5. Operational Completion Metrics

    Functional checks can be summarized without conflating them with semantic quality. Blueprint completion (BC), mark consistency (MC), and provenance coverage (PC) are defined as:

    (7)

    (8)

    Here I(·) equals 1 when the condition is true and 0 otherwise. BC and PC are proportions; MC is a binary consistency indicator. None directly measures factual correctness, Bloom validity, fairness, or learning impact.

  5. IMPLEMENTATION CONTEXT

    The current project context uses React for the browser- facing interface and FastAPI/Python for backend request handling. Gemini provides the LLM generation capability, while a database-backed workflow persists application entities and generated artifacts. MySQL has been used in the project stack. This component description records the implementation context; it should not be interpreted as a benchmark comparison among frameworks or model providers.

    The primary request path begins with subject and source selection. After ingestion, the backend constructs a context- bound generation request and obtains candidate questions. Candidates are checked before paper assembly. The assembled paper is then made available for review and export. The reported development-server check returned HTTP 201 and produced paper identifier 1003, titled End Semester Examination – Information Security and Management, with 30 questions and 100 marks. Its configured composition was 10 one-mark questions, 10 two- mark questions, six five-mark questions, and four ten-mark questions. This is a single integration observation reported during project debugging, not an independently reproduced experiment.

    The example MCQ from that run concerned the AES SubBytes transformation and was labelled Bloom L2 (Understand). A short-answer example concerned the IPsec protocol providing confidentiality in addition to authentication and integrity and was labelled L3 (Apply). These examples demonstrate the shape of generated output but do not establish that every question is correct or that the assigned Bloom levels are valid. They require source-level and instructor-level verification.

  6. EVALUATION DESIGN AND OBSERVED

    FUNCTIONAL CHECK

    1. Functional Evidence

      The only quantitative observation reported here is the 30- question, 100-mark integration run described above. Its section composition is summarized in Fig. 3. Part A contributes 10 marks, Part B contributes 20, Part C contributes 30, and Part D contributes 40; the sum is 100. The question counts sum to 30. This arithmetic consistency supports a narrow claim about output composition. It does

      not measure question relevance, factual correctness, cognitive alignment, duplicate rate, or teacher satisfaction.

      Fig. 3. Section composition from the reported development-server run. Thee bars summarize the configured output and are not quality-performance scores.

    2. Reproducible Evaluation Protocol

      A stronger evaluation should use a pre-registered test set drawn from multiple subjects and source formats. For each subject, retain the original material, chunk boundaries, generation configuration, model/version information, prompt template, raw candidates, validation decisions, final paper, and reviewer annotations. Report failure cases as well as successful generations. Repeated runs are needed to measure output variability.

      At minimum, evaluate: (i) source support, by checking whether each factual claim is entailed by cited material; (ii) subject relevance, using independent annotators; (iii) Bloom alignment, using a rubric that evaluates the required cognitive operation; (iv) marks-depth fit; (v) duplicate rate, with adjudicated near-duplicate pairs; (vi) blueprint completion and arithmetic consistency; and (vii) export fidelity between preview and downloaded files. Report sample sizes, annotation instructions, inter-rater agreement, confidence intervals where suitable, and disagreements.

    3. Metrics and Reporting

      For n reviewed questions, source-support precision may be estimated as the fraction judged fully supported, while Bloom agreement is the fraction for which the expert- assigned level matches the system label under a pre-defined rubric. Duplicate rate should be calculated over the final paper or candidate pool with the denominator stated explicitly. Time-to-completion should compare the same task under assisted and manual workflows. Any speed claim requires a defined start/end point and comparable participants. Automated text similarity scores such as BLEU

      [7] or BERTScore [8] may support narrow text comparisons but cannot, by themselves, establish educational quality or semantic correctness.

      No accuracy, precision, expert agreement, or time-saving percentages are reported in this paper because a suitable independent dataset and annotation study have not been supplied. Reporting this absence explicitly is preferable to presenting synthetic metrics as empirical findings.

    4. V-A. Data Model and Traceability

      A traceable implementation should distinguish source materials, extracted chunks, generation requests, candidate questions, validation outcomes, paper blueprints, and final papers. A material record identifies the uploaded object and its processing state. A chunk record should include a stable chunk identifier, material identifier, normalized text, and page or slide locator where available. A generation job binds

      the request to a subject, material set, blueprint version, prompt/model configuration, and creation timestamp. Candidate records should retain the stem, options where relevant, expected answer or rubric, question type, mark value, intended Bloom level, difficulty label, source references, and validation outcomes. A final paper should point to the exact selected candidate versions rather than copying untracked text into an unrelated export object.

      This separation supports auditability and fault isolation. If a question is later found to contain an unsupported statement, a reviewer should be able to identify the source chunk and generation configuration that produced it. If the paper total is incorrect, the selected candidate mark values and blueprint version should be inspectable. If a new generation run replaces an earlier one, the earlier artifact should remain distinguishable from the current result. These are data-design requirements; they should be confirmed against the actual schema and migrations before being described as fully implemented.

    5. V-B. Context Construction and Prompt Contract

      A robust generation request should use a structured contract rather than an unconstrained instruction to make questions about a topic. The contract should state the source passage, target concept, Bloom level, marks, difficulty, question type, response format, and output schema. It should instruct the model to avoid claims that cannot be supported by the passage, preserve technical terminology, and signal insufficient evidence when the source does not support a suitable question. Where a model returns malformed output, parsing and schema validation should reject it before it reaches the question bank.

      A context window may contain more text than is useful. A simple strategy is to select the chunk or chunks associated with the requested unit and concept, then check whether the resulting passage is sufficiently informative for the intended question. Future versions may use lexical or semantic retrieval to rank candidate chunks, but such retrieval must be evaluated for coverage and false negatives. Retrieval should not silently broaden the request to unrelated materials merely to fill a required question count. When the source corpus is sparse, the system should expose that limitation and ask for more material or a revised blueprint.

    6. V-C. Question-Type-Specific Validation

      Different question types require different validity checks. A multiple-choice question needs a clear stem, a consistent option count, mutually distinguishable alternatives, and one defensible correct answer. Distractors should be plausible without relying on trick wording or ambiguous assumptions. A short-answer question should have a response scope appropriate to its marks and should not depend on hidden information absent from the source. An analytical or long- answer question should define the task clearly enough that an examiner could apply a stable marking rubric. Where answer keys are generated, they must be reviewed alongside the question rather than assumed correct because the question is fluent.

      A generic schema gate can check that required fields exist, but it cannot establish that an answer is correct. Similarly, keyword rules can flag some mismatches between verbs and Bloom levels, but verbs are context-sensitive:

      compare may require basic identification in one prompt and detailed analysis in another. The proposed validation process therefore combines deterministic checks, model- assisted screening where appropriate, and human review for semantic judgments. The evaluation must report each layer separately to avoid treating a successful schema parse as proof of educational validity.

    7. V-D. Error Handling and Recovery

      Generation systems need explicit terminal states. A job may be queued, processing, awaiting review, completed, partially completed, or failed. A bounded retry policy should define which errors are retryable, the maximum number of attempts, and the conditions under which a user is asked to intervene. Transient service errors may justify a retry; a persistent lack of source evidence does not. Invalid JSON or missing fields may trigger one constrained regeneration attempt, while repeated failures should be logged and surfaced with an actionable explanation.

      Recovery should preserve the difference between a failed candidate and a failed paper. Candidate-level failures can be excluded while the system continues to build a pool. Paper- level failure occurs when mandatory blueprint constraints cannot be met with the remaining valid candidates. In that case, the application should report which section or constraint is unsatisfied, such as an insufficient number of valid ten-mark analytical questions. This behavior is safer than filling the slot with an unrelated question or presenting an incomplete document as complete. Export should be disabled or clearly marked provisional until required checks pass.

    8. V-E. Security, Privacy, and Operational Considerations

      Uploaded syllabi and teaching materials may be subject to copyright, institutional policy, or confidentiality obligations. The system should authenticate users, enforce authorization at the subject and material level, valiate uploaded file types and sizes, and avoid exposing source content in error messages or logs. API keys for model providers belong in server-side configuration rather than browser code. Database access should use parameterized operations or a well- maintained ORM, and secrets should not be included in generated papers or diagnostic traces.

      Operational observability should record non-sensitive job identifiers, timestamps, stage transitions, retry counts, and error categories. Logs should avoid storing entire source passages or student data unless there is a justified need and an approved retention policy. A production deployment should also define rate limits, timeouts, file-size ceilings, backup practices, and behavior during model-provider outages. These recommendations are engineering requirements for dependable deployment; they are not claims that every control has already been implemented in the current prototype.

    9. VI-A. Blueprint Arithmetic and Feasibility Analysis

      For the reported paper configuration, section marks can be checked directly. If section s contains n_s questions with a fixed mark value m_s, its contribution is T_s = n_s m_s. The configured contributions are 10×1 = 10, 10×2 = 20, 6×5 =

      30, and 4×10 = 40. Therefore, the number of questions is 10

      + 10 + 6 + 4 = 30 and the total is 10 + 20 + 30 + 40 = 100. These identities verify the arithmetic of the configured

      composition; they do not assess the content quality of individual questions.

      More complex blueprints may permit alternatives, optional questions, or different marks within a section. In that case, the paper builder must distinguish between the marks printed on the paper and the marks a candidate is required to answer. If a section instructs students to answer any five of seven questions, the maximum displayed marks and the effective marks attempted are not the same quantity. The blueprint representation should model this distinction explicitly to avoid a superficially correct total that misstates the examination requirements.

    10. VI-B. Coverage and Diversity

      Topic coverage can be measured by mapping each selected question to one or more syllabus topics and comparing the resulting distribution with instructor-defined targets. Let y_it equal 1 when question i covers topic t. A simple coverage count is C_t = _i y_it x_i. If a target interval [L_t, U_t] is specified, the assembled paper should satisfy L_t C_t U_t where feasible. The mapping itself must be reviewed: a question may span several topics, and counting it once for every topic can inflate apparent coverage. The system should therefore document whether topic assignments are exclusive, multi-label, or weighted.

      Diversity also includes cognitive level, difficulty, question type, and source location. Excessive concentration on one chunk can create a paper that appears broad at the subject level while testing only a small portion of the course. Conversely, forcing equal counts for all topics can be inappropriate if the syllabus gives them different instructional weight. The blueprint should express the instructors intended balance, and the system should report the realized distribution so that a faculty member can inspect deviations before approval.

    11. VI-C. Candidate Selection Objective

      When several valid candidate pools can satisfy the mandatory constraints, a selection objective can rank feasible papers by soft preferences. For example, let Q(X) denote the estimated quality of the selected questions, C(X) topic coverage, B(X) Bloom-distribution fit, and D(X) diversity. A conceptual objective is J(X) = _q Q(X) + _c C(X) + _b B(X) + _d D(X), subject to the hard constraints on total marks, section counts, subject isolation, and provenance. The terms express the relative importance of soft goals and require an explicit policy or empirical calibration.

      This objective is a design formulation, not a reported optimization result. The current manuscript does not claim that a solver optimizes J(X). A practical baseline could first enforce hard constraints and then use deterministic ranking or a small integer-programming model. Any solver should return infeasibility when the candidate pool cannot satisfy mandatory requirements, rather than relaxing constraints silently. When soft constraints must be relaxed, the system should show the trade-off and obtain instructor approval.

    12. VI-D. Evaluation Dataset and Annotation Protocol

      An independent evaluation should sample materials from several disciplines, such as computing, mathematics, business, and humanities, while respecting the available source corpus and permissions. The sampling plan should

      include different file types and extraction difficulties, including born-digital PDFs, slide decks, and scanned material if OCR is supported. Each test case should freeze the source material, blueprint, model configuration, and generation prompt. The paper should state the number of subjects, source documents, generation runs, and candidate questions so the reader can understand the evaluation denominator.

      At least two qualified reviewers should independently assess a stratified sample of questions. The rubric should define source support, relevance, answerability, Bloom alignment, marks-depth fit, ambiguity, fairness, and duplicate status. Reviewers should be blinded to the systems own quality label where feasible. Disagreements should be adjudicated by a third reviewer or a documented consensus procedure. Agreement statistics should be reported with their interpretation; a high agreement value does not prove that the rubric itself captures all dimensions of educational quality.

      A useful error taxonomy distinguishes unsupported facts, wrong answers, irrelevant content, malformed structure, ambiguous wording, inappropriate cognitive level, unsuitable marks, implausible distractors, near-duplicates, and provenance mismatch. Report both aggregate rates and representative failure cases. Failure analysis is especially important because a single aggregate score can conceal systematic weaknessesfor example, acceptable short- answer questions but unreliable long-answer prompts, or strong results on clean PDFs but poor results on scanned sources.

    13. VI-E. Baselines and Ablation Studies

      The proposed workflow can be evaluated against at least two baselines: direct LLM prompting without source chunks and blueprint validation, and source-conditioned generation without the full candidate-validation stage. A further ablation can disable duplicate screening or Bloom-level constraints to measure how these components change the resulting papers. Comparisons should use the same source materials and target blueprint, with model versions and decoding settings recorded. Because generation is stochastic, multiple runs per condition are preferable.

      Ablation results should be interpreted carefully. If a validation gate reduces the number of accepted candidates, this may indicate better rejection of weak outputs, but it may also reveal an overly strict threshold. The accepted-question rate alone is not a quality metric unless rejected and accepted samples are independently annotated. Similarly, a higher topic-coverage score is not necessarily better if it comes at the expense of factual support or pedagogical coherence. The primary outcomes should be predefined and the trade-offs reported transparently.

    14. VI-F. Human Factors and Instructor Control

      A practical system should make review efficient without concealing uncertainty. Each candidate can display its source passage, topic metadata, proposed answer, Bloom level, mark value, and validation warnings alongside the editable question. Reviewers should be able to accept, revise, reject, or request regeneration. Revisions should be versioned so that a final paper can be reconstructed and changes attributed to a reviewer o generation run. The interface should not visually imply that model-generated content is certified simply

      because all automatic checks passed.

      A usability study should measure task completion time, correction effort, error detection, and instructor confidence, while recording the task complexity and participants experience. The study should compare like-for-like tasks and account for the time required to inspect source material. Self- reported satisfaction is useful but should not replace objective error rates. Until such a study is conducted, claims that the framework saves time or improves learning should remain hypotheses rather than findings.

    15. VI-G. Reproducibility and Artifact Management

      For reproducibility, the experiment package should include anonymized source identifiers, the exact blueprint, prompts, model/version information, generation timestamps, validation rules, similarity threshold, reviewer rubric, and scripts used to calculate metrics. Where licensing prevents redistributing source documents, the paper can provide document metadata and a controlled evaluation protocol without exposing protected material. The final paper object should be archived with its configuration so that the reported totals and figures can be traced to the underlying run.

      Reproducibility also requires separating observed outputs from proposed behavior. The architecture diagrams show intended responsibilities; the reported integration run shows one observed output composition; the equations define constraints and metrics; and the future evaluation protocol defines experiments not yet performed. Keeping these categories explicit prevents the paper from accidentally turning a design goal into a claim of implemented or experimentally verified functionality.

    16. VI-H. Interpretation of the Reported Run

      The 30-question run demonstrates that a single configured request traversed enough of the application path to return a structured paper object with the reported section counts and marks. It is therefore reasonable to describe the run as a functional integration check. It is not reasonable to infer that 30 out of 30 questions were correct merely because 30 were returned, or to calculate a 100% success rate without a predefined denominator and independent quality labels. A returned HTTP status is evidence about the service interaction, not about the academic validity of the generated content.

      The sample AES question appears technically plausible because SubBytes is the AES transformation associated with byte substitution and non-linearity. The sample IPsec question also appears to point toward Encapsulating Security Payload (ESP), which can provide confidentiality along with integrity and authentication depending on configuration. Nevertheless, this paper does not treat two illustrative examples as an audited correctness sample. Their source support, exact wording, and Bloom labels should be checked against the uploaded course material and reviewed by a subject-matter expert before any claim of correctness is made.

    17. VI-I. Formalizing Source Support

      Source support is best treated as a relation between a candidate question, its expected answer, and one or more source passages. Let A(q) denote the factual propositions needed to answer question q, and let E(c) denote the

      propositions supported by context c. A strict grounding condition requires that every material proposition in A(q) be supported by E(c), while allowing the question to ask learners to infer or apply those propositions when the task explicitly requires it. The distinction matters because a question can mention a source concept but still require an unsupported external fact in its answer.

      For practical review, source support can be annotated as fully supported, partially supported, unsupported, or not assessable from the provided material. The categories should be defined before annotation. For example, a question that asks for an explanation of a concept described in the source may be fully supported even if the wording differs from the source. A question that introduces a new numerical value or protocol behavior absent from the material should not be marked fully supported merely because the statement is generally true in the wider world. This task is specifically about alignment with selected instructional content, not unrestricted factuality.

      A retrieval or evidence display component can help the reviewer inspect the source, but the existence of a displayed passage does not itself prove entailment. The reviewer should assess whether the passage actually supports the expected answer and whether the wording adds hidden assumptions. This is especially important for technical subjects, where a small conditionsuch as a protocol mode, algorithm version, or security configurationcan change the correctness of a statement.

    18. VI-J. Bloom-Level Rubric and Ambiguity

      Bloom-level assignment should be judged by the cognitive operation demanded by the complete task, including the context, command, expected answer, and marking rubric. A useful annotation form asks reviewers to identify the minimum reasoning required for a satisfactory response. Remember questions generally require retrieval; Understand questions require explanation or interpretation; Apply questions require transfer to a case; Analyze questions require decomposition or relationship analysis; Evaluate questions require a justified judgment against criteria; and Create questions require synthesis into a new plan, artifact, or solution. The rubric should permit an ambiguous level label when the prompt does not provide enough information to distinguish adjacent levels.

      A common failure is to assign levels using a verb list alone. Explain may solicit recall of a memorized explanation or require interpretation of unfamiliar evidence. Design may be used as superficial wording for a standard procedure rather than a genuine creation task. Therefore, automatic classification can provide a provisional label, but final validation should consider the answer expected and the mark allocation. Evaluation reports should include a confusion matrix across the six levels, with per-level precision and recall if the dataset supports those estimates.

    19. VI-K. Fairness, Accessibility, and Assessment Integrity

      Automated generation can replicate omissions and biases present in source materials or prompts. Questions should avoid assumptions about a learners background that are not part of the learning objective. Language complexity should reflect the course level rather than unnecessarily obscure the assessed concept. Where an assessment is intended for

      multilingual learners or learners using assistive technology, question wording and document export should be checked for accessibility, unambiguous notation, and readable structure.

      Assessment integrity also depends on appropriate handling of answer keys and generated alternatives. A system should not imply that generated questions are confidential simply because they are stored in a database. Access control should distinguish authors, reviewers, and users permitted to view final papers or answer keys. If multiple paper variants are produced, the application should record whether variants are equivalent in coverage and cognitive demand rather than assuming that shuffling question order creates equivalent forms.

    20. VI-L. Reliability Across Model and Source Changes

      An LLM-based workflow can change behavior when the provider updates a model, when prompt wording changes, or when source extraction changes. A stable evaluation therefore records model identifiers where available, generation parameters, prompt versions, source hashes or stable source IDs, and validation thresholds. If the provider does not guarantee bitwise reproducibility, the protocol should state that limitation and use repeated rials to estimate variability. Regression tests should include known edge cases such as empty extraction output, duplicated chunks, malformed MCQ options, insufficient candidate pools, and incorrect mark totals.

      A model upgrade should be evaluated against a frozen regression set before being treated as an improvement. The comparison should consider quality dimensions jointly: a model that produces more fluent text but weaker source support may be unsuitable for this application. Operational success rates should be reported separately from content- quality measures, because a request can complete successfully while producing a poor question, and a rejected output can represent the validator working as intended.

    21. VI-M. Threats to Construct and Measurement Validity

      Construct validity concerns whether the chosen metric represents the intended property. For example, lexical overlap with source text is not a reliable standalone measure of grounding, because a paraphrase may be correct and a copied sentence may be used in a misleading question. Similarly, an automated Bloom classifier may agree with the system label while sharing the same systematic bias. Independent human annotation, explicit rubrics, and adjudication reducebut do not eliminatethese risks.

      Measurement validity also depends on denominators. If only accepted questions are reviewed, the study cannot estimate the quality of all generated candidates or the rate at which validation rejects bad output. If one subject contributes most examples, the aggregate score may conceal weak performance in other subjects. Reports should therefore state both the number of generated candidates and the number accepted, stratify by question type and Bloom level where feasible, and document missing data. Confidence intervals should reflect the sampling unit; questions generated from the same source document are not necessarily independent observations.

    22. VI-N. Suggested Experimental Table Structure

      A final evaluation table should report the measure,

      operational definition, unit of analysis, sample size, and source of labels. Recommended rows include: source-support rate; subject-relevance rate; Bloom-level agreement; marks- depth agreement; MCQ single-answer validity; final-paper duplicate rate; blueprint completion; mark arithmetic consistency; export fidelity; median generation latency; and reviewer correction time. Each result should include its denominator and, where appropriate, uncertainty estimates. For example, source-supported questions should be reported as count/number reviewed and not as an unqualified percentage.

      A separate table should summarize failures by category and subject. This makes the evaluation diagnostically useful: source extraction failures may call for parser improvements, repeated questions may call for candidate-pool or similarity- threshold changes, and Bloom mismatches may require a better prompt contract or reviewer workflow. A single composite score can be useful for a narrowly defined optimization objective, but it should not hide trade-offs among factuality, coverage, cognitive alignment, and usability.

    23. VI-O. Practical Deployment Acceptance Criteria

      Before use in a live examination workflow, the system should pass a defined acceptance checklist. The application should reject unsupported file types and handle empty or unreadable documents without hanging. Every generated candidate should be associated with the correct subject and generation job. Mandatory fields should be validated before persistence. The paper should not be marked complete unless required sections, question counts, and total marks pass the blueprint checks. Exported PDF and DOCX files should preserve the content reviewed in the preview, including equations, symbols, options, and section instructions.

      Acceptance should also include negative tests. A deliberately unrelated source should not yield subject- specific questions from a previous request. A source with too little content should trigger a clear insufficiency message. A malformed generation response should not be stored as a valid question. A paper with a missing section should fail

      completion rather than silently passing. These tests directly address failure modes that are easy to miss in a happy-path demonstration and are more informative than a screenshot of one successful generation.

    24. VI-P. Human-in-the-Loop Governance

    The intended role of the system is to assist educators with drafting and organization, not to autonomously determine examination content. Faculty retain responsibility for relevance, difficulty, fairness, coverage, answer keys, and final approval. The interface should make this responsibility practical by exposing evidence and validation warnings at the point of review. A reviewer should be able to change a questions wording, mark value, or Bloom level and have the revised object pass the same final consistency checks.

    Governance should also define who can publish a final paper, how revisions are recorded, how long generation artifacts are retained, and how errors discovered after publication are handled. Where generated material is used in high-stakes assessment, institutions should consider a formal review policy and keep a record of final approval. This

    governance layer is not an optional decoration: it is part of the quality assurance process because many educational properties cannot be fully verified by deterministic software checks.

  7. LIMITATIONS AND THREATS TO VALIDITY

    First, document extraction can lose tables, diagrams, equations, or reading order, particularly in scanned and multi- column PDFs. Second, LLMs may introduce plausible but unsupported details even when given source context. Third, Bloom-level classification is subjective and depends on the task, expected answer, and learner context. Fourth, duplicate thresholds require calibration and can produce false positives or false negatives. Fifth, a valid mark total does not ensure balanced topic coverage or appropriate difficulty. Sixth, a single successful run cannot establish robustness across subjects, instructors, file formats, or model versions.

    There are also operational risks. Generation services may fail or change behavior; rate limits and network errors require bounded retries and transparent status reporting. Uploaded course material may contain copyrighted or sensitive content and should be handled under institutional policy. Source metadata and generation logs should be retained only as necessary and protected with appropriate access controls. Faculty must be able to inspect, edit, reject, and regenerate questions before publication.

    The current evidence has limited external validity because it is one reported development-server run, with no independent annotator study. The mathematical assembly formulation is a design model, not a claim that all constraints are enforced by an optimization solver in the current implementation. Likewise, proposed metrics are an evaluation plan rather than observed results.

  8. CONCLUSION AND FUTURE WORK

    This paper presented BAQPGF, a source-grounded framework for generating examination questions with explicit Bloom-level and blueprint constraints. Its central design principle is to treat generation as one stage in a larger assessment workflow: source material must be extracted and tracked, candidates must pass validation, assembly must satisfy section and mark constraints, and the final artifact must remain reviewable by faculty. A reported integration run produced a 30-question paper totaling 100 marks, providing limited evidence that the configured workflow can complete an end-to-end generation task.

    Future work should prioritize a reproducible multi- subject evaluation, source-level factual verification, expert ratings of cognitive alignment, calibrated duplicte detection, and usability studies comparing assisted and manual paper preparation. A constraint solver may be introduced if the candidate pool and blueprint complexity warrant it. OCR quality, table-aware extraction, answer-key verification, and export consistency should also be tested systematically. The framework should be considered an instructor-assistance system until independent evidence supports stronger claims.

  9. REFERENCE GENERATION PROCEDURE

The operational procedure can be expressed as a sequence of explicit gates. First, receive the selected source set and blueprint, validate the request, and create a

generation-job identifier. Second, extract and normalize each supported document; if extraction yields no usable text, stop with a specific error rather than calling the language model with empty context. Third, segment the extracted text and preserve source locators. Fourth, for each blueprint slot, select relevant chunks and construct a generation request containing the source passage, subject context, requested cognitive level, marks, difficulty, question type, and output schema. Fifth, parse the response and reject malformed candidates before persistence. Sixth, evaluate the candidate against source relevance, schema, Bloom alignment, marks fit, uniqueness, and provenance checks. Failed candidates are excluded or regenerated under a bounded retry count. Seventh, if the validated pool cannot satisfy mandatory counts and marks, return an infeasibility report identifying the unsatisfied requirements. Eighth, assemble a feasible paper, recalculate all totals, verify that all selected questions belong to the intended subject and job, and store the final paper version. Finally, present the paper and its source evidence for faculty review; enable export only from the validated version.

This sequence is intentionally conservative. It prefers a transparent failure state over silent relaxation of the blueprint, and it treats model output as a candidate rather than a trusted final artifact. Each stage should emit a structured status and a trace identifier so that a failed job can be diagnosed without exposing unnecessary source text or credentials. A production implementation should also make the retry policy idempotent, so that a client retry does not accidentally create duplicate papers or duplicate candidate records.

The following acceptance invariants summarize the procedure: (i) no candidate is accepted without required fields and source metadata; (ii) no question is selected from a different subject or generation job; (iii) mandatory section counts and total marks are verified after selection; (iv) a failed validation gate cannot be bypassed by export; (v) retry limits are finite; and (vi) the reviewed paper version is the same version sent to PDF or DOCX rendering. These invariants can be encoded as unit and integration tests and should be reported separately from human judgments of question quality.

[8] T. Zhang, V. Kishore, F. Wu, K. Q. Weinberger, and Y. Artzi, BERTScore: Evaluating Text Generation with BERT, in Proc. ICLR, 2020.

REFERENCES

  1. X. Du, J. Shao, and C. Cardie, Learning to Ask: Neural Question Generation for Reading Comprehension, in Proc. ACL, 2017, pp. 13421352, doi: 10.18653/v1/P17-1123.

  2. S. Elkins, E. Kochmar, J. C. K. Cheung, and I. Serban, How Teachers Can Use Large Language Models and Blooms Taxonomy to Create

    Educational Quizzes, in Proc. AAAI, vol. 38, no. 21, 2024, pp. 2308423091, doi: 10.1609/aaai.v38i21.30353.

  3. B. S. Bloom et al., Taxonomy of Educational Objectives: Handbook I, Cognitive Domain. New York, NY, USA: Longmans, Green, 1956.

  4. L. W. Anderson and D. R. Krathwohl, Eds., A Taxonomy for Learning, Teaching, and Assessing: A Revision of Blooms Taxonomy of Educational Objectives. New York, NY, USA: Longman, 2001.

  5. A. Vaswani et al., Attention Is All You Need, in Advances in Neural Information Processing Systems, vol. 30, 2017.

  6. P. Lewis et al., Retrieval-Augmented Generation for Knowledge- Intensive NLP Tasks, in Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 94599474.

  7. K. Papineni, S. Roukos, T. Ward, and W.-J. Zhu, BLEU: A Method for Automatic Evaluation of Machine Translation, in Proc. ACL, 2002, pp. 311318, doi: 10.3115/1073083.1073135.