Skip to content

Omi-code404/C-Quiz-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-Quiz-System

A C language-based MCQ Quiz System built in multiple versions – starting from a beginner-friendly hardcoded version to more advanced ones with file handling, randomization, and additional features.


📌 Versions Overview

Version 1 – QuizProjectV1

  • Type: Beginner
  • Features:
    • Hardcoded questions in C file
    • Score calculation
    • Supports uppercase/lowercase input
  • 📂 Go to Version 1

Future Versions

  • Version 2: Load questions from file
  • Version 3: Random question order
  • Version 4: Timer for each question

🛠 Technologies Used

  • C Language
  • Loops (for, while)
  • Conditional statements (if, else)
  • Arrays
  • Functions

📷 Screenshots

(You can add screenshots from each version here)

version01

Image1

Image2


Version 2 – QuizProjectV2

  • Type: Intermediate
  • Features:
    • Questions loaded from external file (questions.txt)
    • Paginated display (10 questions per page)
    • Tracks student performance and saves to history.txt
    • Option to view previous quiz results

📂Go to Version 2

Future Versions

  • Version 3: Random question order
  • Version 4: Timer for each question

🛠 Technologies Used

-C Language

  • Loops (for, while)
  • Conditional statements (if, else)
  • Arrays
  • Functions
  • File Handling (fopen, fscanf, fprintf)
  • Character handling (toupper)

📷 Screenshots

(You can add screenshots from each version here)

version02

Image1

Image2

Image3

Image4

🚀 How to Run Any Version

  1. Navigate to the version folder (e.g., Version1, Version2)
  2. Open the .c file in Code::Blocks or any C compiler
  3. Compile & run the program

Version 3 – QuizProjectV3

Type: Advanced

Features

  • Smart Randomization - Unique quiz every time with Fisher-Yates shuffle
  • 3 Difficulty Levels - Easy/Medium/Hard with separate question banks
  • Progress Tracking - Scores saved in history.txt with performance comparison
  • Enhanced UX - Case-insensitive input, instant feedback, clean interface

Go to version 03

Output image

Image_01

Image_02

Version 3 Technologies

  • File I/O (fopen, fscanf, fprintf)
  • Fisher-Yates shuffle algorithm
  • Structures for data organization
  • String functions (strcmp, toupper)
  • Randomization (srand, rand)
  • Multi-file management
  • Error handling & validation

🔮 Version 4 Preview

  • Timer System - Countdown for each question
  • Speed Challenges - Track response times under pressure

🏷 License

This project is licensed under the MIT License – see the LICENSE file for details.


Author: Omi Das
📅 Started: 2025-08-15

📅 Updated: 2025-08-21

📅 Updated: 2025-09-25

About

A C language based MCQ Quiz System with multiple versions – from beginner level (hardcoded questions) to advanced versions with file handling, randomization, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages