Submit a ticket

Creating Custom Questions for Challenge

How do I create custom questions for challenges?


There are three types of questions you can create for a Challenge: programming, multiple choice, and free response. We will cover how to create each type of question below as well as best practices we recommend for how to design a great question!


Programming Questions

To create a new programming question, simply navigate to a Challenge (see: 'How to build a Challenge') and press the green button “Create Question”, then select “Programming”.



This will prompt you to enter a description of what the candidate needs to do to solve the question. We recommend that the question description contain an example in it. This makes it much easier for candidates to understand the question and begin solving it. We also recommend that any code within the question should be formatted with backticks or as a code block, specified by putting 4 spaces in front of the line. This makes it easier to read the question description and makes it look more professional!


Once the question description and basic question details are filled in, the next step is to build the function signature, which is part of what allows us to automatically grade the assessment. We have a handy function signature builder so that you don’t have to write out the function signature for every language! 


Finally, once you have the function signature defined you can write test cases, specified by inputs and outputs, to automatically grade the question. The input is a JSON array, where each element in the array corresponds to an argument in the solution function, and the output is also JSON.



And that’s all there is to it!


Multiple Choice Questions

To create a new multiple-choice question, simply navigate to a Challenge and press the green button “Create Question”, then select “Multiple Choice”. 


Once selected, you will be taken to a page where you can enter the question description. We recommend that the question description is concise and readable within 1-2 minutes. Like programming questions, we also recommend that any code within the question be formatted with backticks or as a code block, specified by putting 4 spaces in front of the line. This makes it easier to read the question description and makes it look more professional.


Once the description is written, you can enter the answer choices. At least one answer must be selected as the correct answer. And that’s it! You just created a multiple-choice question.


Free Response Questions

To create a new multiple-choice question, simply navigate to a Challenge and press the green button “Create Question”, then select “Free Response”.


This will take you to a page where you can enter the question description. Candidates will submit answers to your free response questions using a long-form textbox.


 

Once the question description has been entered and you press 'Next', the question will be created!

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.