# quiz-from-question-bank

generate randomised, reproducible quiz versions and answer keys from a question bank

- **Space:** education-public (https://github.com/Tech-Realm/space-education-public/tree/main/quiz-from-question-bank)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** python-stdlib; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use education-public/quiz-from-question-bank` or MCP `get_pack education-public/quiz-from-question-bank`
- **Files:** CHANGELOG.md, code/quiz.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/bank.json, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Generate randomised, reproducible quiz versions and answer keys from a question bank.

## Steps

1. Keep the question bank as JSON with the correct answer text.
2. Run quiz.py with a seed per class/section; store the seed.
3. Print versions; mark with the KEY line.

## Edge cases

- Options like 'All of the above' must not be shuffled; keep them out of shuffled banks.
- Bank smaller than --n errors out.

## Don'ts

- Don't publish the bank or keys where students can find them.

## Routes (free first)

1. `python-stdlib`: `code/quiz.py` (no install).



---

Canonical URL: https://logicpacks.io/packs/education-public/quiz-from-question-bank

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
