I had a math teacher back in high school who tried to make an exam app that you could put questions/answers into and then randomize them to give to students. This is gonna be something of that sort.
I've already worked on a similar project before but because it's for commercial use I can't upload my work here so instead I decided on using this to showcase my skills/make my teacher happy.
DevExpress.Win.Design
Microsoft.EntityFrameworkCore
Microsoft.EntityFrameworkCore.Sqlite
Microsoft.EntityFrameworkCore.Tools
If there's an issue regarding DevExpress during the initial build, use Project Converter to change version to fit your version.
The components look better and are easier to work with than the default WinForms ones.
After converting/building the project, put the database file ExamDb.sqlite
in bin\Debug\net6.0-windows
folder. At that point, you can carry the net6.0-windows
folder with you to any machine running Windows and carry your questions/answers there with you.
I've provided a default .sqlite
database for use.
Username: admin
Password: admin
You must have atleast 25 questions in the database (10 easy, 10 normal, 5 hard) to take an exam.
You can copy the .sqlite
file that comes with this repo to bin\Debug\net6.0-windows
folder under different names and change Data Source in ExamProj.dll.config
to whichever database you want to work with at the time.
Make an overall architecture of how everything is gonna workQuestion Grid Form to delete, add, preview and keep a list of the questions/answersDeleting multiple questions from Grid FormQuestion CRUD Form to create/update questionsValidations for Question CRUD FormExam Form to actually exam the studentsValidations for Exam FormUser class and distinguishing between student and teacherLogin FormHome screen Form to connect everythingUser Grid Form to delete, add, preview and keep a list of usersUser CRUD Form to create/update usersValidations for User CRUD FormShow who's taking the exam in Exam FormUser analytics (how many questions/answers etc.)Show which questions were answered correctly, incorrectly and not answered in Exam FormMake sure duplicate questions won't come up during the examFix issue regarding not being able to update answers to questionsAdd coloring to which answer is correct/incorrect after the exam is doneFix the users grid to show analyticsFix username not showing up in the exam formAdd another layer of randomization to questionsAdd an example database with 25 questions in it