Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-05 | Merge branch 'scilab_check' into scilab_autocheck | prathamesh | |
Conflicts: testapp/exam/forms.py | |||
2014-05-12 | Files modified according to the pep8 coding standard. | prathamesh | |
2014-03-03 | Autochecks scilab function. | prathamesh | |
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. | |||
2013-07-08 | Added few questions. Made changes to fix minor bugs which were found during ↵ | prathamesh | |
testing. | |||
2013-07-03 | Merge branch 'fresh_java' of https://github.com/prathamesh920/online_test ↵ | prathamesh | |
into deploy_server Conflicts: testapp/templates/exam/question.html | |||
2013-07-03 | merged java | prathamesh | |
2013-07-02 | Edited view to give a message if all the questions are correctly answered | Hardik Ghaghada | |
2013-05-08 | Function to check C-C++ code | prathamesh | |
Added a function which compiles C and C++ code submitted by the student. 1) If compilation is successful, then the submitted code is tested using test-cases. 2) To test the function written by the student, a C++ file calls the function and passes the argument to the function. Then the function checks for the expected return value. 3) If the return value is as expected, then a different set of arguments are passed, and the output is checked. 4) If for all set of arguments the output is as expected then the student code is graded correct else the error is displayed to the student. Changed the way the code is graded. Previously, the algorithm checked the student code for all test-cases. If all the test-cases were satisfied, the last-line of the program was reached and printed "All Correct". So at any point if a test-case fails, the last line is not reached as the program was terminate. When the string "All Correct" was found in the output, the code was graded as RIGHT else WRONG. This is not a proper way for code checking, as the student code *may* contain a print statement with the string('All Correct'), and thus can get program RIGHT even though it is WRONG. So now the student code is tested as follows: 1) The code checks for all test-cases. 2) If all test-cases are satisfied then it returns 0. 3) If any one of the test-case fails, the program is terminated and will return 1. 4) Now depending on the return status(0 or 1), it will grade the code. a) if 0 then RIGHT b) if 1 then WRONG This ensures, no manipulation from student side. | |||
2013-04-24 | 80 Cols per line, corrected indentation in files & implemented DRY | Hardik Ghaghada | |
2013-03-18 | Added code snippets for questions | Jay Parikh | |
2012-04-18 | changes for student interface | hardythe1 | |
2012-04-14 | model changes as per requirnment | hardythe1 | |
2012-04-02 | Question Paper generator changes | hardythe1 | |
2012-03-22 | Autocomplete tagging functionality | hardythe1 | |
2012-03-21 | implemented tagging functionality | hardythe1 | |
2012-03-21 | changes for adding tags in questions | jayparikh111 | |
2011-12-09 | Moved all the apps to testapp folder | parth | |