From 2c8176e4a37ca3a3ecc900bc011da894a90ce801 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Mon, 3 Mar 2014 17:54:18 +0530 Subject: Autochecks scilab function. A method is created that checks the scilab function submitted by the student. The method removes the terminating commands in scilab. If errors are present then it returns error, else provides input to the function and checks for the expected output. If function returns correct output for all the inputs then the function is graded correct, else throws the error message. --- testapp/exam/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'testapp/exam/models.py') diff --git a/testapp/exam/models.py b/testapp/exam/models.py index babde0f..8718968 100644 --- a/testapp/exam/models.py +++ b/testapp/exam/models.py @@ -21,6 +21,7 @@ QUESTION_TYPE_CHOICES = ( ("C", "C Language"), ("C++", "C++ Language"), ("java", "Java Language"), + ("scilab", "Scilab"), ) ################################################################################ -- cgit