CoolFace
Apppublic

amirmehtab1973/digital-pakistan-quiz-system

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

Digital Pakistan Quiz Management System

A comprehensive quiz management system for educational institutions with separate panels for teachers and students.

๐ŸŽฏ Features

๐Ÿ‘จโ€๐Ÿซ Teacher Admin Panel

  • โ€”Secure Login: Admin authentication system
  • โ€”Document Upload: Upload PDF/DOCX files with MCQs
  • โ€”Auto Parsing: Automatically extracts questions and options
  • โ€”Answer Setting: Set correct answers for each question
  • โ€”Quiz Management: Enable/disable quizzes for students
  • โ€”Results Dashboard: View all student results
  • โ€”Excel Reports: Generate detailed student performance reports

๐ŸŽ“ Student Panel

  • โ€”No Login Required: Students can directly access quizzes
  • โ€”Quiz Selection: Choose from available enabled quizzes
  • โ€”Interactive Interface: Clean, integrated question display
  • โ€”Instant Results: Immediate score feedback after submission
  • โ€”Privacy Protected: Students only see their own results

๐Ÿ’พ Data Persistence

  • โ€”Automatic Saving: All data persists across restarts
  • โ€”JSON Storage: Quizzes, answers, and student records are saved
  • โ€”Reliable Recovery: Data automatically loads on startup

๐Ÿ› ๏ธ How to Use

For Teachers:

  1. 1.Go to Teacher Admin Panel tab
  2. 2.Login with credentials:
  3. 3.Username: admin
  4. 4.Password: Admin123
  5. 5.Upload PDF/DOCX files containing MCQs
  6. 6.Set correct answers for each question
  7. 7.Enable quizzes for students
  8. 8.Monitor student results and generate reports

For Students:

  1. 1.Go to Student Panel tab
  2. 2.Select an available quiz
  3. 3.Enter your name and email
  4. 4.Answer all questions
  5. 5.Submit to see your score

๐Ÿ“ Supported File Formats

  • โ€”PDF (.pdf) - With extractable text
  • โ€”Word Documents (.docx) - Standard DOCX format

๐Ÿ”ง Technical Details

  • โ€”Built with Gradio for the interface
  • โ€”Uses PyPDF2 and python-docx for document parsing
  • โ€”Pandas for data management and reporting
  • โ€”JSON files for persistent storage

๐Ÿš€ Deployment

This app is deployed on Hugging Face Spaces and automatically handles all dependencies and persistence.


Developed for Digital Pakistan Initiative