check_solution | R Documentation |
This function checks a solution and submits it to the server when it is correct.
check_solution(sisi_id, exam_id, expr)
sisi_id |
string, the SISI ID of the student |
exam_id |
integer, exam ID on www.magadlal.com |
expr |
an expression, an R code which is a solution |
Typically, a server response message or a string describing the differences between a student's answer and the correct answer of the assigned problem from the server. If an error is detected, it returns the error message.
begin_exam
, get_problem
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.