summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-05Blank lines removed.prathamesh
2014-06-05Merge branch 'modified_snippet'prathamesh
2014-06-05Merge pull request #16 from prathamesh920/deploy_serverPrabhu Ramachandran
Deploy server
2014-06-05Merge branch 'deploy_server'prathamesh
2014-06-05isDigit() issue resolvedprathamesh
2014-06-05main files indented.prathamesh
comments removed from views file
2014-06-05Merge branch 'deploy_server'prathamesh
2014-05-18Merge pull request #15 from prathamesh920/load_exam_commandPrabhu Ramachandran
load_exam command modified to accept tags.
2014-05-12Files modified according to the pep8 coding standard.prathamesh
2014-05-08load_exam command modified to accept tags.prathamesh
sample_questions template modified. Tags can be added to the template.
2014-03-26User authentication using external database.prathamesh
Django authentication backend overriden to authenticate user using spoken tutorial database. Added database router to handle the database operations.
2014-03-13test condition added to test_server.pyprathamesh
2014-03-13Code to test scilab in test_server.pyprathamesh
included timeout with scilab command to prevent scilab from running scilab infinitely.
2014-03-03Autochecks 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.
2014-02-12Modified snippetprathamesh
Snippet textarea extends according to the length of the snippet with numbering. The textarea to write code is dynamic with numbering. The textarea extends as per the length of the code.
2014-02-03added versions to the packagesprathamesh
2013-08-19This branch was created for testing the app.prathamesh
Changes made here are during the testing phase. And the feedbacks recevied are implemented.
2013-07-29Merge pull request #14 from prathamesh920/fresh_javaPrabhu Ramachandran
fresh java
2013-07-08Added few questions. Made changes to fix minor bugs which were found during ↵prathamesh
testing.
2013-07-03Merge branch 'fresh_java' of https://github.com/prathamesh920/online_test ↵prathamesh
into deploy_server Conflicts: testapp/templates/exam/question.html
2013-07-03Merge pull request #12 from prathamesh920/fresh_C_CppPrabhu Ramachandran
Fresh c cpp
2013-07-03merged javaprathamesh
2013-07-03corrected a small malfunctionHardik Ghaghada
2013-07-03Merge branch 'fresh_js_changes' of https://github.com/hardythe1/online_test ↵Hardik Ghaghada
into fresh_js_changes
2013-07-03variable name changedprathamesh
2013-07-03clean codeprathamesh
2013-07-02edited views & model to congrtulate student & corrected indentation at ↵Hardik Ghaghada
various places
2013-07-02corrected indentation at various placesHardik Ghaghada
2013-07-02Edited view to give a message if all the questions are correctly answeredHardik Ghaghada
2013-07-02minor changesprathamesh
2013-07-02clean C and Cppprathamesh
2013-07-02Merge branch 'C-Cpp' of https://github.com/prathamesh920/online_test into ↵prathamesh
fresh_C_Cpp
2013-07-02changes madeprathamesh
2013-07-02c files movedprathamesh
2013-07-01Merge pull request #11 from hardythe1/fresh_snippet_featurePrabhu Ramachandran
Fresh snippet feature
2013-07-01corrected indentation in all js filesHardik Ghaghada
2013-07-01comments and print statement removedprathamesh
2013-07-01resolved conflictsHardik Ghaghada
2013-07-01made changes as per the comments on pull requestHardik Ghaghada
2013-07-01edited JS to give a msg when the answer is correcthardythe1
2013-06-11Modified textarea in student interface to notify about using tabs for ↵Hardik Ghaghada
indentation
2013-06-11Implemented tabs for indentation for snippetsHardik Ghaghada
2013-06-10Added the snippet feature & cleaned JSHardik Ghaghada
2013-06-05c_cpp_filesprathamesh
2013-06-05c and cpp files isolatedprathamesh
2013-06-04Corrected a syntax error at line 479Hardik Ghaghada
2013-05-08Function to check C-C++ codeprathamesh
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-30Snippet feature implementedHardik Ghaghada
2013-04-29Added a separate textarea for non-editable code for snippet featureHardik Ghaghada
2013-04-27Merge branch 'model_changes' of ...Prabhu Ramachandran
https://github.com/hardythe1/online_test into master. Conflicts: production.cfg testapp/production.py