Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-26 | missed this file in the previous commit | Hardik Ghaghada | |
2013-04-26 | Dumped JS from HTML pages to separate JS files | Hardik Ghaghada | |
2013-04-26 | Dumped all JS in question.js file | Hardik Ghaghada | |
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-11-08 | removed global set varible | jayparikh111 | |
2012-11-01 | Removed Global variables for Quiz & Questions | jayparikh111 | |
2012-06-25 | minor change (quit exam) | Jay Parikh | |
2012-06-25 | implemented tabs & line numbers in textarea | Jay Parikh | |
2012-05-31 | Minor UI Changes | hardythe1 | |
2012-04-18 | changes for student interface | hardythe1 | |
2012-04-14 | minor changes as model changes | hardythe1 | |
2012-04-14 | model changes as per requirnment | hardythe1 | |
2012-04-02 | Question Paper generator changes | hardythe1 | |
2012-03-28 | minor changes | hardythe1 | |
2012-03-22 | Tagging functionality in quiz | hardythe1 | |
2012-03-22 | Autocomplete tagging functionality | hardythe1 | |
2012-03-21 | Merge branch 'admin_module' of github.com:hardythe1/online_test into ↵ | hardythe1 | |
admin_module | |||
2012-03-21 | Modifications to show quizlist | hardythe1 | |
2012-03-21 | changes for adding tags in questions | jayparikh111 | |
2012-03-20 | minor UI changes | hardythe1 | |
2012-03-19 | Changes in the Gradeuser Page | hardythe1 | |
2012-03-16 | changes to maintain the UI in various resolutions | hardythe1 | |
2012-03-15 | minor UI changes | jayparikh111 | |
2012-03-13 | minor changes for UI | jayparikh111 | |
2012-02-29 | minor changes for rendering question(s) | jayparikh111 | |
2012-02-28 | Minor changes for displaying question details in grade_user and licensing in css | jayparikh111 | |
2012-02-28 | changes to remove the inline css from every page | hardythe1 | |
2012-02-24 | formating and identation | hardythe1 | |
2012-02-23 | View for Editing Quiz | hardythe1 | |
2012-02-23 | more changes to edit multiple questions at a time | hardythe1 | |
2012-02-22 | Changes related to Authentication of Moderator | jayparikh111 | |
2012-02-21 | views for editing quiz and questions | hardythe1 | |
2012-02-21 | add docstrings to each view in views.py | hardythe1 | |
2012-02-20 | changes to manage quiz | hardythe1 | |
2012-02-20 | new file to manage quiz | hardythe1 | |
2012-02-20 | changes to manage questions | hardythe1 | |
2012-02-20 | New file to manage questions | hardythe1 | |
2012-02-16 | Form to add New Quiz | jayparikh111 | |
2012-02-16 | Form to add New Question | jayparikh111 | |
2012-02-16 | Form to Add New Quiz | jayparikh111 | |
2012-02-16 | The new html files | hardythe1 | |
2012-02-15 | New views to manage/moderate Quiz | hardythe1 | |
2012-02-07 | changes in question.html | hardythe1 | |
2012-02-06 | removed <html> & <body> tags | hardythe1 | |
2012-02-06 | Merge branch 'visual_changes' of github.com:hardythe1/online_test into ↵ | hardythe1 | |
visual_changes | |||
2012-02-06 | removed <html> & <body> tags from the forms | hardythe1 | |
2012-02-02 | Updated Views.py, monitor.html and login.html with new changes | jayparikh111 | |
2012-02-02 | Updated user_data and grade_user forms (new UI) | hardythe1 | |