A moodle plugin for a new qformat based on CSV
This plugin is greatly inspired by the 'CSV format' plugin maintained by Gopal Sharma
The "moodle-qformat_ohie", allow you to import questions from a csv file for moodle.
'ōhie: means easy to do in tahitian
You don't have to worry about the question name, it increments by itself.
It automatically adapts to the number of questions.
It will look like this:
"Question [0-9]" if less than 10 questions in total
"Question [0-9][0-9]" if between 10 and 100 questions in total
"Question [0-9][0-9][0-9]" if between 100 and 999(inclusive) total
Warning: If you wish to enter your own question names, it is advisable to do so for all questions.
When you make a qtype 'ShortAnswer' You have the possibility to validate up to 7 answers. The main one must be in the field Right(s) answer(s). The alternative in one of the fields from A to F
You have the option of setting a negative point percentage for single answer multichoice questions.
Note that each question gets 1 point.
If a question has 4 possible answers :
- A
- B
- C
- D
That the correct answer is 'A' and you have set 50% negative points.
B,C and D are worth '-0,5'.
For the multichoice with several right answers the calculation of the points is done in the following way:
- In the case of one wrong answer.
Point per correct answer = 100 / number of correct answers
Point for wrong answers = point for right answers
example 1:
- A => right | 50%
- B => right | 50%
- C => false |-50%
example 2:
- A => right | 33,33%
- B => right | 33,33%
- C => false |-33,33%
- D => right | 33,33%
- In the other cases:
Point for right answers = 100 / number of right answers
Point per wrong answers = 100 / (number of answers - point per right answers)
example 1:
- A => right | 100%
- B => false |-50%
- C => false |-50%
example 2:
- A => right | 50%
- B => right | 50%
- C => false |-50%
- D => false |-50%
example 3:
- A => right | 33,33%
- B => right | 33,33%
- C => false |-50%
- D => false |-50%
- E => right | 33,33%
You will find in this git the qformat_ohie_sample.xlsx file.
You only have to fill in the columns and export it in CSV format separated by semi-colons( ; )
Required columns :
- Type: select from the drop down menu your question type.
- Default mark: the total score for the question.
- Question text: the question statement
- Right(s) answer(s): the right answer(s) (see explanation below)
WARNING ! To use the all or nothing type you will need to install it first (see : here)
Question Type | Keyword for Converter |
---|---|
Multiple Choice one right answer | multichoice |
Multiple Choice all or nothing | multichoice |
Multiple Choice multiple right answers | multichoiceset |
Short Answer | shortanswer |
Essay | essay |
True/False | truefalse |
Numerical | numerical |
- Clone this repository.
- copy the content of the package into the /question/format directory under the root of Moodle.
- log in as administrator and complete the installation
Read the Plugin installation guide for complete steps about installing a new plugin in Moodle.
-
One correct answer:
- without negative point:
to see a gif click on me ! - with negative point:
to see a gif click on me !
- without negative point:
-
Multiple correct answers:
to see a gif click on me ! -
All Or Nothing:
to see a gif click on me !
to see a gif click on me !
to see a gif click on me !
to see a gif click on me !
to see a gif click on me !
Last name | First name | role |
---|---|---|
Appriou | Ronan | supervisor |
Giard | Kenan | lead developer |
This program is under the GPL license see LICENSE.txt