Skip to content

πŸ“ An Exam System built in C# using OOP principles. Supports Final & Practical exams with MCQ and True/False questions. 🎯

Notifications You must be signed in to change notification settings

Michael-Moris/QuizMaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

QuizMaster 🎯

An Exam System built in C# using Object-Oriented Programming (OOP) principles.
It allows creating subjects, generating exams (Final & Practical), and supporting different question types (MCQ & True/False).

πŸ“Œ Features

  • βœ… Create Subjects and assign an exam.
  • βœ… Two exam types:
    • Practical Exam β†’ Shows questions and correct answers at the end.
    • Final Exam β†’ Shows questions, grades, and total score.
  • βœ… Supports MCQ and True/False questions.
  • βœ… Dynamic input from users (exam time, number of questions, answers, etc.).
  • βœ… Error handling with default values for invalid inputs.
  • βœ… Tracks exam duration.

πŸ“‚ Project Structure

OOP_EXAM/
│── Classes/
β”‚ β”œβ”€β”€ Answer.cs # Represents a single answer option
β”‚ β”œβ”€β”€ Question.cs # Abstract base class for questions
β”‚ β”œβ”€β”€ MCQQuestion.cs # Multiple-choice question
β”‚ β”œβ”€β”€ TrueFalseQuestion.cs # True/False question
β”‚ β”œβ”€β”€ Exam.cs # Abstract base exam class
β”‚ β”œβ”€β”€ PracticalExam.cs # Practical exam implementation
β”‚ β”œβ”€β”€ FinalExam.cs # Final exam implementation
β”‚ └── Subject.cs # Represents a subject and manages exam creation
β”‚
│── Program.cs # Entry point (Main method)

πŸš€ Getting Started

1️⃣ Clone the Repository

git clone https://github.com/Michael-Moris/QuizMaster.git
cd QuizMaster

2️⃣ Open the Project

... Open the solution in Visual Studio or VS Code.

... Make sure you have .NET 9 SDK and SQL Server installed.

3️⃣ Run the Application

  • To test the features, simply run the project β€” no additional setup required.

🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork the project and submit a pull request.

About

πŸ“ An Exam System built in C# using OOP principles. Supports Final & Practical exams with MCQ and True/False questions. 🎯

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages