New functionality Added: Matching Type Questions #160
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the feature for matching type questions in both the web app and the extension. The matching question type allows users to match questions with the correct answers. This will expand the variety of question formats available on the platform since it is widely used format in exams, quizzes, and practice sets.
Changes Implemented:
Web App:
-Added functionality to create type questions by adding a radio button in question selection page.
-Created a table-like matching section for Column A having terms and Column B having definitions.
-A section below the questions for answers.
-Generate PDF gives output like borderless columns Column A having terms and Column B having definitions.
Browser Extension:
-Added functionality to create type questions by adding a radio button in question selection page.
-Created a table-like matching section for Column A having terms and Column B having definitions.
-A section below the questions for answers.
-Generate PDF gives output like borderless columns Column A having terms and Column B having definitions.
(Same as web-app)
Backend Updates:
-Created an API to get matching type questions..
-Used the T5 model and tokenizer, Spacy is used to process the input_text into sentences.
Testing:
-Added a test for the matching type questions.
Why This Change Is Needed:
Engagement & Variety: This feature adds a new question type to the platform, enriching the overall quiz experience and making it more engaging for users.
Better Exam/Quiz Format Support: Matching questions are commonly used in many exams and quizzes. This feature makes the platform adaptable to these formats.
Screenshots :
Web App:
Extension: