Posted on By EvalartTagged
Programming questions require writing the code for a program that does what the question requires. The question will indicate the language in which the program should be written. In many cases, these types of questions contain additional help that can be viewed by clicking on the “i” button in the upper right corner.
All questions contain an IDE where the program will be written.
(1) Some questions contain one or more lines of predefined code to declare some variables that should be used in the code that will be entered. Be careful not to modify the names of the variables in this section as this could mark the question as invalid. By modifying the predefined code an indicator is activated reflecting this change.
(2) The refresh button restores the original value of the predefined code lines. This is important since you can modify the values in the predefined code section to test other scenarios.
(3) Write the code in this box (Be careful not to write the code in the upper section of predefined code, as this will invalidate the answer)
(4) The RUN button will execute the entered code (The combination of the predefined code and the code entered by the user). Next to the execute button there are some indicators that will reflect the result of the execution.
(5) This indicator reflects if the code has already been executed and if it has syntax errors.
(6) This indicator reflects if the code has already been executed and if it has validation step, that is, if it delivers the expected results. It is important to emphasize that this validation only verifies that the result is the expected one for the default value by default.
(7) The output table shows the output of the execution or any error message obtained when executing.
(8) The text of the question always appears on the left in a blue background.