Global Presence

Platform Available 24/7

+56 2 2405 4555

Share with:


The programming questions will be created in the same way as the other types of questions, but there is a specific tool to facilitate the creation of programming questions.

To access this tool go to the "Tools" menu and select "Programming Question Builder".

After loading the question, the corresponding information will be displayed. On the right side you have an editor to test how the question would evaluate an answer. On the left side are the conditions (validation scenarios) to validate the question, there being two sections, the first one that is used to validate the question when the candidate is responding and then the ones that will be used to validate and determine the score of the question . This is to prevent the candidate from entering a trivial answer such as "Print 5" instead of an algorithm to solve the problem of the question. This is why usual practice is to include predefined code, one to validate during the exam and others to assign the score (with other values) so that the candidate cannot enter a trivial response without the corresponding logic.

Both for the validation during the exam and for the score it is necessary to enter the expected value. This can be entered directly or you can write a program to test the question and then copy the output of it to the answer section. You can run your program with any of the conditions by clicking on the corresponding Run button. The conditions to validate have a weight since it is possible to place several different conditions, each with a different weight.

Finally, for questions that support measuring the performance of the code, it is possible to indicate the ranges and the weight of performance in the question's score. It must be marked which of the validation scenarios will be used to measure the performance. Currently, only the questions that use the TLang module allow measuring performance.