-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Manages the candidate’s experience during the test, including question navigation and code execution.
API for Question Retrieval
- Endpoint:
GET /api/test/:id/questions - Trigger: Invoked when the user clicks Start Test
- Data:
Returns the complete list of questions associated with the selected test.
(Screenshots for MCQ and Code questions can be referenced here.)
Handle both coding and MCQ type submissions
Store relevant fields: (refer schema)Add additional fields if required
Evaluate answers server-side:
For MCQ: match against correct option (use the testAns method(), implemented separately)
For coding: run using compiler API and compare output (use the testCode method(),implemented separately)
Store result (pass/fail/partial), marks scored, and time
Once this is done:
Users should be able to submit answers during contests
Submissions will be automatically evaluated and saved
Submission data will be used later to calculate leaderboards
Metadata
Metadata
Assignees
Labels
No labels