This is a simple quiz project implemented in java. The main goal of this project is, it allows admin to create multiple choice of questions in a quiz pattern. Also student can login with their own credentials and take quiz test that is generated before by admin.
Java
- JDK 11
- Simple JSON
- Set dependencies (gradle)
- Admin can:
- Log in with their credentials and add new questions to the question bank.
- Save MCQs with four options and their corresponding answer key in a JSON file.
- Student users can:
- Log in with their own credentials and take quizzes generated from the question bank.
- They will Receive 10 randomly selected questions from the quiz bank.
- They can answer the questions and receive their score.
- They can View their overall performance at the end of the quiz.
- Marks are distributed like this:
-
if mark is above 8>= message: Excellent! You have got [marks] out of 10
-
if mark is above 5>= but less than 8, message: Good. You have got [marks] out of 10
-
if mark is above 2>= but less than 5, message: Very poor! You have got [marks] out of 10
-
if mark is 0 or less than 2 message: Very sorry you are failed. You have got [marks] out of 10
- user.json: Contains user information, including admin and student credentials.
- quiz.json: Stores the questions, options, and answer keys for the quiz bank.
- Admin:
- username: admin
- password: 1234
- Student:
- username: anika
- password: 1234
- git clone
- A report will be generate in your project source root