diff options
Diffstat (limited to 'yaksh/documentation/moderator_docs')
-rw-r--r-- | yaksh/documentation/moderator_docs/creating_question.rst | 85 | ||||
-rw-r--r-- | yaksh/documentation/moderator_docs/creating_quiz.rst | 2 | ||||
-rw-r--r-- | yaksh/documentation/moderator_docs/other_features.rst | 20 |
3 files changed, 106 insertions, 1 deletions
diff --git a/yaksh/documentation/moderator_docs/creating_question.rst b/yaksh/documentation/moderator_docs/creating_question.rst index 5e43b8d..421b3d6 100644 --- a/yaksh/documentation/moderator_docs/creating_question.rst +++ b/yaksh/documentation/moderator_docs/creating_question.rst @@ -2,5 +2,90 @@ Questions ========= +Setting up questions +-------------------- + Setting up questions is the most important part of the Yaksh experience. Questions can be of multiple types i.e Multiple choice questions (MCQ), multiple correct choices (MCC), Coding questions and assignment upload types. + To set up a question click on the questions link in the navigation bar. + + .. image:: ../images/questions.jpg + + To add a question click on the **Add Question** button + + .. image:: ../images/add_question.jpg + + * **Summary**- Summary or the name of the question. + + * **Language** - Programming language on which the question is based. + + * **Active** - If the question is active to attempt or not. + + * **Type** - Type of the question. i.e Multiple Choice, Multiple Correct Choice, Code and Assignment Upload. + + * **Description** - The actual question description is to be written. + + .. note:: To add codes in questions please use html <code> and <br> tags. + + * **Tags** - Type of label or metadata tag making it easier to find specific type of questions. + + * ** Snippet** - Snippet is used to give any default value or default code or command. This will be displayed in the answer form. This is used only for code questions. + + * **Test case type** - Test cases or answers are to be added. There are multiple type of test cases - + + * Standard Test Case which is an assertion based testcase. + * Stdout Based Test Case is stdout based test where moderator can provide expected output (Only for Python). + * MCQ Based Test Case is testcase for Mcqs and Mccs. + +How to write Test cases +----------------------- + + The following explains different methods to write test cases. + + * **Create Standard Test Case** + + Select Standard Test Case and click on Save & Add Testcase button to save the question. + + * For Python: + In the test case field write a python assert to check the user code. + For e.g. :: + + assert fact(3) == 6 + + for program of factorial. + + * For C, C++ and Java: + In Test Case Field add the test case file path. + + Check Delete Field if a test case is to be removed. + + Finally click on Save & Add Testcase Button to save the test case. + + + * **Create Standard out Based Test Case** + + Select Stdout Based TestCase from Test Case Type field and click on Save & Add Testcase button to save the question. + + In Expected Output Field type the expected output for a particular question. For e.g type 6 if the output of the user code is 6. + + * **Create MCQ Based Test Case** + + Select MCQ Based TestCase from Test Case Type field and click on Save & Add Testcase button to save the question. + + In Options Field type the option check the correct checkbox if the current option is correct and click on Save & Add Testcase button to save each option. + + +Features in Question +-------------------- + + * **Download Questions** + + Select questions from the list of question displayed on the Questions page. Click on the Download Selected button to download the questions. This will create a json file of the Questions selected. + + * **Upload Questions** + + Click on the Upload File button. This will open up a window. Select the json file of questions and click Ok and the questions will be uploaded and displayed on the Questions page. + + * **Test Questions** + + Select questions from the list of question displayed on the Questions page. Click on Test selected button. This will take you to a quiz with the selected questions. **Note** - This will not create an actual quiz but a trial quiz. This quiz is hidden from the students and only for moderator to view. You can delete the quiz from moderator's dashboard.
\ No newline at end of file diff --git a/yaksh/documentation/moderator_docs/creating_quiz.rst b/yaksh/documentation/moderator_docs/creating_quiz.rst index bf82e4d..de0f031 100644 --- a/yaksh/documentation/moderator_docs/creating_quiz.rst +++ b/yaksh/documentation/moderator_docs/creating_quiz.rst @@ -11,7 +11,7 @@ Creating a Quiz --------------- .. image:: ../images/add_quiz.jpg - .. note :: It is important to have created or uploaded questions before creating a quiz. Click here to know how to add questions. + .. note :: It is important to have created or uploaded questions before creating a quiz. In courses click on **Add Quiz** button to add a quiz. diff --git a/yaksh/documentation/moderator_docs/other_features.rst b/yaksh/documentation/moderator_docs/other_features.rst new file mode 100644 index 0000000..2e670ac --- /dev/null +++ b/yaksh/documentation/moderator_docs/other_features.rst @@ -0,0 +1,20 @@ +============== +Other Features +============== + +Grade User +---------- + + Grade User is a feature of Yaksh to access students' answer papers for each quiz and grade them where necessary. + +Monitor +------- + + Monitor is a feature of Yaksh where the moderator can monitor a quiz and view statistics. + +Trial Papers +------------ + + When a moderator attempts a quiz in User or God mode or tests questions, a trial answer paper is created. Moderator can check the answer paper. + + .. note:: It is advisable to delete these trial answer papers.
\ No newline at end of file |