Question types
After creating an assessment, you can add questions using the “Add a Question” button.
JDoodle supports five question types:
- Multiple Choice – One Answer
- Multiple Choice – Multiple Answers
- Program
- Open-Ended
- True or False
💡 There is no limit to the number of questions you can add to an assessment.
Adding Questions
To add a question:
- Click “Add a Question” in your assessment.
- Choose the desired question type.
- Enter the required details (question text, marks, options, etc.).
General Notes (applies to all question types)
- Every question must include a question text.
- If you’ve enabled automated grading, you must assign marks and specify the correct answer while creating the question.
- If you’ve enabled negative marking, enter marks as a negative value (e.g.,
-2).- Decimals and fractions are not supported for deductions.
Question Type Details
Multiple Choice – One Answer
- Enter a question and add at least two choices.
- Select one option as the correct answer.
- Auto-grading is supported.
Multiple Choice – Multiple Answers
- Enter a question and add choices.
- Mark more than one option as correct if needed.
- Scoring options:
- Per correct answer → Assign marks for each correct option.
- Overall correct → Award marks only if all correct options are chosen.
Program
This type allows you to test coding and problem-solving skills.
When creating a program question, you can add:
- Question text → The coding problem statement.
- Default code → Starter code (optional).
- Test cases → To validate student solutions.
Test Case Fields
- Test Case Name → Required (minimum 5 characters).
- Arguments & Standard Input → Optional inputs for the program.
- Expected Output → Required. The correct output expected from the program.
- Maximum CPU Time & Permitted Memory → Optional performance constraints.
- CPU time → in milliseconds
- Memory → in kilobytes
- Example: For a “Hello World!” program in Java, set CPU time =
50ms, Memory =4000KB.
Marks/Scoring
- If automated grading is enabled, you can set marks per test case or overall.
True or False
- Enter a question.
- Select either True or False as the correct answer.
- Supports auto-grading.
Open-Ended
- Enter a question and set both minimum and maximum word limits.
- Open-ended questions require manual grading.
- Results for open-ended questions cannot be released automatically upon submission.
Editing Questions
- Edit → Click the pen icon next to a question.
- Delete → Click the delete icon (⚠️ permanent, cannot be undone).
- Reorder → Drag and drop questions into the desired order.
Need Support?
Didn’t find the answer to your queries? Is there something we can do to improve? Feel free to contact us by filling out this form.
Previous Topic ← Introduction to Assessment
Next Topic Re-evaluation →
