How to convert a PDF to a quiz/test format with answer key
By ScoutMyTool Editorial Team · Last updated: 2026-05-27
Introduction
I built my first PDF quiz the wrong way — answers visible on page 5 because I hid them with a white rectangle, which one student promptly selected with a marquee and dragged off. Quiz design in PDF has three real requirements: students can answer on paper or screen, the teacher has a separate answer key, and the file does not accidentally leak answers through hidden layers or password protection that any motivated student can bypass. Here is the working pipeline I use to convert a study PDF into a deliverable quiz set, plus the optional self-grading variant that works in Adobe Reader without a learning-management-system dependency.
Vocabulary, quickly
| Term | Meaning |
|---|---|
| Bubble sheet | Standardized answer-recording form scannable by reader or human |
| Item bank | Question pool from which a quiz is sampled |
| Distractor | Incorrect multiple-choice option designed to test understanding |
| Answer key | Teacher-only document mapping question number to correct answer |
| Form field PDF | Interactive PDF with selectable radio buttons and text inputs |
| Versioning | Producing multiple shuffled variants of the same quiz |
| Self-grading | Interactive PDF that reports score on submission |
Step by step
- Extract questions from the study PDF. Either by hand for a small set, or with a text-extract tool plus a "Question:" pattern match for a larger one. Verify the extracted set before formatting.
- Decide question types. Multiple choice for scannable bubble-sheet workflows, short answer for content recall, mixed for richer assessment. The mix shapes how you template the page.
- Template the quiz page. Question stem, 4-5 choices, an answer area (bubble row or write-in line). Repeat per question; one or two per page for readability.
- Build the answer key as a separate file. Same question order, with the correct letter or text after each. Filename clearly marked KEY. Distribute to instructors only.
- For self-grading variant, add form fields. Radio buttons per choice, a Submit button with a JavaScript action that scores against a hidden array and displays results. Test on Adobe Reader and on one mobile reader.
- Optionally generate shuffled variants. A small script reorders choices per student and produces a matching per-student answer key. Saves grading effort for printed quizzes too — if you can read off each student\'s variant, you can grade against the right key.
- Distribute and revoke. Send the quiz PDF to students; keep the answer key on a shared drive with instructor-only permissions. After the quiz, push the key to students if appropriate.
Quiz QA checklist before distribution
- Every question has exactly one correct answer (or the rubric explicitly allows multiple); ambiguous answers trigger student arguments and grading disputes.
- Distractors are plausible — implausible distractors do not test understanding, they test reading speed.
- Page numbering is consistent and the quiz fits on the announced number of pages; surprise page 11 after announcing a 10-page quiz erodes trust.
- The interactive variant gracefully degrades for students who cannot run form fields — they can print and fill on paper.
- Large-print accommodation exists or is producible on request before the quiz date, not after.
- Answer key file name is distinct, in a separate folder, and not attached to the same email as the quiz file.
Related reading and tools
FAQ
- Should the answer key be a separate PDF or hidden in the same file?
- Separate PDF, always. Hidden layers and password-protected pages can be revealed by anyone with a curious viewer; the only safe answer key is one the student never receives. Keep the quiz and the key in linked filenames (Quiz-Unit3.pdf and Quiz-Unit3-KEY.pdf) so a teacher can find both without confusion.
- How do I make a self-grading quiz PDF?
- Use PDF form fields with JavaScript actions. Radio buttons for multiple choice, text inputs for short answer, and a Submit button that runs a script comparing answers to a hidden array and displays the score. Works in Adobe Reader; partial support in macOS Preview and most mobile readers. For browser-based self-grading, convert the quiz to HTML instead — more portable and the same student experience.
- Can I shuffle answer choices per student?
- Yes — generate N variants of the PDF at export time, each with the same questions but choices in different orders. Maintain a per-variant answer key. This stops the "lean over and copy choice B" failure mode without changing the questions themselves. A simple script handles the generation; tools that do shuffled assembly internally save time once you cross a few dozen students.
- How big a font for a printed quiz so students with low vision can read it?
- Body text 12pt minimum, question stems 14pt, with 1.5 line spacing. A large-print variant at 18pt body should be available on request. Letter-size paper, one question per page for the large-print version. Ask early; do not wait for an accommodation request to discover the source file does not scale cleanly.
- What metadata should a quiz PDF carry?
- Course code, unit number, quiz version, instructor name, and assembly date. Set in the Info dictionary; print in the page header. Teachers searching for "Unit 3 quiz" can find it by metadata; students who get the wrong variant can be identified by version.
- How do I prevent students from editing the form fields after submission?
- Flatten the form fields before the student submits — but only the answer fields, not the question text. A "Submit" button can run a flatten action on the answer fields and then hand the file off for grading. After flatten, the answers are part of the page rendering and cannot be edited without leaving evidence.
Citations
- Wikipedia — “Multiple choice — question design and distractors.” en.wikipedia.org/wiki/Multiple_choice
- Wikipedia — “Optical mark recognition — bubble sheet scanning.” en.wikipedia.org/wiki/Optical_mark_recognition
- Wikipedia — “PDF — form fields and JavaScript actions.” en.wikipedia.org/wiki/PDF
Build a quiz PDF in your browser
Convert from study material, add form fields, and generate per-student variants — ScoutMyTool runs the whole pipeline locally so question banks and answer keys stay on your machine.
Open the PDF toolkit →