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).
- β 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.
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)
git clone https://github.com/Michael-Moris/QuizMaster.git
cd QuizMaster... Open the solution in Visual Studio or VS Code.
... Make sure you have .NET 9 SDK and SQL Server installed.
- To test the features, simply run the project β no additional setup required.
Contributions, issues, and feature requests are welcome! Feel free to fork the project and submit a pull request.