diff options
author | prathamesh | 2016-09-23 13:15:06 +0530 |
---|---|---|
committer | prathamesh | 2016-09-23 13:15:06 +0530 |
commit | d4a0ace8042f590659b8e7ec02fcdc3a24fe0592 (patch) | |
tree | fe804651f57ba0e364a11d1719edcf3d260f5ebe /yaksh/tests | |
parent | 03e54d7f6a42c0d9207db554abba9da854d494e4 (diff) | |
parent | 8e4ead8ab4caa9366e5357840e1912cbfb8cdb85 (diff) | |
download | online_test-d4a0ace8042f590659b8e7ec02fcdc3a24fe0592.tar.gz online_test-d4a0ace8042f590659b8e7ec02fcdc3a24fe0592.tar.bz2 online_test-d4a0ace8042f590659b8e7ec02fcdc3a24fe0592.zip |
Merge branch 'master' of https://github.com/FOSSEE/online_test into regrade_papers
Resolved
Conflicts:
yaksh/models.py
yaksh/test_models.py
yaksh/urls.py
yaksh/views.py
Diffstat (limited to 'yaksh/tests')
-rw-r--r-- | yaksh/tests/test_questions.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/yaksh/tests/test_questions.json b/yaksh/tests/test_questions.json new file mode 100644 index 0000000..d617f22 --- /dev/null +++ b/yaksh/tests/test_questions.json @@ -0,0 +1,50 @@ +[ + { + "snippet": "", + "testcase": [ + { + "test_case": "assert is_palindrome(\"hello\") == False" + }, + { + "test_case": "assert is_palindrome(\"nitin\") == True" + } + ], + "points": 3.0, + "test_case_type": "standardtestcase", + "description": "Write a function <code>is_palindrome(arg)</code> which will take one string argument. Return true if the argument is palindrome & false otherwise.\r\n<br><br>\r\nFor Example:\r\n<br>\r\n<code>is_palindrome(\"Hello\")</code> should return <code>False</code>\r\n<br>\r\n<br><br>", + "language": "python", + "active": true, + "type": "code", + "summary": "Python, check palindrome (Code)" + }, + { + "snippet": "#!/bin/bash", + "testcase": [ + { + "test_case": "bash_files/sample.sh, bash_files/sample.args" + } + ], + "points": 1.0, + "test_case_type": "standardtestcase", + "description": "Write a bash script that takes exactly two arguments and returns the sum of the numbers", + "language": "bash", + "active": true, + "type": "code", + "summary": "Bash Question Concatenate Files(Code)" + }, + { + "snippet": "", + "testcase": [ + { + "test_case": "c_cpp_files/main2.c" + } + ], + "points": 1.0, + "test_case_type": "standardtestcase", + "description": "Write a program to add 3 nos", + "language": "c", + "active": true, + "type": "code", + "summary": "selenium test" + } +] |