QuizFusion is a modular, multi-language quiz engine built in Java, powered by JSON-based question banks and Python-driven result analytics. Designed for developers, learners, and educators who want a clean, branded, and extensible quiz platform.
- ✅ Java-powered quiz engine with dynamic question loading
- 📦 JSON-based question bank for easy editing and expansion
- 📊 Python analytics with pie chart visualization
- 📁 Result export to JSON for cross-language integration
- 🧩 Modular file structure for clarity and scalability
javac -cp "lib/gson-2.10.1.jar" src/com/quizfusion/*.javajava -cp "lib/gson-2.10.1.jar;src" com.quizfusion.QuizFusion🧪 Sample Java Output text ? What is the capital of France?
- Berlin
- Madrid
- Paris
- Rome Your answer: 2 ✅ Correct!
? Which language runs in a web browser?
- Java
- C
- Python
- JavaScript Your answer: 3 ✅ Correct!
? Who developed Java?
- Microsoft
- Sun Microsystems
- Apple
- Google Your answer: 3 ❌ Incorrect. Correct answer: Sun Microsystems
🎯 Final Score: 2 / 3
📁 Results exported to data/results.json
📊 Python Result Analysis
📦 Install matplotlib:
📈 Run the analysis script:
pip install matplotlib
python analysis/analyze_results.py🖼️ Pie Chart Output: ✅ Correct: 66.7%
❌ Incorrect: 33.3%
The chart clearly visualizes performance distribution:
🟩 Correct — 2 out of 3 🟥 Incorrect — 1 out of 3.
Here’s a sample run of QuizFusion with result analysis:
📄 JSON Question Bank
[
{
"prompt": "What is the capital of France?",
"options": ["Berlin", "Madrid", "Paris", "Rome"],
"correctIndex": 2
},
{
"prompt": "Which language runs in a web browser?",
"options": ["Java", "C", "Python", "JavaScript"],
"correctIndex": 3
},
{
"prompt": "Who developed Java?",
"options": ["Microsoft", "Sun Microsystems", "Apple", "Google"],
"correctIndex": 1
}
]🖋️ Author Crafted by Murad — visionary full-stack developer and system architect. Branded, modular, and elegant — just the way code should be.
