Question types
After creating an Assessment, you can add questions through the ‘add a question’ button. JDoodle allows you to create questions of five types:
- Multiple choice-one answer
- Multiple choice-multiple answers
- Program
- Open-ended
- True or False
Note : There’s no limitation to the number of questions you create in an Assessment.
How to add questions in Assessment?
To add questions to your Assessment, click ‘add a question’ after creating the Assessment. You can add four types of questions to your quiz. In all question types:
- You will need to write a question.
- If you’ve chosen automated grading, you must add the total marks and the correct answer while creating the question.
- If you’ve chosen negative marking, you must add the marks below zero. Please note that you cannot deduct marks using decimals or fractions.
Multiple choice-one answer
In this question type, you must write a question and add at least two choices. Both these fields are necessary to create a question.
Multiple choice-multiple answers
In this question type, you can mark multiple options as correct. You can also mark the questions in two ways, per correct answer or overall if all the answers are correct.
Program
You can add a question, default code, and test cases in this question type. When adding test cases, here’s some information you must fill in.
Test case name
You can add any relevant name to your test cases. However, this is a compulsory field, and you must add at least 5 characters.
Arguments & standard input
You can add whatever input is expected for the test case. These fields are not necessary.
Expected output
This is where you add the output the code should give. It is a compulsory field.
Maximum CPU time & permitted memory
You can set the program’s maximum CPU time and memory to test for code efficiency and performance. However, this is not a compulsory field. These parameters are adjusted according to the length or complexity of the code or the selected programming language. For example, for a simple ‘Hello World!’ code in Java, you can set the CPU time to 50 milliseconds and memory to 4000 kilobytes. Note: The unit of CPU time is in milliseconds, and the memory is in kilobytes.
Mark/Score
You can set the marks for each test case if you select the score at the test case level if you’ve chosen for automated grading while creating the assessment.
True or False
In True and False type questions, you just need to add a question and select between True and False.
Open Ended
In this question type, you must add a question and set the minimum and maximum word limits. The maximum and minimum word limit is required to create an open-ended question. Open-ended questions are not auto-scored or auto-graded, and you will need to check and correct the answer manually. You also cannot release the result of open-ended questions on assignment submission.
Editing a question
- Edit a question by clicking on the pen icon placed on the right-hand side of the question.
- Delete your question by clicking the delete icon placed on the right-hand side of the question beside the edit option. Please note that this action is permanent, and you cannot recover your deleted question.
- Rearrange the questions by selecting and holding them and re-ordering them as required.
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.