Skip to content

Latest commit

 

History

History
159 lines (120 loc) · 4.71 KB

README.md

File metadata and controls

159 lines (120 loc) · 4.71 KB

moodle-qformat_ohie

A moodle plugin for a new qformat based on CSV
This plugin is greatly inspired by the 'CSV format' plugin maintained by Gopal Sharma


General information

The "moodle-qformat_ohie", allow you to import questions from a csv file for moodle.
'ōhie: means easy to do in tahitian


Features

Question name incrementation

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.

Short-Answer up to 6 alternative answers

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

Allow negative point for multichoise with one right answer

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'.

Ponderation multichoice

For the multichoice with several right answers the calculation of the points is done in the following way:

  1. 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%
  1. 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%

How to use it

Requirements:

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)


Types of Question

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

How to install

  1. Clone this repository.
  2. copy the content of the package into the /question/format directory under the root of Moodle.
  3. log in as administrator and complete the installation

Read the Plugin installation guide for complete steps about installing a new plugin in Moodle.


Question Format Examples

Multiple choice

Short Answer

to see a gif click on me !

Essay

to see a gif click on me !

True/False

to see a gif click on me !

Numerical

to see a gif click on me !


Authors

Last name First name role
Appriou Ronan supervisor
Giard Kenan lead developer

License

This program is under the GPL license see LICENSE.txt