How to Build a Question Bank from PDFs with AI

A practical guide for schools and tutoring centres: build an AI question bank from PDFs, keep teachers reviewing and analyse exam results automatically.

Most schools, tutoring centres and after-school study centres sit on an archive built up over years: mock exams, topic tests, worksheets written by their own teachers. Much of it lives as PDFs in a shared folder. When a teacher wants to put together a new exam, they hunt for questions one by one, copy them, retype the formulas and screenshot the diagrams. Hours disappear into it.

AI can change that, but it is not a magic button. In this article we explain how extracting questions from PDFs works in practice, how exam results can be analysed automatically, and what to consider before you start, using UniEdu, the education management system we built, as a working example.

Why move a PDF archive into a digital question bank?

PDF is a good format for reading, not for reuse. As long as a question is stuck inside a PDF:

  • It has to be copied by hand to use it in another exam.
  • Formulas and diagrams break when copied.
  • Which topic it belongs to and what the correct answer is are not recorded anywhere.
  • You cannot measure what students did on that question, so topic-level analysis is impossible.

Once a question enters a digital pool, it becomes structured data: question text, options, correct answer and solution are stored as separate fields. That speeds up the teacher's work and makes post-exam analysis possible.

How does building a question bank with AI work?

The "Question Pool from PDF" module in UniEdu handles the process in four steps.

1. Upload the PDF

The teacher uploads an existing exam PDF. No conversion or template preparation is needed.

2. AI extraction

An AI model with vision capability (Anthropic Claude) reads the pages and extracts, for each question:

  • The question text
  • The answer options
  • The correct answer
  • A step-by-step solution

Mathematical expressions are written in KaTeX, a widely used format for displaying formulas on the web, so fractions, exponents and equations render cleanly on screen. While extraction runs, a live progress bar advances as each question arrives, so the teacher is not left waiting blindly.

3. Questions with figures

For questions containing a graph, table or geometric figure, the figure is cropped automatically. Because automatic cropping will not always be perfect, the teacher gets a simple Paint-like tool: crop, eraser, zoom and pan. They clean up whatever surrounds the figure and make it fit the question.

4. Review and approval

Questions extracted by the AI do not go straight into the pool. They first appear as drafts in front of the teacher, who reviews them, corrects them if needed and approves them. Only approved questions land in the pool.

This last step is the most important part of the system. Below we explain why.

Automatic analysis of exam results

The question bank is only half the story. The real value appears the moment a student finishes an exam.

In UniEdu, when a student completes an exam, an automatic analysis starts in the background. From the same result, the AI produces four separate reports tailored to four audiences:

| Audience | What the report shows | |---|---| | Student | Their strong and weak topics, with suggestions tailored to them | | Parent | Their child's strong and weak topics, with suggestions tailored for parents | | Teacher | Topic-level accuracy and student-specific action suggestions | | Administrator | A summary of the same result tailored to the administrator's view |

Each role sees its own report on the results screen it already uses. Nobody has to log in to a separate reporting system, and teachers do not have to write a comment for every student by hand.

What to watch out for

Institutions planning an AI-assisted question bank should think through five points before deciding.

Human review is non-negotiable

AI models are very capable, but they can make mistakes: misread an option, mix up the correct answer or skip a step in a solution. A wrong answer key in an exam directly damages the trust of students and parents. That is why every extracted question should pass a teacher's approval. In UniEdu, questions arriving as drafts and not entering the pool until approved is a direct result of this principle.

Formulas and figures

In maths, physics and chemistry, formulas and figures cause the most trouble. Accuracy can drop on scanned, low-resolution or handwritten PDFs. A practical tip: run your first trial with clean, digitally produced PDFs; leave the old scanned archive for later and review it more strictly.

Copyright of source books

This is often overlooked. Questions in publishers' printed or PDF books are usually protected by copyright. The fact that software can technically extract them does not mean you have the right to use them in your own pool. The safest starting point is content your institution produced itself: exams and worksheets written by your own teachers. If you plan to use third-party material, ask the publisher about licensing terms and consult a lawyer if needed.

Cost control

AI services are usually billed by usage, based on the amount of data processed (tokens). When you process an archive of hundreds of pages and generate an analysis after every exam, costs need to be visible. UniEdu includes an "AI Cost and Wallet" panel for this:

  • The token-based cost of every AI operation is logged.
  • The institution keeps a balance (wallet) and tops it up with "Add Balance".
  • A warning is shown when the balance falls below a set threshold.
  • Cumulative reports can be reset whenever needed.

Whichever system you choose, make sure AI cost shows up as a trackable line item, not a surprise invoice.

Student data and privacy

Exam results and performance analyses are students' personal data. Where this data is stored, who can access it and what is sent to the AI service should be planned from the start under the data protection law that applies to you (in Turkey, KVKK, the Personal Data Protection Law). Role-based access matters here: UniEdu has seven separate roles (student, teacher, parent, counsellor, administrator, accounting and registrar), and each role sees only the screens relevant to it.

A practical roadmap to get started

  1. Start small. Try one subject and one grade level with a few exams you produced yourself.
  2. Name the reviewers. Decide which teacher approves which questions.
  3. Measure quality. For the first batch, note how many corrections teachers make; this shows how well the process works on your content.
  4. Set a budget limit. Define a warning threshold in the cost panel.
  5. Switch on analysis. Once the pool is settled, start sharing post-exam reports with students and parents.

Conclusion

Done right, extracting questions from PDFs with AI removes one of teachers' most tedious jobs and turns exam results into meaningful feedback for everyone. The key to success is process as much as technology: teacher approval, copyright awareness, data security and cost tracking.

UniEdu is one example of this approach; if your institution's needs are different, a similar setup can also be integrated into your existing systems. You can take a look at our services or get in touch to talk through the scenario you have in mind.