Skip to content

QuizFusion is a modular Java-based quiz engine that loads questions from a JSON bank and exports results for Python-powered analytics. Lightweight, branded, and developer-friendly — perfect for CLI-based learning tools and cross-language integration.

Notifications You must be signed in to change notification settings

MuradIsazade777/QuizFusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 QuizFusion

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.

🧠 Features

  • ✅ 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

🚀 How to Run

🔧 Compile Java files with Gson:

javac -cp "lib/gson-2.10.1.jar" src/com/quizfusion/*.java

Run the quiz engine:

java -cp "lib/gson-2.10.1.jar;src" com.quizfusion.QuizFusion

🧪 Sample Java Output text ? What is the capital of France?

  1. Berlin
  2. Madrid
  3. Paris
  4. Rome Your answer: 2 ✅ Correct!

? Which language runs in a web browser?

  1. Java
  2. C
  3. Python
  4. JavaScript Your answer: 3 ✅ Correct!

? Who developed Java?

  1. Microsoft
  2. Sun Microsystems
  3. Apple
  4. 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.

🖼️ Screenshot

Here’s a sample run of QuizFusion with result analysis:

QuizFusion Screenshot

📄 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.

About

QuizFusion is a modular Java-based quiz engine that loads questions from a JSON bank and exports results for Python-powered analytics. Lightweight, branded, and developer-friendly — perfect for CLI-based learning tools and cross-language integration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published